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.001877/0.001877, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002072/0.002072, allocations: 169.9 kB / 22.46 MB, free: 2.102 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 1.648/1.648, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.324/1.324, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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.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 2.665e-06/2.665e-06, allocations: 4 kB / 0.6999 GB, free: 8.473 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.913e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.469 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES): time 0.003546/0.003575, allocations: 3.238 MB / 0.7031 GB, free: 5.211 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.004916, allocations: 0.7714 MB / 0.7038 GB, free: 4.438 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.005078, allocations: 7.938 kB / 0.7039 GB, free: 4.43 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.005237, allocations: 51.48 kB / 0.7039 GB, free: 4.379 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.005561, allocations: 174.5 kB / 0.7041 GB, free: 4.207 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.00583, allocations: 103.7 kB / 0.7042 GB, free: 4.105 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003886/0.006218, allocations: 0.5361 MB / 0.7047 GB, free: 3.566 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.006403, allocations: 79.7 kB / 0.7048 GB, free: 3.484 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.006646, allocations: 283.3 kB / 0.705 GB, free: 3.207 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.006915, allocations: 159.5 kB / 0.7052 GB, free: 3.051 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.899e-05/0.006964, allocations: 32 kB / 0.7052 GB, free: 3.02 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.737e-05/0.007021, allocations: 32 kB / 0.7052 GB, free: 2.988 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.891e-05/0.00707, allocations: 79.67 kB / 0.7053 GB, free: 2.91 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.007218, allocations: 167.6 kB / 0.7055 GB, free: 2.746 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.007566, allocations: 398.7 kB / 0.7059 GB, free: 2.355 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.007569, allocations: 0 / 0.7059 GB, free: 2.355 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.753e-06/0.007571, allocations: 0 / 0.7059 GB, free: 2.355 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.007578, allocations: 0 / 0.7059 GB, free: 2.355 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001094/0.008672, allocations: 0.7232 MB / 0.7066 GB, free: 1.578 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.008711, allocations: 8.031 kB / 0.7066 GB, free: 1.57 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.369e-05/0.008794, allocations: 44.7 kB / 0.7066 GB, free: 1.527 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.009071, allocations: 244.5 kB / 0.7069 GB, free: 1.266 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.009098, allocations: 21.03 kB / 0.7069 GB, free: 1.246 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.00916, allocations: 36.38 kB / 0.7069 GB, free: 1.211 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.009697, allocations: 398.5 kB / 0.7073 GB, free: 0.7969 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.009719, allocations: 7.953 kB / 0.7073 GB, free: 0.7891 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.009747, allocations: 12 kB / 0.7073 GB, free: 0.7773 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.009757, allocations: 4 kB / 0.7073 GB, free: 0.7734 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005235/0.01028, allocations: 339.4 kB / 0.7076 GB, free: 432 kB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.01187, allocations: 0.8841 MB / 0.7085 GB, free: 15.48 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008055/0.01268, allocations: 333.3 kB / 0.7088 GB, free: 15.12 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.01307, allocations: 214.2 kB / 0.709 GB, free: 14.89 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.01309, allocations: 0 / 0.709 GB, free: 14.89 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007373/0.01383, allocations: 0.491 MB / 0.7095 GB, free: 14.33 MB / 426.8 MB Notification: Performance of pre-optimization done (n=46): time 2.264e-06/0.01383, allocations: 0 / 0.7095 GB, free: 14.33 MB / 426.8 MB Notification: Performance of matching and sorting (n=49): time 0.002987/0.01682, allocations: 1.483 MB / 0.711 GB, free: 12.73 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002523/0.01707, allocations: 306.5 kB / 0.7112 GB, free: 12.36 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.01746, allocations: 284.1 kB / 0.7115 GB, free: 12.07 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.01751, allocations: 37.7 kB / 0.7115 GB, free: 12.03 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.0177, allocations: 192.9 kB / 0.7117 GB, free: 11.84 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.01787, allocations: 166.7 kB / 0.7119 GB, free: 11.68 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.01805, allocations: 94.34 kB / 0.712 GB, free: 11.58 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.01827, allocations: 346.8 kB / 0.7123 GB, free: 11.23 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.01874, allocations: 282.1 kB / 0.7126 GB, free: 10.92 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.01935, allocations: 418.8 kB / 0.713 GB, free: 10.43 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/0.02125, allocations: 1.033 MB / 0.714 GB, free: 9.258 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.02125, allocations: 0 / 0.714 GB, free: 9.258 MB / 426.8 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001297/0.02255, allocations: 0.7447 MB / 0.7147 GB, free: 8.457 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.02266, allocations: 118.8 kB / 0.7148 GB, free: 8.316 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.02267, allocations: 7.938 kB / 0.7148 GB, free: 8.309 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.0227, allocations: 8.5 kB / 0.7148 GB, free: 8.301 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/0.02316, allocations: 111.8 kB / 0.715 GB, free: 8.191 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/0.02318, allocations: 8 kB / 0.715 GB, free: 8.184 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.02349, allocations: 31.98 kB / 0.715 GB, free: 8.152 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.02354, allocations: 20 kB / 0.715 GB, free: 8.133 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 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.0004264/0.02396, allocations: 284.1 kB / 0.7153 GB, free: 7.828 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/0.02404, allocations: 39.77 kB / 0.7153 GB, free: 7.789 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.02415, allocations: 59.5 kB / 0.7154 GB, free: 7.73 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.02416, allocations: 4 kB / 0.7154 GB, free: 7.727 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.02416, allocations: 0 / 0.7154 GB, free: 7.727 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.02417, allocations: 0 / 0.7154 GB, free: 7.727 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.02592, allocations: 1.011 MB / 0.7164 GB, free: 6.637 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.02592, allocations: 0 / 0.7164 GB, free: 6.637 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.02632, allocations: 75.89 kB / 0.7164 GB, free: 6.562 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.02632, allocations: 8 kB / 0.7164 GB, free: 6.555 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.02636, allocations: 15.98 kB / 0.7165 GB, free: 6.539 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.02636, allocations: 0 / 0.7165 GB, free: 6.539 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.02637, allocations: 3.984 kB / 0.7165 GB, free: 6.535 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.02796, allocations: 0.9722 MB / 0.7174 GB, free: 5.492 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.035e-05/0.02805, allocations: 35.75 kB / 0.7174 GB, free: 5.457 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.02813, allocations: 16.19 kB / 0.7175 GB, free: 5.441 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.02837, allocations: 23.98 kB / 0.7175 GB, free: 5.418 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.0285, allocations: 43.88 kB / 0.7175 GB, free: 5.375 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.02854, allocations: 23.92 kB / 0.7176 GB, free: 5.352 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002563/0.0288, allocations: 199.1 kB / 0.7177 GB, free: 5.16 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.0288, allocations: 0 / 0.7177 GB, free: 5.16 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0005066/0.0293, allocations: 124 kB / 0.7179 GB, free: 5.039 MB / 426.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.000221/0.02953, allocations: 132.9 kB / 0.718 GB, free: 4.898 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.0308, allocations: 0.773 MB / 0.7187 GB, free: 4.035 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.0308, allocations: 0 / 0.7187 GB, free: 4.035 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005989/0.0314, allocations: 439.6 kB / 0.7192 GB, free: 3.551 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.03213, allocations: 121.5 kB / 0.7193 GB, free: 3.43 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2026/0.2347, allocations: 1.066 MB / 0.7203 GB, free: 36.2 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.2349, allocations: 199.2 kB / 0.7205 GB, free: 36.12 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0002355/0.2352, allocations: 41.66 kB / 0.7205 GB, free: 36.12 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.549e-05/0.2353, allocations: 41.86 kB / 0.7206 GB, free: 36.12 MB / 426.8 MB Notification: Performance of SimCode: time 1.322e-06/0.2353, allocations: 0 / 0.7206 GB, free: 36.12 MB / 426.8 MB Notification: Performance of Templates: time 0.01239/0.2477, allocations: 6.028 MB / 0.7265 GB, free: 35.56 MB / 426.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: 6.84706985601224]