Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.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.0008878/0.0008878, allocations: 88.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009678/0.0009678, allocations: 169.8 kB / 23.21 MB, free: 1.332 MB / 18.57 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 0.9469/0.9469, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6881/0.6881, allocations: 291.2 MB / 0.5382 GB, free: 51.9 MB / 410.7 MB " [Timeout remaining time 179] 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.Examples.Midazolam.Midazolam_VanRongen_oral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral") translateModel(Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.559e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.33 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral): time 0.002948/0.002963, allocations: 3.79 MB / 0.7011 GB, free: 6.516 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.00417, allocations: 0.8616 MB / 0.7019 GB, free: 5.652 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.004348, allocations: 4 kB / 0.702 GB, free: 5.648 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.004498, allocations: 63.34 kB / 0.702 GB, free: 5.586 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.004785, allocations: 210.2 kB / 0.7022 GB, free: 5.379 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.005061, allocations: 123.8 kB / 0.7023 GB, free: 5.258 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.005424, allocations: 0.6604 MB / 0.703 GB, free: 4.594 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.005608, allocations: 104 kB / 0.7031 GB, free: 4.484 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.005822, allocations: 347.2 kB / 0.7034 GB, free: 4.145 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.006046, allocations: 191.4 kB / 0.7036 GB, free: 3.957 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.006087, allocations: 55.94 kB / 0.7036 GB, free: 3.902 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-05/0.006131, allocations: 48 kB / 0.7037 GB, free: 3.855 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.006174, allocations: 99.59 kB / 0.7038 GB, free: 3.758 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.006284, allocations: 195.5 kB / 0.704 GB, free: 3.566 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.0066, allocations: 0.5375 MB / 0.7045 GB, free: 3.027 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.006604, allocations: 0 / 0.7045 GB, free: 3.027 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.413e-06/0.006606, allocations: 0 / 0.7045 GB, free: 3.027 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.006612, allocations: 0 / 0.7045 GB, free: 3.027 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0007923/0.007404, allocations: 0.8184 MB / 0.7053 GB, free: 2.148 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.007441, allocations: 8.031 kB / 0.7053 GB, free: 2.141 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.879e-05/0.00751, allocations: 56.61 kB / 0.7054 GB, free: 2.086 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.007758, allocations: 277.5 kB / 0.7056 GB, free: 1.793 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.007779, allocations: 25.38 kB / 0.7056 GB, free: 1.766 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.007823, allocations: 52.3 kB / 0.7057 GB, free: 1.715 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.008242, allocations: 0.4888 MB / 0.7062 GB, free: 1.195 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.00826, allocations: 8 kB / 0.7062 GB, free: 1.188 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.008292, allocations: 12 kB / 0.7062 GB, free: 1.176 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.008304, allocations: 8 kB / 0.7062 GB, free: 1.168 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.008713, allocations: 421.5 kB / 0.7066 GB, free: 0.7305 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.009998, allocations: 1.054 MB / 0.7076 GB, free: 15.63 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.01065, allocations: 410.1 kB / 0.708 GB, free: 15.2 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.01093, allocations: 276.6 kB / 0.7083 GB, free: 14.9 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.01095, allocations: 4 kB / 0.7083 GB, free: 14.89 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005983/0.01155, allocations: 0.6214 MB / 0.7089 GB, free: 14.19 MB / 426.8 MB Notification: Performance of pre-optimization done (n=57): time 2.926e-06/0.01155, allocations: 3.938 kB / 0.7089 GB, free: 14.19 MB / 426.8 MB Notification: Performance of matching and sorting (n=61): time 0.001993/0.01355, allocations: 1.877 MB / 0.7107 GB, free: 12.16 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.01369, allocations: 384.3 kB / 0.7111 GB, free: 11.7 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.01395, allocations: 304.5 kB / 0.7114 GB, free: 11.39 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.01398, allocations: 45.7 kB / 0.7114 GB, free: 11.34 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01408, allocations: 200.9 kB / 0.7116 GB, free: 11.14 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.01419, allocations: 210.3 kB / 0.7118 GB, free: 10.93 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.0143, allocations: 114.7 kB / 0.7119 GB, free: 10.82 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.01439, allocations: 362.8 kB / 0.7123 GB, free: 10.45 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/0.01496, allocations: 345.2 kB / 0.7126 GB, free: 10.08 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.01531, allocations: 0.5063 MB / 0.7131 GB, free: 9.473 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005547/0.01586, allocations: 0.7347 MB / 0.7138 GB, free: 8.625 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01587, allocations: 0 / 0.7138 GB, free: 8.625 MB / 426.8 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007944/0.01666, allocations: 0.9151 MB / 0.7147 GB, free: 7.637 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.919e-05/0.01673, allocations: 151.1 kB / 0.7149 GB, free: 7.461 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.01674, allocations: 4 kB / 0.7149 GB, free: 7.457 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.01676, allocations: 8 kB / 0.7149 GB, free: 7.449 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.01703, allocations: 143.7 kB / 0.715 GB, free: 7.309 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.01704, allocations: 8 kB / 0.715 GB, free: 7.301 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.01722, allocations: 27.98 kB / 0.715 GB, free: 7.273 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.01725, allocations: 35.98 kB / 0.7151 GB, free: 7.238 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 20 * Number of states: 0 () * Number of discrete variables: 37 (peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral2.rising,$PRE.peripheral2.rising,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 5 * 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.0002643/0.01752, allocations: 333 kB / 0.7154 GB, free: 6.883 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.01756, allocations: 47.72 kB / 0.7154 GB, free: 6.836 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.01761, allocations: 48.52 kB / 0.7155 GB, free: 6.785 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.01762, allocations: 8 kB / 0.7155 GB, free: 6.777 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.01762, allocations: 3.938 kB / 0.7155 GB, free: 6.773 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.01763, allocations: 3.984 kB / 0.7155 GB, free: 6.77 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.01876, allocations: 1.262 MB / 0.7167 GB, free: 5.422 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.01876, allocations: 4 kB / 0.7167 GB, free: 5.418 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.019, allocations: 95.88 kB / 0.7168 GB, free: 5.324 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.01901, allocations: 4 kB / 0.7168 GB, free: 5.32 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.01903, allocations: 16 kB / 0.7168 GB, free: 5.305 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.01904, allocations: 3.984 kB / 0.7168 GB, free: 5.301 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01904, allocations: 3.938 kB / 0.7169 GB, free: 5.297 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.02004, allocations: 1.237 MB / 0.7181 GB, free: 3.969 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.02017, allocations: 79.66 kB / 0.7181 GB, free: 3.891 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.02023, allocations: 24 kB / 0.7182 GB, free: 3.867 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.02036, allocations: 23.97 kB / 0.7182 GB, free: 3.844 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.02045, allocations: 52.36 kB / 0.7182 GB, free: 3.793 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.02047, allocations: 23.98 kB / 0.7183 GB, free: 3.77 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001503/0.02062, allocations: 215.1 kB / 0.7185 GB, free: 3.559 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.51e-07/0.02062, allocations: 4 kB / 0.7185 GB, free: 3.555 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003129/0.02094, allocations: 144 kB / 0.7186 GB, free: 3.414 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC,peripheral.C,peripheral.AUC,peripheral2.C,peripheral2.AUC) * Number of discrete variables: 23 ($whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 21 (periodicDose.pulse.count,peripheral2.Cmin,$whenCondition8,peripheral2.Cmax,$whenCondition7,peripheral2.rising,peripheral.Cmin,$whenCondition6,peripheral.Cmax,$whenCondition5,peripheral.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition4,periodicDose.route.absorptionLumen.Cmax,$whenCondition3,periodicDose.route.absorptionLumen.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 4 * 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.0001222/0.02106, allocations: 144.5 kB / 0.7187 GB, free: 3.27 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009999/0.02206, allocations: 0.98 MB / 0.7197 GB, free: 2.172 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.02206, allocations: 0 / 0.7197 GB, free: 2.172 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.02243, allocations: 0.5735 MB / 0.7203 GB, free: 1.523 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.02287, allocations: 140.7 kB / 0.7204 GB, free: 1.391 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.0243, allocations: 1.336 MB / 0.7217 GB, free: 15.99 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.02444, allocations: 225.3 kB / 0.7219 GB, free: 15.75 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.163/0.1875, allocations: 42.02 kB / 0.722 GB, free: 52.29 MB / 442.8 MB Notification: Performance of SimCode: time 1.863e-06/0.1875, allocations: 2.219 kB / 0.722 GB, free: 52.29 MB / 442.8 MB Notification: Performance of Templates: time 0.009723/0.1972, allocations: 6.482 MB / 0.7283 GB, free: 51.85 MB / 442.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral > Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.646590147167444]