Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_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.0008496/0.0008496, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0008634/0.0008634, allocations: 165.9 kB / 23.21 MB, free: 1.332 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 0.9178/0.9178, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.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.7221/0.7221, allocations: 291.1 MB / 0.5382 GB, free: 51.8 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.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.143e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference): time 0.002243/0.002265, allocations: 2.703 MB / 0.7 GB, free: 7.66 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004194/0.006459, allocations: 6.619 MB / 0.7065 GB, free: 1.031 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.006568, allocations: 4 kB / 0.7065 GB, free: 1.027 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.006687, allocations: 35.58 kB / 0.7065 GB, free: 0.9922 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.00688, allocations: 127 kB / 0.7066 GB, free: 0.8672 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.007076, allocations: 71.83 kB / 0.7067 GB, free: 0.7969 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.007293, allocations: 389.9 kB / 0.7071 GB, free: 424 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.007425, allocations: 56.88 kB / 0.7071 GB, free: 372 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.007562, allocations: 207.5 kB / 0.7073 GB, free: 164 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.00773, allocations: 123.6 kB / 0.7074 GB, free: 40 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.007758, allocations: 24 kB / 0.7075 GB, free: 16 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.901e-05/0.007797, allocations: 24.05 kB / 0.7075 GB, free: 15.99 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.007835, allocations: 55.72 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 8.94e-05/0.007925, allocations: 119.7 kB / 0.7076 GB, free: 15.82 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.008156, allocations: 295.1 kB / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.008158, allocations: 0 / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.303e-06/0.008159, allocations: 0 / 0.7079 GB, free: 15.53 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.008164, allocations: 0 / 0.7079 GB, free: 15.53 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.0006938/0.008858, allocations: 0.5924 MB / 0.7085 GB, free: 14.89 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.008893, allocations: 8.031 kB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.008946, allocations: 32.75 kB / 0.7085 GB, free: 14.85 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.009152, allocations: 224.7 kB / 0.7088 GB, free: 14.61 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.009171, allocations: 12.75 kB / 0.7088 GB, free: 14.59 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.009205, allocations: 24.38 kB / 0.7088 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.009513, allocations: 288.7 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.009528, allocations: 7.953 kB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.009546, allocations: 11.98 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.009552, allocations: 7.938 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.009823, allocations: 232.4 kB / 0.7093 GB, free: 14 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007475/0.01057, allocations: 0.6679 MB / 0.71 GB, free: 13.29 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.01091, allocations: 242 kB / 0.7102 GB, free: 13.03 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.01105, allocations: 144.5 kB / 0.7103 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.01106, allocations: 4 kB / 0.7103 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005471/0.01161, allocations: 358.2 kB / 0.7107 GB, free: 12.47 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.944e-06/0.01161, allocations: 0 / 0.7107 GB, free: 12.47 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001218/0.01283, allocations: 1.095 MB / 0.7118 GB, free: 11.29 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.01291, allocations: 213.6 kB / 0.712 GB, free: 11.03 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.01307, allocations: 245.9 kB / 0.7122 GB, free: 10.78 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.01309, allocations: 33.7 kB / 0.7122 GB, free: 10.74 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.01316, allocations: 168.7 kB / 0.7124 GB, free: 10.57 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.01322, allocations: 119 kB / 0.7125 GB, free: 10.45 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.01329, allocations: 66.2 kB / 0.7126 GB, free: 10.38 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.01337, allocations: 346.7 kB / 0.7129 GB, free: 10.03 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.01356, allocations: 207.9 kB / 0.7131 GB, free: 9.809 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.01377, allocations: 311.2 kB / 0.7134 GB, free: 9.445 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.0141, allocations: 435 kB / 0.7138 GB, free: 8.953 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.0141, allocations: 0 / 0.7138 GB, free: 8.953 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004646/0.01457, allocations: 0.5536 MB / 0.7143 GB, free: 8.355 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.01461, allocations: 93.09 kB / 0.7144 GB, free: 8.246 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01462, allocations: 0 / 0.7144 GB, free: 8.246 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.01463, allocations: 8 kB / 0.7144 GB, free: 8.238 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.0148, allocations: 84.17 kB / 0.7145 GB, free: 8.156 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.0148, allocations: 4 kB / 0.7145 GB, free: 8.152 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.01491, allocations: 19.98 kB / 0.7145 GB, free: 8.133 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.01493, allocations: 16 kB / 0.7146 GB, free: 8.117 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.0001715/0.0151, allocations: 223.1 kB / 0.7148 GB, free: 7.875 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.01513, allocations: 31.8 kB / 0.7148 GB, free: 7.844 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.01516, allocations: 30.97 kB / 0.7148 GB, free: 7.812 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01517, allocations: 11.98 kB / 0.7148 GB, free: 7.801 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01517, allocations: 0 / 0.7148 GB, free: 7.801 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.01518, allocations: 3.984 kB / 0.7148 GB, free: 7.797 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006749/0.01585, allocations: 0.7561 MB / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01585, allocations: 0 / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.016, allocations: 63.89 kB / 0.7156 GB, free: 6.918 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.016, allocations: 0 / 0.7156 GB, free: 6.918 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.01602, allocations: 8 kB / 0.7157 GB, free: 6.91 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01602, allocations: 4 kB / 0.7157 GB, free: 6.906 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.01602, allocations: 3.938 kB / 0.7157 GB, free: 6.902 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005979/0.01662, allocations: 0.7268 MB / 0.7164 GB, free: 6.117 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.01665, allocations: 35.8 kB / 0.7164 GB, free: 6.082 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.01669, allocations: 12.12 kB / 0.7164 GB, free: 6.07 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.45e-05/0.01678, allocations: 19.98 kB / 0.7164 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.01685, allocations: 35.88 kB / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.01687, allocations: 8 kB / 0.7165 GB, free: 6.008 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001075/0.01697, allocations: 181.2 kB / 0.7166 GB, free: 5.832 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01697, allocations: 0 / 0.7166 GB, free: 5.832 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002179/0.01719, allocations: 88 kB / 0.7167 GB, free: 5.746 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 9.947e-05/0.01729, allocations: 126.9 kB / 0.7169 GB, free: 5.617 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007327/0.01802, allocations: 0.5651 MB / 0.7174 GB, free: 4.988 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01803, allocations: 0 / 0.7174 GB, free: 4.988 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.01823, allocations: 302 kB / 0.7177 GB, free: 4.656 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.01857, allocations: 92.61 kB / 0.7178 GB, free: 4.566 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009047/0.01947, allocations: 0.8105 MB / 0.7186 GB, free: 3.715 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.648e-05/0.01957, allocations: 156.3 kB / 0.7187 GB, free: 3.539 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.01963, allocations: 32.48 kB / 0.7188 GB, free: 3.508 MB / 426.8 MB Notification: Performance of SimCode: time 6.21e-07/0.01963, allocations: 0 / 0.7188 GB, free: 3.508 MB / 426.8 MB Notification: Performance of Templates: time 0.1813/0.2009, allocations: 4.021 MB / 0.7227 GB, free: 36.75 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AH02_Alfentanil.Alfentanil_Helmers1984_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.769470671191812]