Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Lin2012_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.002106/0.002106, 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.00216/0.00216, allocations: 174.3 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.589/1.589, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.293/1.293, 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.N01AX07_Etomidate.Etomidate_Lin2012_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Lin2012_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Lin2012_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Lin2012_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6999 GB, free: 8.594 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.292e-05/3.469e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.59 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Lin2012_reference): time 0.00324/0.003275, allocations: 2.295 MB / 0.7021 GB, free: 6.277 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006642/0.009917, allocations: 6.53 MB / 0.7085 GB, free: 15.74 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.01017, allocations: 3.938 kB / 0.7085 GB, free: 15.73 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.01035, allocations: 27.77 kB / 0.7085 GB, free: 15.71 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.01065, allocations: 79.33 kB / 0.7086 GB, free: 15.63 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.01093, allocations: 55.81 kB / 0.7086 GB, free: 15.57 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.01134, allocations: 270.6 kB / 0.7089 GB, free: 15.31 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.01151, allocations: 40.5 kB / 0.7089 GB, free: 15.27 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.01175, allocations: 143.6 kB / 0.7091 GB, free: 15.13 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.01201, allocations: 83.72 kB / 0.7092 GB, free: 15.05 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.01205, allocations: 16 kB / 0.7092 GB, free: 15.04 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.846e-05/0.01209, allocations: 16 kB / 0.7092 GB, free: 15.02 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.01215, allocations: 39.83 kB / 0.7092 GB, free: 14.98 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.01227, allocations: 71.8 kB / 0.7093 GB, free: 14.91 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.0126, allocations: 199.4 kB / 0.7095 GB, free: 14.71 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.0126, allocations: 4 kB / 0.7095 GB, free: 14.71 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.793e-06/0.0126, allocations: 0 / 0.7095 GB, free: 14.71 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.01261, allocations: 0 / 0.7095 GB, free: 14.71 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001092/0.0137, allocations: 0.489 MB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.01375, allocations: 8.031 kB / 0.71 GB, free: 14.17 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.737e-05/0.01383, allocations: 24.8 kB / 0.71 GB, free: 14.14 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.01414, allocations: 182.4 kB / 0.7102 GB, free: 13.94 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.01417, allocations: 16.61 kB / 0.7102 GB, free: 13.92 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.01422, allocations: 16.36 kB / 0.7102 GB, free: 13.91 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.01466, allocations: 198.5 kB / 0.7104 GB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.01468, allocations: 3.953 kB / 0.7104 GB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.0147, allocations: 4 kB / 0.7104 GB, free: 13.69 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.01471, allocations: 4 kB / 0.7104 GB, free: 13.69 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.01515, allocations: 146.2 kB / 0.7105 GB, free: 13.54 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009346/0.01608, allocations: 481.5 kB / 0.711 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.01665, allocations: 180 kB / 0.7112 GB, free: 12.84 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.01688, allocations: 102.7 kB / 0.7113 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.01689, allocations: 3.938 kB / 0.7113 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004306/0.01732, allocations: 239.5 kB / 0.7115 GB, free: 12.47 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.01732, allocations: 4 kB / 0.7115 GB, free: 12.46 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.00173/0.01905, allocations: 0.6933 MB / 0.7122 GB, free: 11.71 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.01919, allocations: 144.5 kB / 0.7123 GB, free: 11.54 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.01948, allocations: 212 kB / 0.7125 GB, free: 11.32 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.01951, allocations: 33.7 kB / 0.7126 GB, free: 11.29 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.01964, allocations: 132.5 kB / 0.7127 GB, free: 11.15 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.421e-05/0.01973, allocations: 75.42 kB / 0.7128 GB, free: 11.08 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.01983, allocations: 45.7 kB / 0.7128 GB, free: 11.03 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.02004, allocations: 342.8 kB / 0.7131 GB, free: 10.68 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.02032, allocations: 137 kB / 0.7133 GB, free: 10.53 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.02066, allocations: 225.3 kB / 0.7135 GB, free: 10.27 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/0.02117, allocations: 286.3 kB / 0.7137 GB, free: 9.945 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.02117, allocations: 0 / 0.7137 GB, free: 9.945 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000709/0.02188, allocations: 396.1 kB / 0.7141 GB, free: 9.527 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.342e-05/0.02195, allocations: 63.39 kB / 0.7142 GB, free: 9.453 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.02196, allocations: 0 / 0.7142 GB, free: 9.453 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.02198, allocations: 4 kB / 0.7142 GB, free: 9.449 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.02221, allocations: 55.84 kB / 0.7142 GB, free: 9.395 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.02222, allocations: 4 kB / 0.7142 GB, free: 9.391 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.02241, allocations: 19.98 kB / 0.7143 GB, free: 9.371 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.02244, allocations: 8 kB / 0.7143 GB, free: 9.363 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: 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.0002814/0.02272, allocations: 180.4 kB / 0.7144 GB, free: 9.172 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.02276, allocations: 19.91 kB / 0.7145 GB, free: 9.152 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.409e-05/0.02282, allocations: 29.89 kB / 0.7145 GB, free: 9.121 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.02282, allocations: 3.938 kB / 0.7145 GB, free: 9.117 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.02283, allocations: 3.938 kB / 0.7145 GB, free: 9.113 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.02284, allocations: 0 / 0.7145 GB, free: 9.113 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009605/0.0238, allocations: 0.5432 MB / 0.715 GB, free: 8.523 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.0238, allocations: 4 kB / 0.715 GB, free: 8.52 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.024, allocations: 39.91 kB / 0.7151 GB, free: 8.48 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.024, allocations: 0 / 0.7151 GB, free: 8.48 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.02403, allocations: 4 kB / 0.7151 GB, free: 8.477 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.02403, allocations: 0 / 0.7151 GB, free: 8.477 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02403, allocations: 0 / 0.7151 GB, free: 8.477 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009006/0.02493, allocations: 0.4968 MB / 0.7156 GB, free: 7.945 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.02498, allocations: 23.89 kB / 0.7156 GB, free: 7.922 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.02502, allocations: 12 kB / 0.7156 GB, free: 7.91 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.02519, allocations: 15.98 kB / 0.7156 GB, free: 7.895 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.535e-05/0.02529, allocations: 19.97 kB / 0.7156 GB, free: 7.875 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.02531, allocations: 7.984 kB / 0.7156 GB, free: 7.867 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002022/0.02551, allocations: 159.4 kB / 0.7158 GB, free: 7.711 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.02551, allocations: 0 / 0.7158 GB, free: 7.711 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003144/0.02583, allocations: 52 kB / 0.7158 GB, free: 7.66 MB / 426.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.0001816/0.02601, allocations: 115.2 kB / 0.7159 GB, free: 7.539 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007254/0.02673, allocations: 383.6 kB / 0.7163 GB, free: 7.121 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02673, allocations: 4 kB / 0.7163 GB, free: 7.117 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.02703, allocations: 173 kB / 0.7165 GB, free: 6.93 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/0.02752, allocations: 70.53 kB / 0.7165 GB, free: 6.867 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.02882, allocations: 0.5664 MB / 0.7171 GB, free: 6.27 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.02896, allocations: 129.6 kB / 0.7172 GB, free: 6.121 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.02908, allocations: 29.92 kB / 0.7173 GB, free: 6.09 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.59e-05/0.02914, allocations: 20.5 kB / 0.7173 GB, free: 6.07 MB / 426.8 MB Notification: Performance of SimCode: time 6.81e-07/0.02915, allocations: 3.938 kB / 0.7173 GB, free: 6.066 MB / 426.8 MB Notification: Performance of Templates: time 0.274/0.3031, allocations: 3.324 MB / 0.7205 GB, free: 36.38 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Lin2012_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Lin2012_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Lin2012_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Lin2012_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Lin2012_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Lin2012_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate_Lin2012_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.841280959080905]