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.0009781/0.0009781, 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.00103/0.00103, 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.8931/0.8931, allocations: 177.1 MB / 203.5 MB, free: 5.773 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.7525/0.7525, allocations: 291.2 MB / 0.5382 GB, free: 51.73 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.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 1.393e-06/1.393e-06, allocations: 0 / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.687e-05, allocations: 9.234 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference): time 0.00244/0.002467, allocations: 2.707 MB / 0.7 GB, free: 7.652 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004347/0.006814, allocations: 6.608 MB / 0.7065 GB, free: 1.035 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.007005, allocations: 4 kB / 0.7065 GB, free: 1.031 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.007139, allocations: 39.56 kB / 0.7065 GB, free: 0.9922 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.007367, allocations: 123 kB / 0.7067 GB, free: 0.8711 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.00759, allocations: 71.84 kB / 0.7067 GB, free: 0.8008 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.007821, allocations: 389.8 kB / 0.7071 GB, free: 428 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.007966, allocations: 64.81 kB / 0.7072 GB, free: 368 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.008116, allocations: 207.5 kB / 0.7074 GB, free: 160 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.008301, allocations: 119.6 kB / 0.7075 GB, free: 40 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.008333, allocations: 24 kB / 0.7075 GB, free: 16 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.172e-05/0.008375, allocations: 24.05 kB / 0.7075 GB, free: 15.99 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.008415, allocations: 55.72 kB / 0.7076 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.871e-05/0.008514, allocations: 115.7 kB / 0.7077 GB, free: 15.82 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.008783, allocations: 295.1 kB / 0.708 GB, free: 15.54 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.008787, allocations: 0 / 0.708 GB, free: 15.54 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.232e-06/0.008788, allocations: 4 kB / 0.708 GB, free: 15.53 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.008794, allocations: 0 / 0.708 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.0008617/0.009656, allocations: 0.5885 MB / 0.7085 GB, free: 14.89 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.009696, allocations: 12.03 kB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.009757, allocations: 32.75 kB / 0.7086 GB, free: 14.85 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.009984, allocations: 216.7 kB / 0.7088 GB, free: 14.61 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.01, allocations: 16.73 kB / 0.7088 GB, free: 14.6 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.01004, allocations: 28.38 kB / 0.7088 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.01039, allocations: 296.5 kB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.0104, allocations: 3.953 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.01042, allocations: 8 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.01043, allocations: 4 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.0107, allocations: 232.4 kB / 0.7094 GB, free: 14 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000829/0.01153, allocations: 0.6718 MB / 0.71 GB, free: 13.29 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.01195, allocations: 246.6 kB / 0.7102 GB, free: 13.02 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.01211, allocations: 152.4 kB / 0.7104 GB, free: 12.86 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.01212, allocations: 0 / 0.7104 GB, free: 12.86 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003338/0.01245, allocations: 357.5 kB / 0.7107 GB, free: 12.46 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.01245, allocations: 0 / 0.7107 GB, free: 12.46 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001523/0.01398, allocations: 1.091 MB / 0.7118 GB, free: 11.28 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.01406, allocations: 225.6 kB / 0.712 GB, free: 11.01 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.01425, allocations: 241.9 kB / 0.7122 GB, free: 10.77 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.01427, allocations: 37.64 kB / 0.7123 GB, free: 10.73 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.432e-05/0.01435, allocations: 160.8 kB / 0.7124 GB, free: 10.56 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/0.01441, allocations: 115.1 kB / 0.7125 GB, free: 10.45 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.01449, allocations: 74.19 kB / 0.7126 GB, free: 10.37 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.01459, allocations: 338.8 kB / 0.7129 GB, free: 10.03 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.01479, allocations: 211.9 kB / 0.7131 GB, free: 9.801 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.01501, allocations: 307.2 kB / 0.7134 GB, free: 9.441 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.01538, allocations: 439 kB / 0.7138 GB, free: 8.945 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01538, allocations: 0 / 0.7138 GB, free: 8.945 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005057/0.01589, allocations: 0.5497 MB / 0.7144 GB, free: 8.352 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.617e-05/0.01594, allocations: 93.09 kB / 0.7145 GB, free: 8.242 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.01595, allocations: 4.344 kB / 0.7145 GB, free: 8.238 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.01597, allocations: 8 kB / 0.7145 GB, free: 8.23 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.01615, allocations: 79.83 kB / 0.7146 GB, free: 8.152 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.01616, allocations: 8 kB / 0.7146 GB, free: 8.145 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.01628, allocations: 15.98 kB / 0.7146 GB, free: 8.129 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.0163, allocations: 23.98 kB / 0.7146 GB, free: 8.105 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.0002015/0.0165, allocations: 215.1 kB / 0.7148 GB, free: 7.871 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.01653, allocations: 35.81 kB / 0.7148 GB, free: 7.836 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.01657, allocations: 30.95 kB / 0.7149 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01658, allocations: 4 kB / 0.7149 GB, free: 7.801 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.01658, allocations: 3.938 kB / 0.7149 GB, free: 7.797 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01659, allocations: 0 / 0.7149 GB, free: 7.797 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007407/0.01733, allocations: 0.7561 MB / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01733, allocations: 7.984 kB / 0.7156 GB, free: 6.973 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.01748, allocations: 55.91 kB / 0.7157 GB, free: 6.918 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.01749, allocations: 4 kB / 0.7157 GB, free: 6.914 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.0175, allocations: 8 kB / 0.7157 GB, free: 6.906 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.01751, allocations: 7.984 kB / 0.7157 GB, free: 6.898 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01751, allocations: 3.938 kB / 0.7157 GB, free: 6.895 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.01816, allocations: 0.7268 MB / 0.7164 GB, free: 6.109 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.01819, allocations: 27.8 kB / 0.7164 GB, free: 6.082 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.01823, allocations: 8.062 kB / 0.7164 GB, free: 6.074 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.01833, allocations: 28.11 kB / 0.7165 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.01841, allocations: 31.89 kB / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.01843, allocations: 8 kB / 0.7165 GB, free: 6.008 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001204/0.01855, allocations: 181.2 kB / 0.7167 GB, free: 5.832 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.41e-07/0.01855, allocations: 3.938 kB / 0.7167 GB, free: 5.828 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002405/0.01879, allocations: 88 kB / 0.7168 GB, free: 5.742 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.0001202/0.01891, allocations: 126.9 kB / 0.7169 GB, free: 5.613 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004803/0.01939, allocations: 0.5609 MB / 0.7174 GB, free: 4.984 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01939, allocations: 4 kB / 0.7174 GB, free: 4.98 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.01961, allocations: 309.8 kB / 0.7177 GB, free: 4.645 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.01999, allocations: 84.62 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.001313/0.0213, allocations: 0.8125 MB / 0.7186 GB, free: 3.711 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.636e-05/0.02139, allocations: 152.3 kB / 0.7188 GB, free: 3.539 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.02146, allocations: 36.5 kB / 0.7188 GB, free: 3.504 MB / 426.8 MB Notification: Performance of SimCode: time 1.142e-06/0.02146, allocations: 0 / 0.7188 GB, free: 3.504 MB / 426.8 MB Notification: Performance of Templates: time 0.1794/0.2008, allocations: 4.018 MB / 0.7227 GB, free: 36.79 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol_Eleveld2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.738434164784849]