Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone.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.001753/0.001753, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.001918/0.001918, allocations: 214.5 kB / 22.25 MB, free: 3.574 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.889/1.889, allocations: 230.6 MB / 256 MB, free: 9.605 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.41/1.41, allocations: 316.7 MB / 0.6144 GB, free: 93.02 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.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone") [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.004438/0.004438, allocations: 73.73 kB / 0.775 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1982, allocations: 73.98 MB / 0.8472 GB, free: 4.914 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone): time 0.00448/0.2027, allocations: 2.305 MB / 0.8495 GB, free: 2.609 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3727/0.5754, allocations: 6.529 MB / 0.8559 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.5757, allocations: 0.9375 kB / 0.8559 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.5759, allocations: 27.75 kB / 0.8559 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.5762, allocations: 82.23 kB / 0.856 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.5765, allocations: 55.2 kB / 0.856 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.5768, allocations: 251.9 kB / 0.8563 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.577, allocations: 42.62 kB / 0.8563 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.5772, allocations: 100.7 kB / 0.8564 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.5775, allocations: 96.2 kB / 0.8565 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.181e-05/0.5775, allocations: 19.81 kB / 0.8565 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.5776, allocations: 16.94 kB / 0.8565 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.5777, allocations: 35.33 kB / 0.8566 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.5778, allocations: 98.77 kB / 0.8567 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.5782, allocations: 197.8 kB / 0.8569 GB, free: 21.93 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.5782, allocations: 0 / 0.8569 GB, free: 21.93 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5782, allocations: 0 / 0.8569 GB, free: 21.93 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.5782, allocations: 0 / 0.8569 GB, free: 21.93 MB / 490.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.0009336/0.5791, allocations: 499 kB / 0.8573 GB, free: 21.53 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.5792, allocations: 9.062 kB / 0.8573 GB, free: 21.53 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.5792, allocations: 24.11 kB / 0.8574 GB, free: 21.52 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.5795, allocations: 187 kB / 0.8575 GB, free: 21.36 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.5795, allocations: 12.39 kB / 0.8576 GB, free: 21.36 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.5795, allocations: 20.36 kB / 0.8576 GB, free: 21.35 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.5799, allocations: 190.2 kB / 0.8578 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.5799, allocations: 2.875 kB / 0.8578 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.5799, allocations: 8.75 kB / 0.8578 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.5799, allocations: 2.688 kB / 0.8578 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.5803, allocations: 144.7 kB / 0.8579 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.581, allocations: 484.5 kB / 0.8584 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.5815, allocations: 178.1 kB / 0.8585 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.5816, allocations: 93.34 kB / 0.8586 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.5817, allocations: 4.75 kB / 0.8586 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003421/0.582, allocations: 223.1 kB / 0.8588 GB, free: 20.7 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.303e-06/0.582, allocations: 0.5625 kB / 0.8588 GB, free: 20.7 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001322/0.5833, allocations: 0.7051 MB / 0.8595 GB, free: 20.34 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.5834, allocations: 138.5 kB / 0.8597 GB, free: 20.18 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.5836, allocations: 214.5 kB / 0.8599 GB, free: 20.08 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.5836, allocations: 31.7 kB / 0.8599 GB, free: 20.05 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.5836, allocations: 137.1 kB / 0.86 GB, free: 19.95 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.5837, allocations: 72.94 kB / 0.8601 GB, free: 19.91 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.848e-05/0.5838, allocations: 51.11 kB / 0.8601 GB, free: 19.89 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.775e-05/0.5839, allocations: 342.6 kB / 0.8605 GB, free: 19.57 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.5841, allocations: 143.5 kB / 0.8606 GB, free: 19.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.5843, allocations: 218.1 kB / 0.8608 GB, free: 19.33 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.5847, allocations: 286.3 kB / 0.8611 GB, free: 19.16 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5847, allocations: 0.5 kB / 0.8611 GB, free: 19.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005373/0.5852, allocations: 387.8 kB / 0.8615 GB, free: 18.99 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.5852, allocations: 62.14 kB / 0.8615 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5853, allocations: 6.031 kB / 0.8615 GB, free: 18.92 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.5853, allocations: 3.062 kB / 0.8615 GB, free: 18.92 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.5855, allocations: 54.34 kB / 0.8616 GB, free: 18.92 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.5855, allocations: 7.406 kB / 0.8616 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.5857, allocations: 21.22 kB / 0.8616 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.5857, allocations: 8.75 kB / 0.8616 GB, free: 18.91 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.0001586/0.5859, allocations: 180.3 kB / 0.8618 GB, free: 18.76 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.5859, allocations: 22.64 kB / 0.8618 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.287e-05/0.5859, allocations: 27.98 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5859, allocations: 2.188 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5859, allocations: 0.5312 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.586, allocations: 2.719 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006624/0.5866, allocations: 0.5384 MB / 0.8624 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5866, allocations: 2.719 kB / 0.8624 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.5868, allocations: 39.09 kB / 0.8624 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5868, allocations: 0.5312 kB / 0.8624 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.5868, allocations: 14.8 kB / 0.8624 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.5868, allocations: 3.938 kB / 0.8624 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5868, allocations: 3.312 kB / 0.8624 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.5875, allocations: 497.5 kB / 0.8629 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.5875, allocations: 20.12 kB / 0.8629 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.5875, allocations: 9.25 kB / 0.8629 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.5877, allocations: 18.67 kB / 0.863 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.5878, allocations: 26.47 kB / 0.863 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.5878, allocations: 5.406 kB / 0.863 GB, free: 18.16 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000129/0.5879, allocations: 159.5 kB / 0.8631 GB, free: 18.09 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5879, allocations: 0.5312 kB / 0.8631 GB, free: 18.09 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003064/0.5883, allocations: 53.41 kB / 0.8632 GB, free: 18.09 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 0.0001316/0.5884, allocations: 118.4 kB / 0.8633 GB, free: 18 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005723/0.589, allocations: 383.2 kB / 0.8637 GB, free: 17.77 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.589, allocations: 1.219 kB / 0.8637 GB, free: 17.77 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.5892, allocations: 170.1 kB / 0.8638 GB, free: 17.67 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.5897, allocations: 74.55 kB / 0.8639 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.5909, allocations: 0.6792 MB / 0.8646 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.591, allocations: 126.7 kB / 0.8647 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.5911, allocations: 23.48 kB / 0.8647 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.5912, allocations: 28.5 kB / 0.8647 GB, free: 17.26 MB / 490.8 MB Notification: Performance of SimCode: time 6.11e-07/0.5912, allocations: 0 / 0.8647 GB, free: 17.26 MB / 490.8 MB Notification: Performance of Templates: time 0.008451/0.5996, allocations: 3.634 MB / 0.8683 GB, free: 16.93 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CE02_Milrinone.Milrinone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.809447199106216]