Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference.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.00204/0.00204, allocations: 109.5 kB / 18.95 MB, free: 1.176 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.002223/0.002223, allocations: 219.5 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.77/1.77, allocations: 230.6 MB / 256 MB, free: 9.605 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.452/1.452, allocations: 316.7 MB / 0.6144 GB, free: 92.93 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.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference") [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.005068/0.005068, allocations: 73.75 kB / 0.775 GB, free: 14.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1463, allocations: 73.99 MB / 0.8472 GB, free: 4.914 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference): time 0.003794/0.1501, allocations: 2.307 MB / 0.8495 GB, free: 2.609 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2819/0.4319, allocations: 6.521 MB / 0.8558 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.4321, allocations: 0.7656 kB / 0.8558 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.4322, allocations: 27.81 kB / 0.8559 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.4325, allocations: 84.86 kB / 0.856 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.4327, allocations: 54.75 kB / 0.856 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.4329, allocations: 252.4 kB / 0.8562 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.433, allocations: 38.75 kB / 0.8563 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.4331, allocations: 96.47 kB / 0.8564 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.4333, allocations: 99.2 kB / 0.8565 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.4334, allocations: 18.53 kB / 0.8565 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-05/0.4334, allocations: 16.81 kB / 0.8565 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.43e-05/0.4334, allocations: 35.84 kB / 0.8565 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.186e-05/0.4335, allocations: 97.73 kB / 0.8566 GB, free: 21.77 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.4337, allocations: 197.5 kB / 0.8568 GB, free: 21.74 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4337, allocations: 0 / 0.8568 GB, free: 21.74 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4337, allocations: 3.094 kB / 0.8568 GB, free: 21.74 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.4337, allocations: 0 / 0.8568 GB, free: 21.74 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007376/0.4345, allocations: 499.4 kB / 0.8573 GB, free: 21.34 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.4345, allocations: 11.39 kB / 0.8573 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.4345, allocations: 24.83 kB / 0.8573 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.4348, allocations: 188.1 kB / 0.8575 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.4348, allocations: 9.484 kB / 0.8575 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.4348, allocations: 24.12 kB / 0.8575 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.4352, allocations: 185.9 kB / 0.8577 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4352, allocations: 4.578 kB / 0.8577 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.4352, allocations: 9.469 kB / 0.8577 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4352, allocations: 0.8438 kB / 0.8577 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.4355, allocations: 146.1 kB / 0.8579 GB, free: 21.05 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006906/0.4362, allocations: 480.9 kB / 0.8583 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.4367, allocations: 175.4 kB / 0.8585 GB, free: 20.7 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.4369, allocations: 98.97 kB / 0.8586 GB, free: 20.65 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.4369, allocations: 2.969 kB / 0.8586 GB, free: 20.65 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.4372, allocations: 223.2 kB / 0.8588 GB, free: 20.51 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.4372, allocations: 0 / 0.8588 GB, free: 20.51 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001336/0.4385, allocations: 0.7007 MB / 0.8595 GB, free: 20.15 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.4386, allocations: 142 kB / 0.8596 GB, free: 20 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.4388, allocations: 210.7 kB / 0.8598 GB, free: 19.89 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4388, allocations: 33.03 kB / 0.8599 GB, free: 19.86 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.4388, allocations: 137.5 kB / 0.86 GB, free: 19.77 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.4389, allocations: 73.2 kB / 0.8601 GB, free: 19.72 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/0.439, allocations: 54.47 kB / 0.8601 GB, free: 19.7 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.543e-05/0.439, allocations: 343.2 kB / 0.8604 GB, free: 19.38 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.4392, allocations: 143 kB / 0.8606 GB, free: 19.31 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.4395, allocations: 222 kB / 0.8608 GB, free: 19.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.4398, allocations: 284.9 kB / 0.8611 GB, free: 18.98 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4398, allocations: 0.5 kB / 0.8611 GB, free: 18.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005206/0.4403, allocations: 385.1 kB / 0.8614 GB, free: 18.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.4404, allocations: 66.03 kB / 0.8615 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.4404, allocations: 7.344 kB / 0.8615 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4404, allocations: 3.531 kB / 0.8615 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.4406, allocations: 55.89 kB / 0.8616 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4406, allocations: 2.406 kB / 0.8616 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.4408, allocations: 17.44 kB / 0.8616 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.4408, allocations: 19.88 kB / 0.8616 GB, free: 18.72 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001538/0.441, allocations: 173.4 kB / 0.8618 GB, free: 18.57 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.441, allocations: 23.8 kB / 0.8618 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.441, allocations: 29.61 kB / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.441, allocations: 9.141 kB / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.441, allocations: 0 / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.441, allocations: 1.766 kB / 0.8618 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006417/0.4417, allocations: 0.5381 MB / 0.8623 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4417, allocations: 0.625 kB / 0.8623 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.4419, allocations: 36.64 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4419, allocations: 6.078 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.4419, allocations: 3.938 kB / 0.8624 GB, free: 18.24 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4419, allocations: 6.125 kB / 0.8624 GB, free: 18.23 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4419, allocations: 0.5625 kB / 0.8624 GB, free: 18.23 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000655/0.4426, allocations: 498 kB / 0.8629 GB, free: 17.99 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.4426, allocations: 22.16 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.4426, allocations: 9.219 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.4428, allocations: 15.75 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.756e-05/0.4429, allocations: 23.75 kB / 0.8629 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.4429, allocations: 9.547 kB / 0.8629 GB, free: 17.97 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001182/0.443, allocations: 164.1 kB / 0.8631 GB, free: 17.89 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.443, allocations: 2.281 kB / 0.8631 GB, free: 17.89 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004335/0.4435, allocations: 55.69 kB / 0.8632 GB, free: 17.89 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001081/0.4436, allocations: 107 kB / 0.8633 GB, free: 17.8 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000513/0.4441, allocations: 382.4 kB / 0.8636 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4441, allocations: 0 / 0.8636 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.4443, allocations: 171.2 kB / 0.8638 GB, free: 17.48 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.4448, allocations: 69.59 kB / 0.8639 GB, free: 17.47 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.446, allocations: 0.6838 MB / 0.8645 GB, free: 17.15 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.4461, allocations: 126.4 kB / 0.8646 GB, free: 17.07 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.4462, allocations: 22.06 kB / 0.8647 GB, free: 17.07 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.4463, allocations: 27.81 kB / 0.8647 GB, free: 17.06 MB / 490.8 MB Notification: Performance of SimCode: time 5.11e-07/0.4463, allocations: 1.406 kB / 0.8647 GB, free: 17.06 MB / 490.8 MB Notification: Performance of Templates: time 0.008356/0.4547, allocations: 3.64 MB / 0.8682 GB, free: 16.74 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil_Pokorn2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.737779235001653]