Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol.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.002162/0.002162, 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.002301/0.002301, 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.669/1.669, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.326/1.326, allocations: 293 MB / 0.5392 GB, free: 49.81 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=780,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=780,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.7 GB, free: 8.469 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.529e-05/3.773e-05, allocations: 6.219 kB / 0.7 GB, free: 8.461 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol): time 0.005833/0.005871, allocations: 3.248 MB / 0.7032 GB, free: 5.191 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.007938, allocations: 0.7753 MB / 0.7039 GB, free: 4.414 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002802/0.008218, allocations: 7.938 kB / 0.7039 GB, free: 4.406 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.008485, allocations: 51.48 kB / 0.704 GB, free: 4.355 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005778/0.009063, allocations: 170.5 kB / 0.7041 GB, free: 4.188 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.009546, allocations: 91.81 kB / 0.7042 GB, free: 4.098 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006779/0.01022, allocations: 0.54 MB / 0.7048 GB, free: 3.555 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.01053, allocations: 91.39 kB / 0.7048 GB, free: 3.461 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.01096, allocations: 279.3 kB / 0.7051 GB, free: 3.188 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004536/0.01141, allocations: 163.5 kB / 0.7053 GB, free: 3.027 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 8.489e-05/0.0115, allocations: 32 kB / 0.7053 GB, free: 2.996 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-05/0.01159, allocations: 32 kB / 0.7053 GB, free: 2.965 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 9.439e-05/0.01168, allocations: 75.67 kB / 0.7054 GB, free: 2.891 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.01193, allocations: 163.6 kB / 0.7056 GB, free: 2.73 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006493/0.01258, allocations: 398.8 kB / 0.7059 GB, free: 2.34 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.01258, allocations: 0 / 0.7059 GB, free: 2.34 MB / 410.8 MB Notification: Performance of FrontEnd: time 3.126e-06/0.01259, allocations: 0 / 0.7059 GB, free: 2.34 MB / 410.8 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.0126, allocations: 4 kB / 0.7059 GB, free: 2.336 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001656/0.01425, allocations: 0.7192 MB / 0.7066 GB, free: 1.562 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.01431, allocations: 11.89 kB / 0.7067 GB, free: 1.551 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.01445, allocations: 44.7 kB / 0.7067 GB, free: 1.508 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.01494, allocations: 248.5 kB / 0.7069 GB, free: 1.242 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.01498, allocations: 25.03 kB / 0.707 GB, free: 1.219 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.443e-05/0.01506, allocations: 32.38 kB / 0.707 GB, free: 1.188 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000844/0.0159, allocations: 398.5 kB / 0.7074 GB, free: 0.7734 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.01594, allocations: 7.953 kB / 0.7074 GB, free: 0.7656 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/0.01598, allocations: 11.98 kB / 0.7074 GB, free: 0.7539 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.01599, allocations: 8 kB / 0.7074 GB, free: 0.7461 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008264/0.01682, allocations: 331.5 kB / 0.7077 GB, free: 412 kB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/0.01923, allocations: 0.8842 MB / 0.7086 GB, free: 15.46 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.02041, allocations: 324.9 kB / 0.7089 GB, free: 15.11 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/0.02099, allocations: 214.2 kB / 0.7091 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.02102, allocations: 7.984 kB / 0.7091 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.02209, allocations: 499 kB / 0.7096 GB, free: 14.32 MB / 426.8 MB Notification: Performance of pre-optimization done (n=46): time 2.845e-06/0.0221, allocations: 0 / 0.7096 GB, free: 14.32 MB / 426.8 MB Notification: Performance of matching and sorting (n=49): time 0.004488/0.02659, allocations: 1.483 MB / 0.711 GB, free: 12.71 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003269/0.02691, allocations: 306.5 kB / 0.7113 GB, free: 12.34 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005464/0.02746, allocations: 284.1 kB / 0.7116 GB, free: 12.06 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 8.213e-05/0.02754, allocations: 37.7 kB / 0.7116 GB, free: 12.02 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.02778, allocations: 184.9 kB / 0.7118 GB, free: 11.83 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.02804, allocations: 166.7 kB / 0.712 GB, free: 11.67 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.0283, allocations: 94.34 kB / 0.712 GB, free: 11.57 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0003173/0.02862, allocations: 354.8 kB / 0.7124 GB, free: 11.21 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007238/0.02934, allocations: 290.1 kB / 0.7127 GB, free: 10.9 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000883/0.03022, allocations: 414.8 kB / 0.7131 GB, free: 10.41 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/0.03307, allocations: 1.033 MB / 0.7141 GB, free: 9.238 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.03308, allocations: 0 / 0.7141 GB, free: 9.238 MB / 426.8 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001987/0.03507, allocations: 0.7371 MB / 0.7148 GB, free: 8.445 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.03523, allocations: 123.6 kB / 0.7149 GB, free: 8.301 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.03525, allocations: 7.938 kB / 0.7149 GB, free: 8.293 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.179e-05/0.03529, allocations: 4 kB / 0.7149 GB, free: 8.289 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007135/0.036, allocations: 111.8 kB / 0.715 GB, free: 8.18 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/0.03602, allocations: 8 kB / 0.715 GB, free: 8.172 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/0.03654, allocations: 32.25 kB / 0.7151 GB, free: 8.141 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.779e-05/0.03661, allocations: 24 kB / 0.7151 GB, free: 8.117 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real effectSite.Ce:VARIABLE(min = -1e-9 start = effectSite.Ce0 unit = \"kg/m3\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 29 (peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,peripheral2.rising,$PRE.peripheral2.rising,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 4 * 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.0005903/0.0372, allocations: 274 kB / 0.7153 GB, free: 7.82 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.03732, allocations: 39.77 kB / 0.7154 GB, free: 7.781 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.03746, allocations: 51.56 kB / 0.7154 GB, free: 7.73 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.03748, allocations: 8 kB / 0.7154 GB, free: 7.723 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.03749, allocations: 4 kB / 0.7154 GB, free: 7.719 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.03749, allocations: 0 / 0.7154 GB, free: 7.719 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/0.04019, allocations: 1.015 MB / 0.7164 GB, free: 6.625 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.0402, allocations: 0 / 0.7164 GB, free: 6.625 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/0.04085, allocations: 75.89 kB / 0.7165 GB, free: 6.551 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.04086, allocations: 4 kB / 0.7165 GB, free: 6.547 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.22e-05/0.04092, allocations: 15.98 kB / 0.7165 GB, free: 6.531 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.04093, allocations: 4 kB / 0.7165 GB, free: 6.527 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.04093, allocations: 4 kB / 0.7165 GB, free: 6.523 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.04339, allocations: 0.9722 MB / 0.7175 GB, free: 5.48 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.04352, allocations: 39.73 kB / 0.7175 GB, free: 5.441 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.04364, allocations: 16 kB / 0.7175 GB, free: 5.426 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.04404, allocations: 19.98 kB / 0.7176 GB, free: 5.406 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/0.04425, allocations: 43.92 kB / 0.7176 GB, free: 5.363 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.04431, allocations: 12 kB / 0.7176 GB, free: 5.352 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0004127/0.04472, allocations: 203.3 kB / 0.7178 GB, free: 5.156 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.01e-07/0.04472, allocations: 4 kB / 0.7178 GB, free: 5.152 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0008946/0.04561, allocations: 127.9 kB / 0.7179 GB, free: 5.027 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC,peripheral2.C,peripheral2.AUC,effectSite.Ce) * Number of discrete variables: 18 ($whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 16 (periodicDose.pulse.count,peripheral2.Cmin,$whenCondition6,peripheral2.Cmax,$whenCondition5,peripheral2.rising,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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 3 * 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.0003341/0.04595, allocations: 135.4 kB / 0.7181 GB, free: 4.887 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.04779, allocations: 0.7737 MB / 0.7188 GB, free: 4.023 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.04779, allocations: 4 kB / 0.7188 GB, free: 4.02 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009219/0.04872, allocations: 439.6 kB / 0.7192 GB, free: 3.535 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.04987, allocations: 120.7 kB / 0.7194 GB, free: 3.414 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2284/0.2783, allocations: 1.07 MB / 0.7204 GB, free: 36.15 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.2785, allocations: 202 kB / 0.7206 GB, free: 36.08 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0002448/0.2788, allocations: 46.47 kB / 0.7206 GB, free: 36.07 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.864e-05/0.2789, allocations: 37.12 kB / 0.7207 GB, free: 36.07 MB / 426.8 MB Notification: Performance of SimCode: time 1.453e-06/0.2789, allocations: 0 / 0.7207 GB, free: 36.07 MB / 426.8 MB Notification: Performance of Templates: time 0.01275/0.2916, allocations: 6.025 MB / 0.7266 GB, free: 35.64 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX10_Propofol.Propofol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.986223737942055]