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.001027/0.001027, allocations: 108.3 kB / 19.71 MB, free: 432 kB / 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.001441/0.001441, allocations: 221.4 kB / 23.01 MB, free: 2.969 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.9446/0.9446, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.6794/0.6794, allocations: 312.3 MB / 0.6108 GB, free: 96.96 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: 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.00143/0.00143, allocations: 81.56 kB / 0.7699 GB, free: 19.65 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1201, allocations: 73.99 MB / 0.8422 GB, free: 9.793 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES): time 0.003416/0.1235, allocations: 3.231 MB / 0.8454 GB, free: 6.562 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1247, allocations: 0.769 MB / 0.8461 GB, free: 5.805 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.1248, allocations: 4.594 kB / 0.8461 GB, free: 5.801 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.125, allocations: 59.47 kB / 0.8462 GB, free: 5.742 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.1252, allocations: 160.4 kB / 0.8463 GB, free: 5.586 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.1254, allocations: 101 kB / 0.8464 GB, free: 5.488 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.1258, allocations: 0.5131 MB / 0.8469 GB, free: 4.973 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.126, allocations: 76.84 kB / 0.847 GB, free: 4.895 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.1261, allocations: 195.8 kB / 0.8472 GB, free: 4.703 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.1264, allocations: 187.8 kB / 0.8474 GB, free: 4.52 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.1264, allocations: 36.56 kB / 0.8474 GB, free: 4.484 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.137e-05/0.1264, allocations: 32 kB / 0.8474 GB, free: 4.453 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.1265, allocations: 76.28 kB / 0.8475 GB, free: 4.379 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.1266, allocations: 187.2 kB / 0.8477 GB, free: 4.195 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.1269, allocations: 399 kB / 0.8481 GB, free: 3.805 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1269, allocations: 4.562 kB / 0.8481 GB, free: 3.801 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1269, allocations: 0 / 0.8481 GB, free: 3.801 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1269, allocations: 4.594 kB / 0.8481 GB, free: 3.797 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008014/0.1277, allocations: 0.7217 MB / 0.8488 GB, free: 3.023 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1277, allocations: 12.03 kB / 0.8488 GB, free: 3.012 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.951e-05/0.1278, allocations: 45.28 kB / 0.8488 GB, free: 2.969 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.1281, allocations: 241.3 kB / 0.8491 GB, free: 2.707 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.1281, allocations: 25.53 kB / 0.8491 GB, free: 2.684 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.1281, allocations: 36.56 kB / 0.8491 GB, free: 2.648 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.1285, allocations: 398.8 kB / 0.8495 GB, free: 2.23 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1285, allocations: 4.547 kB / 0.8495 GB, free: 2.227 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.1286, allocations: 12 kB / 0.8495 GB, free: 2.215 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.1286, allocations: 12.52 kB / 0.8495 GB, free: 2.203 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.1289, allocations: 332.7 kB / 0.8498 GB, free: 1.863 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009521/0.1299, allocations: 0.875 MB / 0.8507 GB, free: 0.9375 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.1303, allocations: 333.1 kB / 0.851 GB, free: 0.582 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.1308, allocations: 214.8 kB / 0.8512 GB, free: 360 kB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.1308, allocations: 8.562 kB / 0.8512 GB, free: 352 kB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000373/0.1312, allocations: 496.3 kB / 0.8517 GB, free: 15.79 MB / 490.8 MB Notification: Performance of pre-optimization done (n=46): time 1.944e-06/0.1312, allocations: 0 / 0.8517 GB, free: 15.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=49): time 0.001518/0.1327, allocations: 1.493 MB / 0.8532 GB, free: 14.18 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.287e-05/0.1328, allocations: 302.5 kB / 0.8534 GB, free: 13.82 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.133, allocations: 284.8 kB / 0.8537 GB, free: 13.53 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.133, allocations: 41.7 kB / 0.8538 GB, free: 13.48 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.775e-05/0.1331, allocations: 185.6 kB / 0.8539 GB, free: 13.3 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.867e-05/0.1332, allocations: 171.2 kB / 0.8541 GB, free: 13.13 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.66e-05/0.1333, allocations: 98.3 kB / 0.8542 GB, free: 13.02 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.513e-05/0.1333, allocations: 355.2 kB / 0.8545 GB, free: 12.67 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.1336, allocations: 278.7 kB / 0.8548 GB, free: 12.37 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.1338, allocations: 419.5 kB / 0.8552 GB, free: 11.88 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2454/0.3793, allocations: 1.026 MB / 0.8562 GB, free: 28.77 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.3793, allocations: 0 / 0.8562 GB, free: 28.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007039/0.38, allocations: 0.746 MB / 0.8569 GB, free: 28.48 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.38, allocations: 119.8 kB / 0.857 GB, free: 28.35 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3801, allocations: 2.938 kB / 0.857 GB, free: 28.35 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.3801, allocations: 7 kB / 0.857 GB, free: 28.35 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.3803, allocations: 111.7 kB / 0.8572 GB, free: 28.35 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.3803, allocations: 8.453 kB / 0.8572 GB, free: 28.35 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.3806, allocations: 32.11 kB / 0.8572 GB, free: 28.34 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.3806, allocations: 27.06 kB / 0.8572 GB, free: 28.34 MB / 490.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.0002701/0.3809, allocations: 267.6 kB / 0.8575 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.3809, allocations: 41.55 kB / 0.8575 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.381, allocations: 44.69 kB / 0.8576 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.381, allocations: 6.906 kB / 0.8576 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.381, allocations: 0 / 0.8576 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.381, allocations: 5.719 kB / 0.8576 GB, free: 28.12 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.3821, allocations: 0.9997 MB / 0.8585 GB, free: 27.69 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3821, allocations: 0 / 0.8585 GB, free: 27.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.3824, allocations: 79.38 kB / 0.8586 GB, free: 27.69 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3824, allocations: 2.531 kB / 0.8586 GB, free: 27.69 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.3824, allocations: 16.59 kB / 0.8586 GB, free: 27.69 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3824, allocations: 5.719 kB / 0.8586 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3824, allocations: 2.828 kB / 0.8586 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009091/0.3833, allocations: 0.9745 MB / 0.8596 GB, free: 27.25 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.3834, allocations: 38.45 kB / 0.8596 GB, free: 27.25 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.3834, allocations: 15.91 kB / 0.8596 GB, free: 27.25 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.3836, allocations: 28.78 kB / 0.8597 GB, free: 27.25 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3837, allocations: 39.33 kB / 0.8597 GB, free: 27.25 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.3837, allocations: 15.77 kB / 0.8597 GB, free: 27.25 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001462/0.3838, allocations: 206.5 kB / 0.8599 GB, free: 27.17 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.3838, allocations: 0.5938 kB / 0.8599 GB, free: 27.17 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003819/0.3842, allocations: 125 kB / 0.86 GB, free: 27.17 MB / 490.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.0001141/0.3843, allocations: 125.2 kB / 0.8602 GB, free: 27.07 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006767/0.385, allocations: 0.7711 MB / 0.8609 GB, free: 26.59 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.385, allocations: 0 / 0.8609 GB, free: 26.59 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.3854, allocations: 444.1 kB / 0.8613 GB, free: 26.29 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.3859, allocations: 122.1 kB / 0.8615 GB, free: 26.29 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.3876, allocations: 1.324 MB / 0.8628 GB, free: 25.61 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.3878, allocations: 198.5 kB / 0.8629 GB, free: 25.52 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.457e-05/0.3879, allocations: 39.41 kB / 0.863 GB, free: 25.52 MB / 490.8 MB Notification: Performance of SimCode: time 5.91e-07/0.3879, allocations: 0 / 0.863 GB, free: 25.52 MB / 490.8 MB Notification: Performance of Templates: time 0.007609/0.3955, allocations: 5.289 MB / 0.8681 GB, free: 25 MB / 490.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 > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Propofol_Gerts_3C_ES.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.961161251179874]