Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.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.002014/0.002014, 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.002539/0.002539, allocations: 222.4 kB / 22.25 MB, free: 3.57 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.735/1.735, allocations: 230.6 MB / 256 MB, free: 9.656 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.592/1.592, allocations: 316.7 MB / 0.6144 GB, free: 93.1 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.Paedfusor,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor") translateModel(Pharmacolibrary.Examples.Propofol.Paedfusor,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor") [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.003825/0.003825, allocations: 77.73 kB / 0.7749 GB, free: 14.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1639, allocations: 73.99 MB / 0.8471 GB, free: 5.016 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Paedfusor): time 0.004301/0.1682, allocations: 2.479 MB / 0.8496 GB, free: 2.535 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006887/0.1689, allocations: 284 kB / 0.8498 GB, free: 2.266 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.169, allocations: 4 kB / 0.8498 GB, free: 2.262 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.1691, allocations: 36.2 kB / 0.8499 GB, free: 2.227 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.1695, allocations: 116.4 kB / 0.85 GB, free: 2.113 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.1696, allocations: 56.98 kB / 0.85 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.1701, allocations: 358.4 kB / 0.8504 GB, free: 1.707 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.1703, allocations: 53.48 kB / 0.8504 GB, free: 1.656 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1704, allocations: 132.2 kB / 0.8506 GB, free: 1.527 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.1707, allocations: 139.9 kB / 0.8507 GB, free: 1.391 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 5.817e-05/0.1707, allocations: 24 kB / 0.8507 GB, free: 1.367 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.833e-05/0.1708, allocations: 24.72 kB / 0.8507 GB, free: 1.344 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.447e-05/0.1709, allocations: 59.81 kB / 0.8508 GB, free: 1.285 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.171, allocations: 132 kB / 0.8509 GB, free: 1.156 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.1714, allocations: 266.9 kB / 0.8512 GB, free: 0.8945 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.1714, allocations: 4.484 kB / 0.8512 GB, free: 0.8906 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1714, allocations: 0.5625 kB / 0.8512 GB, free: 0.8906 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1715, allocations: 0 / 0.8512 GB, free: 0.8906 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001308/0.1728, allocations: 0.5797 MB / 0.8517 GB, free: 268 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1728, allocations: 8.688 kB / 0.8518 GB, free: 260 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.1729, allocations: 33.72 kB / 0.8518 GB, free: 228 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.1734, allocations: 227.2 kB / 0.852 GB, free: 15.97 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.1734, allocations: 16.81 kB / 0.852 GB, free: 15.96 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.1735, allocations: 33.69 kB / 0.852 GB, free: 15.93 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.174, allocations: 284.8 kB / 0.8523 GB, free: 15.62 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.174, allocations: 4.188 kB / 0.8523 GB, free: 15.62 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.174, allocations: 12.53 kB / 0.8523 GB, free: 15.61 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.174, allocations: 4 kB / 0.8523 GB, free: 15.61 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.1745, allocations: 260.5 kB / 0.8526 GB, free: 15.33 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.1758, allocations: 491.2 kB / 0.8531 GB, free: 14.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005969/0.1764, allocations: 269.6 kB / 0.8533 GB, free: 14.53 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.1767, allocations: 174.1 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1767, allocations: 4 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005772/0.1773, allocations: 453.3 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.1773, allocations: 0 / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=42): time 0.002437/0.1797, allocations: 1.306 MB / 0.8552 GB, free: 12.4 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3281/0.5078, allocations: 295.2 kB / 0.8555 GB, free: 28.56 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.5082, allocations: 218 kB / 0.8557 GB, free: 28.46 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/0.5083, allocations: 37.73 kB / 0.8557 GB, free: 28.43 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.5084, allocations: 132.4 kB / 0.8558 GB, free: 28.34 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.5085, allocations: 144.8 kB / 0.856 GB, free: 28.3 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.5086, allocations: 75.72 kB / 0.8561 GB, free: 28.28 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.5087, allocations: 344.3 kB / 0.8564 GB, free: 27.97 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.5089, allocations: 206.1 kB / 0.8566 GB, free: 27.87 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.5092, allocations: 277.7 kB / 0.8568 GB, free: 27.67 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.5103, allocations: 0.8098 MB / 0.8576 GB, free: 27.2 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5103, allocations: 0 / 0.8576 GB, free: 27.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006732/0.5109, allocations: 0.5591 MB / 0.8582 GB, free: 26.95 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/0.511, allocations: 88.62 kB / 0.8583 GB, free: 26.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.511, allocations: 3.5 kB / 0.8583 GB, free: 26.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.511, allocations: 9.016 kB / 0.8583 GB, free: 26.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.5114, allocations: 95 kB / 0.8584 GB, free: 26.85 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.5114, allocations: 5.094 kB / 0.8584 GB, free: 26.85 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.5116, allocations: 24.95 kB / 0.8584 GB, free: 26.85 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.5116, allocations: 16.88 kB / 0.8584 GB, free: 26.85 MB / 490.8 MB Warning: Assuming fixed start value for the following 2 variables: infusion_source.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Ce:VARIABLE(start = 0.0 fixed = true ) \"Effect site concentration\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 24 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral1.Cmin,$PRE.peripheral1.Cmin,peripheral1.Cmax,$PRE.peripheral1.Cmax,peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral2.rising,$PRE.peripheral2.rising,peripheral1.rising,$PRE.peripheral1.rising,central.rising,$PRE.central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 3 * 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.000251/0.5119, allocations: 264.5 kB / 0.8587 GB, free: 26.63 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.5119, allocations: 31.69 kB / 0.8587 GB, free: 26.62 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.459e-05/0.512, allocations: 32.33 kB / 0.8587 GB, free: 26.61 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.512, allocations: 2.812 kB / 0.8587 GB, free: 26.61 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.512, allocations: 0.5938 kB / 0.8587 GB, free: 26.61 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.512, allocations: 3 kB / 0.8587 GB, free: 26.61 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.5131, allocations: 0.8798 MB / 0.8596 GB, free: 26.19 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5131, allocations: 0 / 0.8596 GB, free: 26.19 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.5134, allocations: 65.45 kB / 0.8597 GB, free: 26.19 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.5134, allocations: 3.625 kB / 0.8597 GB, free: 26.19 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.5134, allocations: 13.81 kB / 0.8597 GB, free: 26.19 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5134, allocations: 2.719 kB / 0.8597 GB, free: 26.19 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5134, allocations: 0 / 0.8597 GB, free: 26.19 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/0.5143, allocations: 0.8751 MB / 0.8605 GB, free: 25.74 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.5143, allocations: 25.11 kB / 0.8605 GB, free: 25.73 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.5144, allocations: 17.06 kB / 0.8606 GB, free: 25.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.5146, allocations: 19 kB / 0.8606 GB, free: 25.73 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.5147, allocations: 33.3 kB / 0.8606 GB, free: 25.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.5147, allocations: 14.33 kB / 0.8606 GB, free: 25.73 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002282/0.515, allocations: 170.8 kB / 0.8608 GB, free: 25.65 MB / 490.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.515, allocations: 4.125 kB / 0.8608 GB, free: 25.65 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003417/0.5153, allocations: 90.5 kB / 0.8609 GB, free: 25.65 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,peripheral1.C,peripheral1.AUC,peripheral2.C,peripheral2.AUC,elim.MExc,infusion_source.TotalCumulativeMass,Ce) * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,central.Cmax,central.Cmin,central.rising,peripheral1.Cmax,peripheral1.Cmin,peripheral1.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 15 (peripheral1.Cmin,$whenCondition4,peripheral1.Cmax,$whenCondition3,peripheral1.rising,peripheral2.Cmin,$whenCondition2,peripheral2.Cmax,$whenCondition1,peripheral2.rising,central.Cmin,$whenCondition6,central.Cmax,$whenCondition5,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 3 * 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 Backend phase and start with SimCode phase: time 0.0001084/0.5154, allocations: 126.2 kB / 0.861 GB, free: 25.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005528/0.516, allocations: 0.6049 MB / 0.8616 GB, free: 25.16 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.516, allocations: 0 / 0.8616 GB, free: 25.16 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.5163, allocations: 402.6 kB / 0.862 GB, free: 24.87 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.5167, allocations: 78.91 kB / 0.8621 GB, free: 24.87 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.5183, allocations: 1.077 MB / 0.8631 GB, free: 24.32 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.5184, allocations: 166.8 kB / 0.8633 GB, free: 24.23 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.5186, allocations: 40.27 kB / 0.8633 GB, free: 24.22 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.053e-05/0.5187, allocations: 27.12 kB / 0.8633 GB, free: 24.22 MB / 490.8 MB Notification: Performance of SimCode: time 4.01e-07/0.5187, allocations: 0 / 0.8633 GB, free: 24.22 MB / 490.8 MB Notification: Performance of Templates: time 0.009906/0.5286, allocations: 4.655 MB / 0.8679 GB, free: 23.74 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Paedfusor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.769846739014611]