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.001925/0.001925, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002253/0.002253, allocations: 170.3 kB / 22.46 MB, free: 2.102 MB / 18.57 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.602/1.602, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.323/1.323, allocations: 292.9 MB / 0.5392 GB, free: 49.83 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: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.6999 GB, free: 8.566 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.813e-05/4.008e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.559 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH03_Sufentanil.Sufentanil): time 0.00359/0.00363, allocations: 2.713 MB / 0.7026 GB, free: 5.824 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.007697/0.01133, allocations: 6.608 MB / 0.709 GB, free: 15.21 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002706/0.0116, allocations: 4 kB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.01181, allocations: 47.5 kB / 0.7091 GB, free: 15.16 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.01217, allocations: 127 kB / 0.7092 GB, free: 15.03 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.01248, allocations: 75.83 kB / 0.7093 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.000642/0.01312, allocations: 389.9 kB / 0.7096 GB, free: 14.57 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.0133, allocations: 60.83 kB / 0.7097 GB, free: 14.52 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.01362, allocations: 195.6 kB / 0.7099 GB, free: 14.33 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.01391, allocations: 127.5 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.497e-05/0.01397, allocations: 24 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.476e-05/0.01402, allocations: 28 kB / 0.7101 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.898e-05/0.01409, allocations: 59.7 kB / 0.7101 GB, free: 14.09 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.01425, allocations: 115.7 kB / 0.7102 GB, free: 13.98 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.01468, allocations: 287.1 kB / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.01469, allocations: 3.984 kB / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01469, allocations: 0 / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.01469, allocations: 0 / 0.7105 GB, free: 13.7 MB / 426.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.001185/0.01588, allocations: 0.6002 MB / 0.7111 GB, free: 13.04 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.01592, allocations: 12.03 kB / 0.7111 GB, free: 13.03 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.815e-05/0.016, allocations: 36.75 kB / 0.7111 GB, free: 13 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.01635, allocations: 212.7 kB / 0.7113 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.01637, allocations: 12.75 kB / 0.7114 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.01643, allocations: 24.38 kB / 0.7114 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.01699, allocations: 292.5 kB / 0.7117 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.01701, allocations: 7.891 kB / 0.7117 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.01704, allocations: 8 kB / 0.7117 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.01705, allocations: 4 kB / 0.7117 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005361/0.01759, allocations: 240.4 kB / 0.7119 GB, free: 12.15 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.01892, allocations: 0.6718 MB / 0.7126 GB, free: 11.44 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006458/0.01956, allocations: 238 kB / 0.7128 GB, free: 11.18 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.01986, allocations: 152.5 kB / 0.7129 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.01988, allocations: 4 kB / 0.7129 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.02091, allocations: 362.2 kB / 0.7133 GB, free: 10.61 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.445e-06/0.02091, allocations: 0 / 0.7133 GB, free: 10.61 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002527/0.02344, allocations: 1.08 MB / 0.7143 GB, free: 9.441 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001815/0.02362, allocations: 217.6 kB / 0.7145 GB, free: 9.18 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.02396, allocations: 245.9 kB / 0.7148 GB, free: 8.934 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.024, allocations: 33.7 kB / 0.7148 GB, free: 8.895 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.02415, allocations: 160.8 kB / 0.715 GB, free: 8.73 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.02427, allocations: 111.1 kB / 0.7151 GB, free: 8.621 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.02441, allocations: 70.19 kB / 0.7151 GB, free: 8.543 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.02462, allocations: 350.7 kB / 0.7155 GB, free: 8.191 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.02498, allocations: 207.9 kB / 0.7157 GB, free: 7.969 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.02543, allocations: 319.1 kB / 0.716 GB, free: 7.598 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000688/0.02612, allocations: 427.3 kB / 0.7164 GB, free: 7.113 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.02612, allocations: 0 / 0.7164 GB, free: 7.113 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009716/0.02709, allocations: 0.5498 MB / 0.7169 GB, free: 6.52 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.024e-05/0.02718, allocations: 88.39 kB / 0.717 GB, free: 6.418 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.02719, allocations: 7.984 kB / 0.717 GB, free: 6.41 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.02722, allocations: 4 kB / 0.717 GB, free: 6.406 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.02765, allocations: 87.77 kB / 0.7171 GB, free: 6.32 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.02766, allocations: 4 kB / 0.7171 GB, free: 6.316 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.02799, allocations: 19.98 kB / 0.7171 GB, free: 6.297 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.02803, allocations: 16.16 kB / 0.7171 GB, free: 6.281 MB / 426.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.0003836/0.02842, allocations: 238.2 kB / 0.7174 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.02849, allocations: 31.81 kB / 0.7174 GB, free: 5.996 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.045e-05/0.02858, allocations: 38.89 kB / 0.7174 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.02859, allocations: 4 kB / 0.7174 GB, free: 5.953 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.02859, allocations: 4 kB / 0.7174 GB, free: 5.949 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.0286, allocations: 3.984 kB / 0.7174 GB, free: 5.945 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.0303, allocations: 0.7639 MB / 0.7182 GB, free: 5.121 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.0303, allocations: 0 / 0.7182 GB, free: 5.121 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.03069, allocations: 47.97 kB / 0.7182 GB, free: 5.074 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.03069, allocations: 0 / 0.7182 GB, free: 5.074 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.03074, allocations: 11.98 kB / 0.7182 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.03074, allocations: 4 kB / 0.7182 GB, free: 5.059 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.03074, allocations: 3.938 kB / 0.7183 GB, free: 5.055 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.03238, allocations: 0.723 MB / 0.719 GB, free: 4.273 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.03245, allocations: 27.8 kB / 0.719 GB, free: 4.246 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-05/0.03253, allocations: 16.06 kB / 0.719 GB, free: 4.23 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/0.03282, allocations: 11.98 kB / 0.719 GB, free: 4.219 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.03296, allocations: 35.89 kB / 0.719 GB, free: 4.184 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.033, allocations: 15.98 kB / 0.7191 GB, free: 4.168 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002917/0.03329, allocations: 177.2 kB / 0.7192 GB, free: 3.996 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03329, allocations: 0 / 0.7192 GB, free: 3.996 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0005751/0.03387, allocations: 84 kB / 0.7193 GB, free: 3.914 MB / 426.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.0002241/0.03409, allocations: 130.9 kB / 0.7194 GB, free: 3.781 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.03556, allocations: 0.557 MB / 0.72 GB, free: 3.156 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.03556, allocations: 0 / 0.72 GB, free: 3.156 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2168/0.2524, allocations: 296.3 kB / 0.7203 GB, free: 37.11 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000865/0.2532, allocations: 94.7 kB / 0.7204 GB, free: 37.11 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.2551, allocations: 0.7919 MB / 0.7211 GB, free: 36.7 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.2553, allocations: 159.8 kB / 0.7213 GB, free: 36.62 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.2555, allocations: 35.17 kB / 0.7213 GB, free: 36.62 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.634e-05/0.2556, allocations: 30.91 kB / 0.7213 GB, free: 36.61 MB / 426.8 MB Notification: Performance of SimCode: time 1.032e-06/0.2556, allocations: 0 / 0.7213 GB, free: 36.61 MB / 426.8 MB Notification: Performance of Templates: time 0.01287/0.2685, allocations: 4.544 MB / 0.7258 GB, free: 36.19 MB / 426.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: 6.989480038871989]