Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_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.002563/0.002563, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002809/0.002809, allocations: 220.5 kB / 22.25 MB, free: 3.707 MB / 13.93 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.766/1.766, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.462/1.462, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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.N01AX07_Etomidate.Etomidate_van1983_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=162000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=162000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004101/0.004101, allocations: 73.55 kB / 0.775 GB, free: 14.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.18, allocations: 73.99 MB / 0.8472 GB, free: 4.934 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference): time 0.004166/0.1842, allocations: 2.295 MB / 0.8495 GB, free: 2.641 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4001/0.5843, allocations: 6.527 MB / 0.8558 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002859/0.5845, allocations: 1.703 kB / 0.8558 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.5847, allocations: 29.72 kB / 0.8559 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.585, allocations: 81.81 kB / 0.8559 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.5853, allocations: 51.58 kB / 0.856 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.5856, allocations: 262.8 kB / 0.8562 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.5857, allocations: 34.02 kB / 0.8563 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.5859, allocations: 99.5 kB / 0.8564 GB, free: 22 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.5861, allocations: 96.56 kB / 0.8565 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.5862, allocations: 16.38 kB / 0.8565 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.364e-05/0.5862, allocations: 16.28 kB / 0.8565 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.5862, allocations: 40.19 kB / 0.8565 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.5864, allocations: 94.08 kB / 0.8566 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.5866, allocations: 201.7 kB / 0.8568 GB, free: 21.91 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5867, allocations: 1.031 kB / 0.8568 GB, free: 21.91 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5867, allocations: 0 / 0.8568 GB, free: 21.91 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.5867, allocations: 0.5 kB / 0.8568 GB, free: 21.91 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008772/0.5875, allocations: 494.8 kB / 0.8573 GB, free: 21.51 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.5876, allocations: 9.156 kB / 0.8573 GB, free: 21.51 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.5876, allocations: 25.94 kB / 0.8573 GB, free: 21.5 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.5879, allocations: 189.1 kB / 0.8575 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.5879, allocations: 14.05 kB / 0.8575 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.5879, allocations: 18.64 kB / 0.8575 GB, free: 21.33 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.5883, allocations: 188.2 kB / 0.8577 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.5883, allocations: 0.6562 kB / 0.8577 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.5884, allocations: 6.875 kB / 0.8577 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.5884, allocations: 2.5 kB / 0.8577 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.5887, allocations: 152.2 kB / 0.8579 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007761/0.5895, allocations: 479.4 kB / 0.8583 GB, free: 20.92 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.59, allocations: 178.1 kB / 0.8585 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.5902, allocations: 88.28 kB / 0.8586 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.5902, allocations: 2.469 kB / 0.8586 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/0.5906, allocations: 235.5 kB / 0.8588 GB, free: 20.68 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.5906, allocations: 0.6875 kB / 0.8588 GB, free: 20.68 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001442/0.592, allocations: 0.7016 MB / 0.8595 GB, free: 20.32 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.5921, allocations: 135.5 kB / 0.8596 GB, free: 20.16 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.5923, allocations: 218.2 kB / 0.8598 GB, free: 20.06 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.5923, allocations: 32.67 kB / 0.8599 GB, free: 20.03 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.5924, allocations: 132.8 kB / 0.86 GB, free: 19.93 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.263e-05/0.5924, allocations: 73.36 kB / 0.8601 GB, free: 19.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.5925, allocations: 55.88 kB / 0.8601 GB, free: 19.87 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.5926, allocations: 333.8 kB / 0.8604 GB, free: 19.55 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.5928, allocations: 144.9 kB / 0.8606 GB, free: 19.48 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.5931, allocations: 228.4 kB / 0.8608 GB, free: 19.31 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.5934, allocations: 276.3 kB / 0.861 GB, free: 19.15 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5934, allocations: 3.938 kB / 0.861 GB, free: 19.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005453/0.594, allocations: 391.9 kB / 0.8614 GB, free: 18.97 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/0.594, allocations: 60.72 kB / 0.8615 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.594, allocations: 7.062 kB / 0.8615 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.5941, allocations: 3.438 kB / 0.8615 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.5943, allocations: 48.33 kB / 0.8615 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5943, allocations: 3.594 kB / 0.8615 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.5945, allocations: 27.88 kB / 0.8616 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.5945, allocations: 7.5 kB / 0.8616 GB, free: 18.9 MB / 490.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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0002057/0.5947, allocations: 179.4 kB / 0.8617 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.5947, allocations: 21.14 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.364e-05/0.5948, allocations: 25.44 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5948, allocations: 1.281 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.5948, allocations: 2.031 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.5948, allocations: 9.734 kB / 0.8618 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007655/0.5956, allocations: 0.5392 MB / 0.8623 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5956, allocations: 0 / 0.8623 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.5958, allocations: 41.16 kB / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5958, allocations: 3.547 kB / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.5958, allocations: 6.922 kB / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.5958, allocations: 7.875 kB / 0.8624 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5958, allocations: 1.125 kB / 0.8624 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006784/0.5965, allocations: 498.5 kB / 0.8629 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.5965, allocations: 23.06 kB / 0.8629 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.5965, allocations: 6.438 kB / 0.8629 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.5967, allocations: 19.05 kB / 0.8629 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/0.5968, allocations: 19.94 kB / 0.8629 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.5968, allocations: 7.391 kB / 0.8629 GB, free: 18.15 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001488/0.597, allocations: 159.8 kB / 0.8631 GB, free: 18.07 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.597, allocations: 4.969 kB / 0.8631 GB, free: 18.07 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003089/0.5973, allocations: 51.53 kB / 0.8631 GB, free: 18.07 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001397/0.5974, allocations: 119.7 kB / 0.8633 GB, free: 17.98 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005442/0.598, allocations: 381.9 kB / 0.8636 GB, free: 17.75 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.598, allocations: 0.5625 kB / 0.8636 GB, free: 17.75 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.5982, allocations: 170.8 kB / 0.8638 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.5987, allocations: 69.86 kB / 0.8638 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.6, allocations: 0.681 MB / 0.8645 GB, free: 17.32 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.6002, allocations: 131.6 kB / 0.8646 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.6003, allocations: 21.45 kB / 0.8647 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.6004, allocations: 25.42 kB / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of SimCode: time 5.21e-07/0.6004, allocations: 0 / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of Templates: time 0.009965/0.6103, allocations: 3.633 MB / 0.8682 GB, free: 16.91 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_van1983_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.9813807820901275]