Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.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.002488/0.002488, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002842/0.002842, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.781/1.781, allocations: 230.6 MB / 256 MB, free: 9.613 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.453/1.453, allocations: 316.7 MB / 0.6144 GB, free: 92.94 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.Eleveld,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld") translateModel(Pharmacolibrary.Examples.Propofol.Eleveld,tolerance=1e-09,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld") [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.004075/0.004075, allocations: 80.09 kB / 0.7749 GB, free: 14.85 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1452, allocations: 73.99 MB / 0.8472 GB, free: 4.988 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Propofol.Eleveld): time 0.004188/0.1494, allocations: 2.545 MB / 0.8497 GB, free: 2.445 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.1501, allocations: 309.8 kB / 0.85 GB, free: 2.148 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1503, allocations: 0 / 0.85 GB, free: 2.148 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.1504, allocations: 41.27 kB / 0.85 GB, free: 2.109 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.1508, allocations: 119 kB / 0.8501 GB, free: 1.992 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.1509, allocations: 69.16 kB / 0.8502 GB, free: 1.926 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005068/0.1515, allocations: 386.3 kB / 0.8505 GB, free: 1.547 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1516, allocations: 52.91 kB / 0.8506 GB, free: 1.496 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.1518, allocations: 161.9 kB / 0.8507 GB, free: 1.34 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.1522, allocations: 175.1 kB / 0.8509 GB, free: 1.168 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-05/0.1522, allocations: 24 kB / 0.8509 GB, free: 1.145 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.629e-05/0.1523, allocations: 24 kB / 0.851 GB, free: 1.121 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8e-05/0.1524, allocations: 67.69 kB / 0.851 GB, free: 1.055 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.1526, allocations: 144.1 kB / 0.8512 GB, free: 0.9141 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.1529, allocations: 286.7 kB / 0.8514 GB, free: 0.6328 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1529, allocations: 0 / 0.8514 GB, free: 0.6328 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1529, allocations: 5.031 kB / 0.8514 GB, free: 0.6289 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.1529, allocations: 4 kB / 0.8514 GB, free: 0.625 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.001415/0.1544, allocations: 0.6487 MB / 0.8521 GB, free: 15.93 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1544, allocations: 8.031 kB / 0.8521 GB, free: 15.92 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.406e-05/0.1545, allocations: 40.7 kB / 0.8521 GB, free: 15.88 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.155, allocations: 241.4 kB / 0.8524 GB, free: 15.62 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.155, allocations: 20.8 kB / 0.8524 GB, free: 15.6 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.1551, allocations: 29.33 kB / 0.8524 GB, free: 15.57 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/0.1556, allocations: 280.9 kB / 0.8527 GB, free: 15.27 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.1556, allocations: 13.89 kB / 0.8527 GB, free: 15.26 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.1556, allocations: 4 kB / 0.8527 GB, free: 15.26 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1556, allocations: 8 kB / 0.8527 GB, free: 15.25 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.1561, allocations: 258.7 kB / 0.8529 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009804/0.157, allocations: 0.5005 MB / 0.8534 GB, free: 14.45 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005623/0.1576, allocations: 264.5 kB / 0.8537 GB, free: 14.16 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.1579, allocations: 175.4 kB / 0.8539 GB, free: 13.96 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1579, allocations: 4 kB / 0.8539 GB, free: 13.96 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005451/0.1584, allocations: 460.5 kB / 0.8543 GB, free: 13.44 MB / 490.8 MB Notification: Performance of pre-optimization done (n=39): time 1.633e-06/0.1584, allocations: 0 / 0.8543 GB, free: 13.44 MB / 490.8 MB Notification: Performance of matching and sorting (n=42): time 0.3504/0.5088, allocations: 1.305 MB / 0.8556 GB, free: 28.52 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.5089, allocations: 299.7 kB / 0.8559 GB, free: 28.18 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.5092, allocations: 266.3 kB / 0.8561 GB, free: 28.08 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.5093, allocations: 35.7 kB / 0.8561 GB, free: 28.05 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.5093, allocations: 155.4 kB / 0.8563 GB, free: 27.96 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.5095, allocations: 144.3 kB / 0.8564 GB, free: 27.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.5096, allocations: 75.38 kB / 0.8565 GB, free: 27.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.5096, allocations: 346 kB / 0.8568 GB, free: 27.56 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.5099, allocations: 207.3 kB / 0.857 GB, free: 27.46 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.5101, allocations: 277 kB / 0.8573 GB, free: 27.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.5113, allocations: 0.8305 MB / 0.8581 GB, free: 26.79 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.5113, allocations: 2.969 kB / 0.8581 GB, free: 26.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006933/0.512, allocations: 0.5649 MB / 0.8587 GB, free: 26.54 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.5121, allocations: 88.16 kB / 0.8587 GB, free: 26.45 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5121, allocations: 5.562 kB / 0.8587 GB, free: 26.45 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.5121, allocations: 8.516 kB / 0.8588 GB, free: 26.45 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.5125, allocations: 90.67 kB / 0.8588 GB, free: 26.44 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.5125, allocations: 5.531 kB / 0.8588 GB, free: 26.44 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.5127, allocations: 18.42 kB / 0.8589 GB, free: 26.44 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.5128, allocations: 19.69 kB / 0.8589 GB, free: 26.44 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.0002556/0.513, allocations: 259.6 kB / 0.8591 GB, free: 26.22 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.5131, allocations: 41.33 kB / 0.8592 GB, free: 26.2 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.326e-05/0.5132, allocations: 35.91 kB / 0.8592 GB, free: 26.19 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5132, allocations: 4.062 kB / 0.8592 GB, free: 26.19 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.5132, allocations: 1.25 kB / 0.8592 GB, free: 26.19 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.5132, allocations: 2.391 kB / 0.8592 GB, free: 26.19 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.5144, allocations: 0.9033 MB / 0.8601 GB, free: 25.76 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5144, allocations: 2.672 kB / 0.8601 GB, free: 25.76 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.5148, allocations: 60.72 kB / 0.8602 GB, free: 25.76 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5148, allocations: 2.953 kB / 0.8602 GB, free: 25.76 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.5148, allocations: 16.02 kB / 0.8602 GB, free: 25.76 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.5148, allocations: 2.844 kB / 0.8602 GB, free: 25.76 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5148, allocations: 4.625 kB / 0.8602 GB, free: 25.75 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009009/0.5157, allocations: 0.8712 MB / 0.861 GB, free: 25.31 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.5158, allocations: 30.02 kB / 0.8611 GB, free: 25.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.416e-05/0.5158, allocations: 19.52 kB / 0.8611 GB, free: 25.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.5161, allocations: 15.28 kB / 0.8611 GB, free: 25.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.451e-05/0.5162, allocations: 28.44 kB / 0.8611 GB, free: 25.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.5162, allocations: 13.34 kB / 0.8611 GB, free: 25.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000193/0.5164, allocations: 202.3 kB / 0.8613 GB, free: 25.21 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5164, allocations: 0 / 0.8613 GB, free: 25.21 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003655/0.5167, allocations: 100.2 kB / 0.8614 GB, free: 25.21 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.0001318/0.5169, allocations: 123.2 kB / 0.8615 GB, free: 25.12 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005958/0.5175, allocations: 0.601 MB / 0.8621 GB, free: 24.73 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.5175, allocations: 3.75 kB / 0.8621 GB, free: 24.73 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000315/0.5178, allocations: 403.8 kB / 0.8625 GB, free: 24.44 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.5183, allocations: 79.69 kB / 0.8626 GB, free: 24.44 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.5199, allocations: 1.128 MB / 0.8637 GB, free: 23.85 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.5201, allocations: 179.8 kB / 0.8639 GB, free: 23.76 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.5203, allocations: 48.05 kB / 0.8639 GB, free: 23.75 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.5204, allocations: 29.56 kB / 0.8639 GB, free: 23.75 MB / 490.8 MB Notification: Performance of SimCode: time 6.21e-07/0.5204, allocations: 0 / 0.8639 GB, free: 23.75 MB / 490.8 MB Notification: Performance of Templates: time 0.01203/0.5324, allocations: 5.332 MB / 0.8691 GB, free: 23.2 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Propofol.Eleveld.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.672671466134489]