Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.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.001427/0.001427, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002257/0.003684, allocations: 455.9 kB / 10.35 MB, free: 348 kB / 10.45 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.001374/0.001374, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002017/0.003391, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.166/1.166, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1303/1.296, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.8922/0.8922, allocations: 291.1 MB / 0.5226 GB, free: 52.01 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04549/0.9377, allocations: 21.04 MB / 0.5432 GB, free: 31.04 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.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 0.5446 GB, free: 29.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.369e-05, allocations: 2.312 kB / 0.5446 GB, free: 29.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil): time 0.004888/0.004922, allocations: 2.963 MB / 0.5475 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009759/0.01468, allocations: 6.778 MB / 0.5541 GB, free: 19.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004203/0.0151, allocations: 4 kB / 0.5541 GB, free: 19.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.01531, allocations: 43.56 kB / 0.5541 GB, free: 19.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004121/0.01572, allocations: 119 kB / 0.5543 GB, free: 19.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.01608, allocations: 79.77 kB / 0.5543 GB, free: 19.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005493/0.01663, allocations: 393.9 kB / 0.5547 GB, free: 19.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.01688, allocations: 58.86 kB / 0.5548 GB, free: 19.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004678/0.01734, allocations: 254.6 kB / 0.555 GB, free: 18.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.0177, allocations: 119.6 kB / 0.5551 GB, free: 18.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.01776, allocations: 24 kB / 0.5551 GB, free: 18.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.69e-05/0.01782, allocations: 24 kB / 0.5552 GB, free: 18.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.01788, allocations: 39.81 kB / 0.5552 GB, free: 18.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.01801, allocations: 99.8 kB / 0.5553 GB, free: 18.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.01842, allocations: 199.2 kB / 0.5555 GB, free: 18.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.972e-05/0.01844, allocations: 3.984 kB / 0.5555 GB, free: 18.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01844, allocations: 4 kB / 0.5555 GB, free: 18.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.392e-05/0.01847, allocations: 0 / 0.5555 GB, free: 18.39 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.00113/0.0196, allocations: 0.6243 MB / 0.5561 GB, free: 17.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.01965, allocations: 11.89 kB / 0.5561 GB, free: 17.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.01974, allocations: 36.91 kB / 0.5562 GB, free: 17.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.02007, allocations: 193.5 kB / 0.5563 GB, free: 17.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.02011, allocations: 26.38 kB / 0.5564 GB, free: 17.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.02016, allocations: 28.31 kB / 0.5564 GB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.02054, allocations: 236.7 kB / 0.5566 GB, free: 17.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.02056, allocations: 4 kB / 0.5566 GB, free: 17.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.02058, allocations: 7.984 kB / 0.5566 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.02059, allocations: 8 kB / 0.5566 GB, free: 17.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.02079, allocations: 138.5 kB / 0.5568 GB, free: 16.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009751/0.02176, allocations: 0.5191 MB / 0.5573 GB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.02211, allocations: 156.8 kB / 0.5574 GB, free: 16.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.349e-05/0.0222, allocations: 100.5 kB / 0.5575 GB, free: 16.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.02222, allocations: 7.938 kB / 0.5575 GB, free: 16.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/0.02255, allocations: 321.7 kB / 0.5578 GB, free: 15.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 3.637e-06/0.02256, allocations: 0 / 0.5578 GB, free: 15.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001357/0.02391, allocations: 0.8189 MB / 0.5586 GB, free: 14.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4159/0.4398, allocations: 266.4 kB / 0.5589 GB, free: 79.61 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.4401, allocations: 231.5 kB / 0.5591 GB, free: 79.5 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.4401, allocations: 34.33 kB / 0.5591 GB, free: 79.47 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.4402, allocations: 139.1 kB / 0.5593 GB, free: 79.39 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/0.4402, allocations: 112 kB / 0.5594 GB, free: 79.34 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.789e-05/0.4403, allocations: 77.25 kB / 0.5595 GB, free: 79.33 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.4404, allocations: 343.7 kB / 0.5598 GB, free: 79.02 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.4405, allocations: 145.9 kB / 0.5599 GB, free: 78.91 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.4406, allocations: 254.5 kB / 0.5602 GB, free: 78.68 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.4408, allocations: 340.4 kB / 0.5605 GB, free: 78.43 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4408, allocations: 5 kB / 0.5605 GB, free: 78.43 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003174/0.4412, allocations: 383.8 kB / 0.5609 GB, free: 78.21 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/0.4412, allocations: 92.48 kB / 0.561 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4412, allocations: 4 kB / 0.561 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4412, allocations: 5.156 kB / 0.561 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.4416, allocations: 111.2 kB / 0.5611 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.4416, allocations: 6.078 kB / 0.5611 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.4417, allocations: 21.56 kB / 0.5611 GB, free: 78.11 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.4417, allocations: 14.7 kB / 0.5611 GB, free: 78.11 MB / 410.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0001594/0.4419, allocations: 205.4 kB / 0.5613 GB, free: 77.94 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.4419, allocations: 40.31 kB / 0.5613 GB, free: 77.93 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.442, allocations: 32.39 kB / 0.5614 GB, free: 77.93 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.442, allocations: 4.391 kB / 0.5614 GB, free: 77.93 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.442, allocations: 1.219 kB / 0.5614 GB, free: 77.93 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.442, allocations: 1.547 kB / 0.5614 GB, free: 77.93 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006053/0.4426, allocations: 0.524 MB / 0.5619 GB, free: 77.61 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4426, allocations: 1.312 kB / 0.5619 GB, free: 77.61 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.4428, allocations: 70.3 kB / 0.562 GB, free: 77.61 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.4429, allocations: 27.98 kB / 0.562 GB, free: 77.6 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4429, allocations: 5.5 kB / 0.562 GB, free: 77.6 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.4429, allocations: 10.61 kB / 0.562 GB, free: 77.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4429, allocations: 1.094 kB / 0.562 GB, free: 77.6 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4429, allocations: 0.7188 kB / 0.562 GB, free: 77.6 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.4433, allocations: 0.5196 MB / 0.5625 GB, free: 77.27 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.4434, allocations: 14.36 kB / 0.5625 GB, free: 77.27 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.4435, allocations: 15.86 kB / 0.5625 GB, free: 77.27 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/0.4436, allocations: 26.98 kB / 0.5626 GB, free: 77.27 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.4436, allocations: 13.88 kB / 0.5626 GB, free: 77.27 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.678e-05/0.4437, allocations: 76.45 kB / 0.5627 GB, free: 77.26 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.4437, allocations: 0 / 0.5627 GB, free: 77.26 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002327/0.4439, allocations: 88.19 kB / 0.5627 GB, free: 77.26 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,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 (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001298/0.4441, allocations: 104.7 kB / 0.5628 GB, free: 77.19 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.4444, allocations: 489.2 kB / 0.5633 GB, free: 76.83 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/0.4444, allocations: 3.859 kB / 0.5633 GB, free: 76.83 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.4445, allocations: 277.4 kB / 0.5636 GB, free: 76.63 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.4449, allocations: 129.9 kB / 0.5637 GB, free: 76.62 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007677/0.4526, allocations: 0.7328 MB / 0.5644 GB, free: 76.26 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.824e-05/0.4526, allocations: 97.2 kB / 0.5645 GB, free: 76.18 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00011/0.4527, allocations: 35.66 kB / 0.5645 GB, free: 76.18 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.453, allocations: 150.4 kB / 0.5647 GB, free: 76.13 MB / 410.8 MB Notification: Performance of SimCode: time 1.092e-06/0.453, allocations: 0 / 0.5647 GB, free: 76.13 MB / 410.8 MB Notification: Performance of Templates: time 0.00817/0.4611, allocations: 5.251 MB / 0.5698 GB, free: 75 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.393245319835842]