Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 109.5 kB / 18.95 MB, free: 1.172 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 218.2 kB / 22.25 MB, free: 3.688 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.703/1.703, allocations: 230.6 MB / 256 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.561/1.561, allocations: 316.8 MB / 0.6144 GB, free: 92.97 MB / 410.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=7862400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=7862400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.01418/0.01418, allocations: 77.31 kB / 0.775 GB, free: 14.66 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1917, allocations: 73.98 MB / 0.8473 GB, free: 4.82 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab): time 0.005794/0.1975, allocations: 2.308 MB / 0.8495 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1991, allocations: 0.5907 MB / 0.8501 GB, free: 1.926 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.1992, allocations: 0.5938 kB / 0.8501 GB, free: 1.926 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.1994, allocations: 28.36 kB / 0.8501 GB, free: 1.898 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.1997, allocations: 80.2 kB / 0.8502 GB, free: 1.82 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.2, allocations: 48.52 kB / 0.8503 GB, free: 1.773 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004742/0.2005, allocations: 267.2 kB / 0.8505 GB, free: 1.512 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.2006, allocations: 32.58 kB / 0.8505 GB, free: 1.48 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.2008, allocations: 96.3 kB / 0.8506 GB, free: 1.387 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.2011, allocations: 96.11 kB / 0.8507 GB, free: 1.293 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.2012, allocations: 16 kB / 0.8507 GB, free: 1.277 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.223e-05/0.2013, allocations: 20.5 kB / 0.8508 GB, free: 1.258 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.2013, allocations: 44.39 kB / 0.8508 GB, free: 1.215 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.2015, allocations: 87.53 kB / 0.8509 GB, free: 1.129 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.2019, allocations: 196.6 kB / 0.8511 GB, free: 0.9375 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.2019, allocations: 3.984 kB / 0.8511 GB, free: 0.9336 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2019, allocations: 0 / 0.8511 GB, free: 0.9336 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.2019, allocations: 1.094 kB / 0.8511 GB, free: 0.9336 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001226/0.2031, allocations: 498.8 kB / 0.8515 GB, free: 412 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.2032, allocations: 8.031 kB / 0.8516 GB, free: 404 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.2033, allocations: 24.8 kB / 0.8516 GB, free: 380 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.2036, allocations: 187.1 kB / 0.8518 GB, free: 164 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.2037, allocations: 9.109 kB / 0.8518 GB, free: 156 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-05/0.2037, allocations: 34.25 kB / 0.8518 GB, free: 124 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.2043, allocations: 185.9 kB / 0.852 GB, free: 15.93 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.2043, allocations: 0 / 0.852 GB, free: 15.93 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.2043, allocations: 8 kB / 0.852 GB, free: 15.92 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.2044, allocations: 7.984 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005456/0.2049, allocations: 148.3 kB / 0.8521 GB, free: 15.76 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.2061, allocations: 481.5 kB / 0.8526 GB, free: 15.26 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007495/0.2069, allocations: 173.5 kB / 0.8528 GB, free: 15.07 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.2071, allocations: 93.98 kB / 0.8528 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.2072, allocations: 4 kB / 0.8529 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005456/0.2077, allocations: 229 kB / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.833e-06/0.2077, allocations: 0.5938 kB / 0.8531 GB, free: 14.72 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.002241/0.2099, allocations: 0.7037 MB / 0.8538 GB, free: 13.96 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.2101, allocations: 141.1 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.2104, allocations: 216.6 kB / 0.8541 GB, free: 13.57 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.2105, allocations: 33.7 kB / 0.8541 GB, free: 13.53 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.2106, allocations: 133 kB / 0.8543 GB, free: 13.4 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.733e-05/0.2107, allocations: 67.44 kB / 0.8543 GB, free: 13.33 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.2109, allocations: 62.27 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005168/0.2114, allocations: 331.3 kB / 0.8547 GB, free: 12.93 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.2118, allocations: 145.6 kB / 0.8548 GB, free: 12.77 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.2123, allocations: 223.9 kB / 0.8551 GB, free: 12.51 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2838/0.496, allocations: 276.7 kB / 0.8553 GB, free: 28.2 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.496, allocations: 2.281 kB / 0.8553 GB, free: 28.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006455/0.4967, allocations: 396.1 kB / 0.8557 GB, free: 28.04 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.4967, allocations: 64.45 kB / 0.8558 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4967, allocations: 5.016 kB / 0.8558 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.4968, allocations: 1.938 kB / 0.8558 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.497, allocations: 51.25 kB / 0.8558 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.497, allocations: 8.547 kB / 0.8558 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.4972, allocations: 18.83 kB / 0.8558 GB, free: 27.97 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.4972, allocations: 9.672 kB / 0.8558 GB, free: 27.97 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.4974, allocations: 176.4 kB / 0.856 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.4974, allocations: 26.64 kB / 0.856 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.4975, allocations: 25.25 kB / 0.8561 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4975, allocations: 4.219 kB / 0.8561 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.4975, allocations: 3.484 kB / 0.8561 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4975, allocations: 0.6562 kB / 0.8561 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.4982, allocations: 0.5314 MB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4982, allocations: 2.469 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.4983, allocations: 40.91 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4983, allocations: 3.578 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.4984, allocations: 14 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4984, allocations: 0.625 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.4984, allocations: 0.9688 kB / 0.8567 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/0.499, allocations: 498.5 kB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.499, allocations: 23.31 kB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.4991, allocations: 7.062 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.4993, allocations: 14.97 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.4993, allocations: 22.23 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.4994, allocations: 11.25 kB / 0.8572 GB, free: 27.29 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001189/0.4995, allocations: 155.7 kB / 0.8573 GB, free: 27.22 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4995, allocations: 0.6875 kB / 0.8574 GB, free: 27.22 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002937/0.4998, allocations: 59.16 kB / 0.8574 GB, free: 27.21 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.406e-05/0.4999, allocations: 113.2 kB / 0.8575 GB, free: 27.13 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.5004, allocations: 381.6 kB / 0.8579 GB, free: 26.91 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5004, allocations: 0.6562 kB / 0.8579 GB, free: 26.91 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.5006, allocations: 174.2 kB / 0.858 GB, free: 26.81 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.501, allocations: 68.03 kB / 0.8581 GB, free: 26.81 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.5022, allocations: 0.6792 MB / 0.8588 GB, free: 26.54 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.487e-05/0.5023, allocations: 123 kB / 0.8589 GB, free: 26.46 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.5024, allocations: 26.52 kB / 0.8589 GB, free: 26.45 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.5024, allocations: 21.3 kB / 0.8589 GB, free: 26.44 MB / 490.8 MB Notification: Performance of SimCode: time 4.91e-07/0.5024, allocations: 0 / 0.8589 GB, free: 26.44 MB / 490.8 MB Notification: Performance of Templates: time 0.007521/0.5099, allocations: 3.641 MB / 0.8625 GB, free: 26.14 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02C_AntimigrainePreparations.N02CD05_Eptinezumab.Eptinezumab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 17.06040489906445]