Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.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.00191/0.00191, 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.002167/0.002167, allocations: 173.9 kB / 22.46 MB, free: 2.105 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.616/1.616, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.34/1.34, allocations: 292.9 MB / 0.5392 GB, free: 50.23 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.N01AH02_Alfentanil.Alfentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.6999 GB, free: 8.516 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.036e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.512 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil): time 0.003419/0.003449, allocations: 2.717 MB / 0.7026 GB, free: 5.773 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.007417/0.01087, allocations: 6.611 MB / 0.709 GB, free: 15.15 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002551/0.01112, allocations: 0 / 0.709 GB, free: 15.15 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.01134, allocations: 43.56 kB / 0.7091 GB, free: 15.11 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.01186, allocations: 130.9 kB / 0.7092 GB, free: 14.98 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.01222, allocations: 75.83 kB / 0.7093 GB, free: 14.91 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006389/0.01286, allocations: 389.9 kB / 0.7096 GB, free: 14.52 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.01306, allocations: 56.83 kB / 0.7097 GB, free: 14.47 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.01337, allocations: 207.5 kB / 0.7099 GB, free: 14.27 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.01368, allocations: 119.6 kB / 0.71 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.01374, allocations: 24 kB / 0.71 GB, free: 14.13 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.754e-05/0.0138, allocations: 28 kB / 0.71 GB, free: 14.1 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 8.014e-05/0.01388, allocations: 59.7 kB / 0.7101 GB, free: 14.04 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.01404, allocations: 107.8 kB / 0.7102 GB, free: 13.94 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.0145, allocations: 299.1 kB / 0.7105 GB, free: 13.64 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.0145, allocations: 0 / 0.7105 GB, free: 13.64 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.304e-06/0.01451, allocations: 0 / 0.7105 GB, free: 13.64 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.01451, allocations: 0 / 0.7105 GB, free: 13.64 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.001265/0.01578, allocations: 0.6002 MB / 0.7111 GB, free: 12.99 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.01582, allocations: 8.031 kB / 0.7111 GB, free: 12.98 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.709e-05/0.01591, allocations: 32.75 kB / 0.7111 GB, free: 12.95 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.01624, allocations: 216.7 kB / 0.7113 GB, free: 12.72 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.01627, allocations: 16.75 kB / 0.7113 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.01632, allocations: 20.38 kB / 0.7114 GB, free: 12.68 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/0.01687, allocations: 292.5 kB / 0.7116 GB, free: 12.38 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.0169, allocations: 7.953 kB / 0.7116 GB, free: 12.37 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.01692, allocations: 4 kB / 0.7116 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.01694, allocations: 12 kB / 0.7117 GB, free: 12.35 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/0.01747, allocations: 232.4 kB / 0.7119 GB, free: 12.11 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.01886, allocations: 0.6795 MB / 0.7125 GB, free: 11.39 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/0.01953, allocations: 234.1 kB / 0.7128 GB, free: 11.14 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.01984, allocations: 152.4 kB / 0.7129 GB, free: 10.97 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.01986, allocations: 4 kB / 0.7129 GB, free: 10.97 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006295/0.02049, allocations: 362.2 kB / 0.7133 GB, free: 10.57 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.02049, allocations: 0 / 0.7133 GB, free: 10.57 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002337/0.02283, allocations: 1.084 MB / 0.7143 GB, free: 9.391 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000184/0.02301, allocations: 217.6 kB / 0.7145 GB, free: 9.129 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.02333, allocations: 245.9 kB / 0.7148 GB, free: 8.883 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.02337, allocations: 33.7 kB / 0.7148 GB, free: 8.844 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.02351, allocations: 156.8 kB / 0.7149 GB, free: 8.684 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.02363, allocations: 115.1 kB / 0.7151 GB, free: 8.57 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.02376, allocations: 70.19 kB / 0.7151 GB, free: 8.492 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.02397, allocations: 350.7 kB / 0.7155 GB, free: 8.141 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.02433, allocations: 203.9 kB / 0.7157 GB, free: 7.922 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.02476, allocations: 319.1 kB / 0.716 GB, free: 7.551 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006857/0.02544, allocations: 431.3 kB / 0.7164 GB, free: 7.062 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.02545, allocations: 0 / 0.7164 GB, free: 7.062 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009242/0.02637, allocations: 0.5457 MB / 0.7169 GB, free: 6.473 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.148e-05/0.02646, allocations: 94.83 kB / 0.717 GB, free: 6.363 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.02647, allocations: 0 / 0.717 GB, free: 6.363 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.02649, allocations: 7.938 kB / 0.717 GB, free: 6.355 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.02681, allocations: 83.83 kB / 0.7171 GB, free: 6.273 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.02682, allocations: 7.984 kB / 0.7171 GB, free: 6.266 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.02705, allocations: 24.33 kB / 0.7171 GB, free: 6.242 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.02708, allocations: 19.98 kB / 0.7171 GB, free: 6.223 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.0003093/0.02739, allocations: 226.7 kB / 0.7173 GB, free: 5.98 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.02745, allocations: 31.81 kB / 0.7174 GB, free: 5.949 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.731e-05/0.02752, allocations: 34.95 kB / 0.7174 GB, free: 5.914 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.02753, allocations: 0 / 0.7174 GB, free: 5.914 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.02753, allocations: 4 kB / 0.7174 GB, free: 5.91 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.02754, allocations: 3.984 kB / 0.7174 GB, free: 5.906 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.02885, allocations: 0.7677 MB / 0.7182 GB, free: 5.078 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.02885, allocations: 0 / 0.7182 GB, free: 5.078 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.02914, allocations: 51.97 kB / 0.7182 GB, free: 5.027 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.02914, allocations: 4 kB / 0.7182 GB, free: 5.023 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.02917, allocations: 11.98 kB / 0.7182 GB, free: 5.012 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.02917, allocations: 0 / 0.7182 GB, free: 5.012 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.02918, allocations: 7.938 kB / 0.7182 GB, free: 5.004 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.03039, allocations: 0.7269 MB / 0.7189 GB, free: 4.219 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.03045, allocations: 27.8 kB / 0.719 GB, free: 4.191 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.0305, allocations: 8.062 kB / 0.719 GB, free: 4.184 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.0307, allocations: 15.98 kB / 0.719 GB, free: 4.168 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.0308, allocations: 35.89 kB / 0.719 GB, free: 4.133 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.03083, allocations: 11.98 kB / 0.719 GB, free: 4.121 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002171/0.03105, allocations: 177.2 kB / 0.7192 GB, free: 3.949 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.03105, allocations: 0 / 0.7192 GB, free: 3.949 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003739/0.03142, allocations: 88 kB / 0.7193 GB, free: 3.863 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.0001842/0.0316, allocations: 126.9 kB / 0.7194 GB, free: 3.734 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.2429/0.2745, allocations: 0.5542 MB / 0.72 GB, free: 37.05 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2745, allocations: 1.906 kB / 0.72 GB, free: 37.05 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005325/0.275, allocations: 302.5 kB / 0.7202 GB, free: 36.87 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/0.2757, allocations: 90.27 kB / 0.7203 GB, free: 36.87 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.2772, allocations: 0.7955 MB / 0.7211 GB, free: 36.46 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.2774, allocations: 161.4 kB / 0.7213 GB, free: 36.39 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.2775, allocations: 32.33 kB / 0.7213 GB, free: 36.38 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.2776, allocations: 31.94 kB / 0.7213 GB, free: 36.36 MB / 426.8 MB Notification: Performance of SimCode: time 1.633e-06/0.2776, allocations: 0 / 0.7213 GB, free: 36.36 MB / 426.8 MB Notification: Performance of Templates: time 0.0111/0.2887, allocations: 4.544 MB / 0.7258 GB, free: 35.95 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.853621382964775]