Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_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.002736/0.002736, 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.003195/0.003195, allocations: 169.9 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.716/1.716, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.3/1.3, allocations: 292.9 MB / 0.5392 GB, free: 50.19 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.N01AX10_Propofol.Propofol_Eleveld2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.6999 GB, free: 8.512 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.906e-05/4.111e-05, allocations: 7.688 kB / 0.6999 GB, free: 8.504 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference): time 0.004608/0.004649, allocations: 2.704 MB / 0.7025 GB, free: 5.781 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.008491/0.01314, allocations: 6.608 MB / 0.709 GB, free: 15.16 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.01339, allocations: 0 / 0.709 GB, free: 15.16 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.01358, allocations: 43.56 kB / 0.709 GB, free: 15.12 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.01396, allocations: 126.9 kB / 0.7092 GB, free: 15 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.01429, allocations: 79.83 kB / 0.7092 GB, free: 14.92 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005317/0.01482, allocations: 381.9 kB / 0.7096 GB, free: 14.54 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.01503, allocations: 68.77 kB / 0.7097 GB, free: 14.48 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.01536, allocations: 195.6 kB / 0.7098 GB, free: 14.29 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.01566, allocations: 119.6 kB / 0.71 GB, free: 14.17 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.371e-05/0.01572, allocations: 24 kB / 0.71 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.863e-05/0.01577, allocations: 28 kB / 0.71 GB, free: 14.12 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.01585, allocations: 63.64 kB / 0.7101 GB, free: 14.06 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.01602, allocations: 107.8 kB / 0.7102 GB, free: 13.95 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.01647, allocations: 299 kB / 0.7105 GB, free: 13.66 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.01647, allocations: 4 kB / 0.7105 GB, free: 13.66 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.764e-06/0.01647, allocations: 0 / 0.7105 GB, free: 13.66 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.01648, allocations: 7.984 kB / 0.7105 GB, free: 13.65 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.001278/0.01776, allocations: 0.5885 MB / 0.711 GB, free: 13.01 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.01781, allocations: 8.031 kB / 0.7111 GB, free: 13 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.966e-05/0.0179, allocations: 32.75 kB / 0.7111 GB, free: 12.97 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.01828, allocations: 212.7 kB / 0.7113 GB, free: 12.74 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.01831, allocations: 16.75 kB / 0.7113 GB, free: 12.72 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.01836, allocations: 24.38 kB / 0.7113 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005993/0.01896, allocations: 296.5 kB / 0.7116 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.01898, allocations: 3.953 kB / 0.7116 GB, free: 12.38 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.01901, allocations: 8 kB / 0.7116 GB, free: 12.38 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.01902, allocations: 4 kB / 0.7116 GB, free: 12.37 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005709/0.01959, allocations: 236.4 kB / 0.7118 GB, free: 12.12 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.02107, allocations: 0.6718 MB / 0.7125 GB, free: 11.41 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.02171, allocations: 246 kB / 0.7127 GB, free: 11.15 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.02202, allocations: 156.2 kB / 0.7129 GB, free: 10.98 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.02204, allocations: 4 kB / 0.7129 GB, free: 10.98 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006414/0.02268, allocations: 369.2 kB / 0.7132 GB, free: 10.57 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.02268, allocations: 0 / 0.7132 GB, free: 10.57 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.0024/0.02508, allocations: 1.076 MB / 0.7143 GB, free: 9.406 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000186/0.02527, allocations: 217.6 kB / 0.7145 GB, free: 9.145 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.02573, allocations: 245.9 kB / 0.7147 GB, free: 8.898 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.02578, allocations: 33.7 kB / 0.7148 GB, free: 8.859 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.02593, allocations: 156.8 kB / 0.7149 GB, free: 8.699 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.02605, allocations: 115.1 kB / 0.715 GB, free: 8.586 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.02618, allocations: 70.19 kB / 0.7151 GB, free: 8.508 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.02639, allocations: 346.7 kB / 0.7154 GB, free: 8.16 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.02675, allocations: 207.9 kB / 0.7156 GB, free: 7.938 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.02722, allocations: 319.1 kB / 0.7159 GB, free: 7.566 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.02793, allocations: 439.1 kB / 0.7163 GB, free: 7.07 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.02793, allocations: 0 / 0.7163 GB, free: 7.07 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000996/0.02893, allocations: 0.5421 MB / 0.7169 GB, free: 6.484 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.02903, allocations: 93.92 kB / 0.717 GB, free: 6.375 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.02904, allocations: 4 kB / 0.717 GB, free: 6.371 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.02907, allocations: 7.984 kB / 0.717 GB, free: 6.363 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.02941, allocations: 83.83 kB / 0.7171 GB, free: 6.281 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.02943, allocations: 4 kB / 0.7171 GB, free: 6.277 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.02967, allocations: 19.98 kB / 0.7171 GB, free: 6.258 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.02972, allocations: 19.94 kB / 0.7171 GB, free: 6.238 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.0003255/0.03004, allocations: 231 kB / 0.7173 GB, free: 5.988 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.0301, allocations: 31.81 kB / 0.7173 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.901e-05/0.03018, allocations: 30.95 kB / 0.7174 GB, free: 5.926 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.03019, allocations: 4 kB / 0.7174 GB, free: 5.922 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.03019, allocations: 0 / 0.7174 GB, free: 5.922 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.0302, allocations: 3.984 kB / 0.7174 GB, free: 5.918 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.03182, allocations: 0.7717 MB / 0.7181 GB, free: 5.086 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.03182, allocations: 0 / 0.7181 GB, free: 5.086 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.03212, allocations: 51.97 kB / 0.7182 GB, free: 5.035 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.03212, allocations: 0 / 0.7182 GB, free: 5.035 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.03215, allocations: 15.98 kB / 0.7182 GB, free: 5.02 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.03215, allocations: 0 / 0.7182 GB, free: 5.02 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.03216, allocations: 7.875 kB / 0.7182 GB, free: 5.012 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.03339, allocations: 0.7192 MB / 0.7189 GB, free: 4.234 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.03344, allocations: 23.8 kB / 0.7189 GB, free: 4.211 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.0335, allocations: 12.06 kB / 0.7189 GB, free: 4.199 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.03371, allocations: 19.98 kB / 0.719 GB, free: 4.18 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.03383, allocations: 35.89 kB / 0.719 GB, free: 4.145 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.03385, allocations: 11.98 kB / 0.719 GB, free: 4.133 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002327/0.03408, allocations: 181.2 kB / 0.7192 GB, free: 3.957 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.03408, allocations: 0 / 0.7192 GB, free: 3.957 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003833/0.03447, allocations: 84 kB / 0.7193 GB, free: 3.875 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.0002058/0.03467, allocations: 122.9 kB / 0.7194 GB, free: 3.75 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.2347/0.2693, allocations: 0.5633 MB / 0.7199 GB, free: 37.16 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.2694, allocations: 2.062 kB / 0.7199 GB, free: 37.16 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004446/0.2698, allocations: 296.1 kB / 0.7202 GB, free: 36.98 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006781/0.2705, allocations: 91.84 kB / 0.7203 GB, free: 36.98 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.272, allocations: 0.7972 MB / 0.7211 GB, free: 36.58 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.2722, allocations: 159.2 kB / 0.7212 GB, free: 36.5 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.2724, allocations: 34.39 kB / 0.7213 GB, free: 36.5 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.2725, allocations: 27.98 kB / 0.7213 GB, free: 36.48 MB / 426.8 MB Notification: Performance of SimCode: time 1.914e-06/0.2725, allocations: 3.719 kB / 0.7213 GB, free: 36.48 MB / 426.8 MB Notification: Performance of Templates: time 0.009817/0.2823, allocations: 4.552 MB / 0.7257 GB, free: 36.06 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.03671841416508]