Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.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.0006712/0.0006712, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009485/0.00162, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006852/0.0006852, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001738, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9636/0.9636, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1466/1.11, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.7278/0.7278, allocations: 291.1 MB / 0.5227 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02992/0.7577, allocations: 21.04 MB / 0.5433 GB, free: 31.5 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.Propofol.Propofol_Gerts_3C_ES,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES") translateModel(Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 0.5448 GB, free: 30 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.363e-05, allocations: 6.312 kB / 0.5448 GB, free: 30 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES): time 0.004079/0.004103, allocations: 3.545 MB / 0.5482 GB, free: 26.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.005865, allocations: 0.8185 MB / 0.549 GB, free: 25.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.006166, allocations: 4 kB / 0.549 GB, free: 25.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.00631, allocations: 55.41 kB / 0.5491 GB, free: 25.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003714/0.006682, allocations: 170.5 kB / 0.5492 GB, free: 25.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.006963, allocations: 103.8 kB / 0.5493 GB, free: 25.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.007518, allocations: 0.5308 MB / 0.5499 GB, free: 24.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.007735, allocations: 96.31 kB / 0.55 GB, free: 24.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005519/0.008287, allocations: 330.4 kB / 0.5503 GB, free: 24.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.008604, allocations: 167.5 kB / 0.5504 GB, free: 24.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.361e-05/0.008667, allocations: 32 kB / 0.5505 GB, free: 24.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-05/0.00874, allocations: 32 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.00879, allocations: 59.73 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.00893, allocations: 135.8 kB / 0.5507 GB, free: 23.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.009256, allocations: 282.9 kB / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.267e-05/0.009269, allocations: 0 / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.00927, allocations: 0 / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.009284, allocations: 0 / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009566/0.01024, allocations: 0.7824 MB / 0.5517 GB, free: 22.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.01028, allocations: 15.89 kB / 0.5517 GB, free: 22.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.738e-05/0.01037, allocations: 48.91 kB / 0.5518 GB, free: 22.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.01066, allocations: 213.3 kB / 0.552 GB, free: 22.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.01069, allocations: 21.03 kB / 0.552 GB, free: 22.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/0.01074, allocations: 36.33 kB / 0.552 GB, free: 22.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.0111, allocations: 338.3 kB / 0.5523 GB, free: 22.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.01112, allocations: 7.984 kB / 0.5524 GB, free: 22.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.01115, allocations: 16 kB / 0.5524 GB, free: 22.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.01116, allocations: 8 kB / 0.5524 GB, free: 22.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.01138, allocations: 204.2 kB / 0.5526 GB, free: 21.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009977/0.01237, allocations: 0.6847 MB / 0.5532 GB, free: 21.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.01265, allocations: 217.1 kB / 0.5534 GB, free: 20.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.748e-05/0.01275, allocations: 153.5 kB / 0.5536 GB, free: 20.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.01276, allocations: 8 kB / 0.5536 GB, free: 20.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.01303, allocations: 449 kB / 0.554 GB, free: 20.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 2.184e-06/0.01303, allocations: 0 / 0.554 GB, free: 20.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.001238/0.01427, allocations: 1.141 MB / 0.5551 GB, free: 18.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/0.01435, allocations: 391.7 kB / 0.5555 GB, free: 18.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.01451, allocations: 255 kB / 0.5558 GB, free: 18.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.01454, allocations: 37.7 kB / 0.5558 GB, free: 18.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.0146, allocations: 173.3 kB / 0.556 GB, free: 17.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.745e-05/0.01468, allocations: 166.6 kB / 0.5561 GB, free: 17.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.01479, allocations: 94.3 kB / 0.5562 GB, free: 17.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.01484, allocations: 358.7 kB / 0.5566 GB, free: 17.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.01497, allocations: 198.2 kB / 0.5567 GB, free: 17.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.01513, allocations: 330.9 kB / 0.5571 GB, free: 16.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.0155, allocations: 0.6478 MB / 0.5577 GB, free: 15.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.0155, allocations: 4 kB / 0.5577 GB, free: 15.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004242/0.01593, allocations: 0.5115 MB / 0.5582 GB, free: 15.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.51e-05/0.01598, allocations: 119.3 kB / 0.5583 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.01599, allocations: 8 kB / 0.5583 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.01601, allocations: 8 kB / 0.5583 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.01641, allocations: 153.7 kB / 0.5585 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.01642, allocations: 11.94 kB / 0.5585 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.01662, allocations: 27.97 kB / 0.5585 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.01665, allocations: 16 kB / 0.5585 GB, free: 15.04 MB / 410.7 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 effectSite.Ce:VARIABLE(min = -1e-9 start = effectSite.Ce0 unit = \"kg/m3\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 29 (peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,peripheral2.rising,$PRE.peripheral2.rising,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 4 * 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.0001751/0.01682, allocations: 265.3 kB / 0.5588 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.01688, allocations: 47.95 kB / 0.5588 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.01693, allocations: 43.64 kB / 0.5589 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.01693, allocations: 7.984 kB / 0.5589 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01693, allocations: 0 / 0.5589 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.01694, allocations: 0 / 0.5589 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2748/0.2918, allocations: 0.6706 MB / 0.5595 GB, free: 84.02 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2918, allocations: 5.188 kB / 0.5595 GB, free: 84.02 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.2921, allocations: 104.9 kB / 0.5596 GB, free: 84.02 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.2922, allocations: 30.16 kB / 0.5597 GB, free: 84.02 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2922, allocations: 1.125 kB / 0.5597 GB, free: 84.02 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.2922, allocations: 14.66 kB / 0.5597 GB, free: 84.02 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2922, allocations: 2.469 kB / 0.5597 GB, free: 84.02 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2922, allocations: 5.984 kB / 0.5597 GB, free: 84.02 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.2927, allocations: 0.7144 MB / 0.5604 GB, free: 83.61 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.2927, allocations: 16.44 kB / 0.5604 GB, free: 83.61 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.2928, allocations: 20.33 kB / 0.5604 GB, free: 83.61 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.2929, allocations: 38.84 kB / 0.5605 GB, free: 83.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.2929, allocations: 14.92 kB / 0.5605 GB, free: 83.61 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.911e-05/0.293, allocations: 97.06 kB / 0.5606 GB, free: 83.6 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.293, allocations: 2.281 kB / 0.5606 GB, free: 83.6 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003409/0.2933, allocations: 122.3 kB / 0.5607 GB, free: 83.6 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC,peripheral2.C,peripheral2.AUC,effectSite.Ce) * Number of discrete variables: 18 ($whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 16 (periodicDose.pulse.count,peripheral2.Cmin,$whenCondition6,peripheral2.Cmax,$whenCondition5,peripheral2.rising,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 3 * 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.0001312/0.2935, allocations: 105.9 kB / 0.5608 GB, free: 83.53 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004859/0.294, allocations: 0.6735 MB / 0.5614 GB, free: 83.05 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-05/0.294, allocations: 9.266 kB / 0.5614 GB, free: 83.05 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.2942, allocations: 401.9 kB / 0.5618 GB, free: 82.76 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.2947, allocations: 0.857 MB / 0.5627 GB, free: 81.95 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.3053, allocations: 0.9564 MB / 0.5636 GB, free: 81.47 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.676e-05/0.3053, allocations: 116.7 kB / 0.5637 GB, free: 81.39 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002396/0.3056, allocations: 45.48 kB / 0.5638 GB, free: 81.38 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.3059, allocations: 189.3 kB / 0.5639 GB, free: 81.34 MB / 410.8 MB Notification: Performance of SimCode: time 2.194e-06/0.3059, allocations: 0 / 0.5639 GB, free: 81.34 MB / 410.8 MB Notification: Performance of Templates: time 0.009127/0.315, allocations: 7.087 MB / 0.5709 GB, free: 79.47 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.662928154692054]