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.002839/0.002839, 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.002896/0.002896, allocations: 220.6 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.704/1.704, 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.427/1.427, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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,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: 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.003955/0.003955, allocations: 77.58 kB / 0.775 GB, free: 14.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1885, allocations: 73.98 MB / 0.8473 GB, free: 4.844 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil): time 0.005389/0.1939, allocations: 2.728 MB / 0.8499 GB, free: 2.121 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.335/0.5289, allocations: 6.593 MB / 0.8564 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.5292, allocations: 2.562 kB / 0.8564 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.5294, allocations: 40.75 kB / 0.8564 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.5297, allocations: 121 kB / 0.8565 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.53, allocations: 75.33 kB / 0.8566 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003889/0.5304, allocations: 380.2 kB / 0.857 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.5305, allocations: 51.84 kB / 0.857 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.5307, allocations: 143.7 kB / 0.8571 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.531, allocations: 139.2 kB / 0.8573 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.06e-05/0.5311, allocations: 25.16 kB / 0.8573 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.587e-05/0.5311, allocations: 25.59 kB / 0.8573 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.5312, allocations: 55.86 kB / 0.8574 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.5313, allocations: 135.7 kB / 0.8575 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.5317, allocations: 284.3 kB / 0.8578 GB, free: 21.75 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5317, allocations: 1.312 kB / 0.8578 GB, free: 21.75 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5317, allocations: 2.719 kB / 0.8578 GB, free: 21.75 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.5317, allocations: 0 / 0.8578 GB, free: 21.75 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.00102/0.5327, allocations: 0.598 MB / 0.8584 GB, free: 21.29 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.5328, allocations: 10.44 kB / 0.8584 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.862e-05/0.5328, allocations: 34.28 kB / 0.8584 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.5331, allocations: 215.7 kB / 0.8586 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.5331, allocations: 15.25 kB / 0.8586 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.5332, allocations: 29.08 kB / 0.8587 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.5336, allocations: 283.9 kB / 0.8589 GB, free: 20.99 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.5336, allocations: 7.203 kB / 0.8589 GB, free: 20.99 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.5337, allocations: 6.531 kB / 0.8589 GB, free: 20.99 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.5337, allocations: 4.125 kB / 0.8589 GB, free: 20.99 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003943/0.5341, allocations: 237.8 kB / 0.8592 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.5351, allocations: 0.677 MB / 0.8598 GB, free: 20.57 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.5356, allocations: 234.7 kB / 0.8601 GB, free: 20.48 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.5359, allocations: 153.4 kB / 0.8602 GB, free: 20.41 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.5359, allocations: 2.469 kB / 0.8602 GB, free: 20.41 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000414/0.5363, allocations: 362.6 kB / 0.8606 GB, free: 20.17 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.404e-06/0.5363, allocations: 4.969 kB / 0.8606 GB, free: 20.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001857/0.5382, allocations: 1.081 MB / 0.8616 GB, free: 19.62 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.5382, allocations: 219.5 kB / 0.8618 GB, free: 19.37 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.5385, allocations: 253 kB / 0.8621 GB, free: 19.26 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.5385, allocations: 33.86 kB / 0.8621 GB, free: 19.23 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.5386, allocations: 160.1 kB / 0.8623 GB, free: 19.12 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.7e-05/0.5386, allocations: 115.7 kB / 0.8624 GB, free: 19.05 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.5387, allocations: 71.2 kB / 0.8624 GB, free: 19.04 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.236e-05/0.5388, allocations: 341.9 kB / 0.8628 GB, free: 18.72 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.5391, allocations: 209.8 kB / 0.863 GB, free: 18.62 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.5394, allocations: 320.9 kB / 0.8633 GB, free: 18.39 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.5399, allocations: 431.4 kB / 0.8637 GB, free: 18.12 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5399, allocations: 2.062 kB / 0.8637 GB, free: 18.12 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000828/0.5407, allocations: 0.5459 MB / 0.8642 GB, free: 17.86 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.242e-05/0.5408, allocations: 93.03 kB / 0.8643 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.5408, allocations: 3.297 kB / 0.8643 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.5408, allocations: 6.094 kB / 0.8643 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.5411, allocations: 81.84 kB / 0.8644 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.5411, allocations: 7.578 kB / 0.8644 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.5414, allocations: 27.83 kB / 0.8644 GB, free: 17.76 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.5414, allocations: 20.33 kB / 0.8644 GB, free: 17.75 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: 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.0002698/0.5417, allocations: 223.5 kB / 0.8646 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.5417, allocations: 33.62 kB / 0.8647 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.779e-05/0.5418, allocations: 33.06 kB / 0.8647 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.5418, allocations: 3.156 kB / 0.8647 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.5418, allocations: 1.359 kB / 0.8647 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.5418, allocations: 7.062 kB / 0.8647 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.543, allocations: 0.7654 MB / 0.8655 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.543, allocations: 3.938 kB / 0.8655 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/0.5433, allocations: 53.36 kB / 0.8655 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5433, allocations: 1.062 kB / 0.8655 GB, free: 17.17 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.5433, allocations: 14.36 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.5434, allocations: 2.875 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5434, allocations: 2.344 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.5444, allocations: 0.721 MB / 0.8663 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.5444, allocations: 29.75 kB / 0.8663 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/0.5445, allocations: 16.67 kB / 0.8663 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.5447, allocations: 16.72 kB / 0.8663 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.5448, allocations: 28.91 kB / 0.8663 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.5448, allocations: 15.17 kB / 0.8664 GB, free: 16.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000175/0.545, allocations: 178 kB / 0.8665 GB, free: 16.72 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.545, allocations: 0.625 kB / 0.8665 GB, free: 16.72 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003989/0.5454, allocations: 86.5 kB / 0.8666 GB, free: 16.72 MB / 490.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.000121/0.5455, allocations: 121.9 kB / 0.8667 GB, free: 16.62 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007595/0.5463, allocations: 0.5706 MB / 0.8673 GB, free: 16.26 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5463, allocations: 0 / 0.8673 GB, free: 16.26 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.5466, allocations: 300.6 kB / 0.8676 GB, free: 16.07 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.5471, allocations: 87.14 kB / 0.8676 GB, free: 16.07 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.5487, allocations: 0.9347 MB / 0.8686 GB, free: 15.59 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.5488, allocations: 159.9 kB / 0.8687 GB, free: 15.5 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.549, allocations: 33.83 kB / 0.8687 GB, free: 15.5 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.99e-05/0.5491, allocations: 27.66 kB / 0.8688 GB, free: 15.49 MB / 490.8 MB Notification: Performance of SimCode: time 1.292e-06/0.5491, allocations: 4 kB / 0.8688 GB, free: 15.49 MB / 490.8 MB Notification: Performance of Templates: time 0.01082/0.5599, allocations: 4.985 MB / 0.8736 GB, free: 15 MB / 490.8 MB " [Timeout remaining time 659] 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: 7.7032846219372]