Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.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.001859/0.001859, 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.001972/0.001972, allocations: 173.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.685/1.685, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.35/1.35, allocations: 293 MB / 0.5392 GB, free: 50.15 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 0.6999 GB, free: 8.559 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.228e-05, allocations: 8.812 kB / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate): time 0.002817/0.002839, allocations: 2.717 MB / 0.7026 GB, free: 5.812 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005338/0.008177, allocations: 6.611 MB / 0.7091 GB, free: 15.19 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.008349, allocations: 4 kB / 0.7091 GB, free: 15.19 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.008498, allocations: 39.56 kB / 0.7091 GB, free: 15.15 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.008814, allocations: 134.9 kB / 0.7092 GB, free: 15.02 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.009073, allocations: 67.84 kB / 0.7093 GB, free: 14.95 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.009544, allocations: 393.9 kB / 0.7097 GB, free: 14.56 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.00972, allocations: 60.81 kB / 0.7097 GB, free: 14.51 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.009998, allocations: 199.6 kB / 0.7099 GB, free: 14.31 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.01028, allocations: 123.6 kB / 0.71 GB, free: 14.19 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.169e-05/0.01034, allocations: 24 kB / 0.7101 GB, free: 14.17 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.417e-05/0.01039, allocations: 24 kB / 0.7101 GB, free: 14.14 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.01046, allocations: 55.7 kB / 0.7101 GB, free: 14.09 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.01061, allocations: 123.8 kB / 0.7103 GB, free: 13.97 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.01101, allocations: 291 kB / 0.7105 GB, free: 13.68 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01101, allocations: 0 / 0.7105 GB, free: 13.68 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.123e-06/0.01101, allocations: 0 / 0.7105 GB, free: 13.68 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.01102, allocations: 0 / 0.7105 GB, free: 13.68 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.001155/0.01217, allocations: 0.5924 MB / 0.7111 GB, free: 13.04 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.01221, allocations: 8.031 kB / 0.7111 GB, free: 13.03 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/0.0123, allocations: 40.73 kB / 0.7112 GB, free: 12.99 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.01262, allocations: 212.7 kB / 0.7114 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.01265, allocations: 16.73 kB / 0.7114 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.0127, allocations: 24.38 kB / 0.7114 GB, free: 12.72 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/0.01325, allocations: 292.5 kB / 0.7117 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.01327, allocations: 3.953 kB / 0.7117 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.01329, allocations: 8 kB / 0.7117 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.0133, allocations: 4 kB / 0.7117 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.01381, allocations: 236.4 kB / 0.7119 GB, free: 12.15 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.01509, allocations: 0.6756 MB / 0.7126 GB, free: 11.44 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.0157, allocations: 234 kB / 0.7128 GB, free: 11.18 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.01598, allocations: 164.1 kB / 0.713 GB, free: 11.01 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.016, allocations: 4 kB / 0.713 GB, free: 11.01 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005306/0.01653, allocations: 361 kB / 0.7133 GB, free: 10.61 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 3.867e-06/0.01653, allocations: 3.984 kB / 0.7133 GB, free: 10.61 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002196/0.01873, allocations: 1.083 MB / 0.7144 GB, free: 9.43 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001666/0.01889, allocations: 221.6 kB / 0.7146 GB, free: 9.164 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.0192, allocations: 237.9 kB / 0.7148 GB, free: 8.926 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.01924, allocations: 33.7 kB / 0.7148 GB, free: 8.887 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.01939, allocations: 168.8 kB / 0.715 GB, free: 8.715 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.0195, allocations: 107.1 kB / 0.7151 GB, free: 8.609 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.01964, allocations: 70.19 kB / 0.7152 GB, free: 8.531 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.01985, allocations: 346.8 kB / 0.7155 GB, free: 8.184 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.02022, allocations: 215.9 kB / 0.7157 GB, free: 7.953 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.02064, allocations: 311.1 kB / 0.716 GB, free: 7.59 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000669/0.02131, allocations: 431.4 kB / 0.7164 GB, free: 7.102 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02131, allocations: 0 / 0.7164 GB, free: 7.102 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009072/0.02222, allocations: 0.5538 MB / 0.7169 GB, free: 6.504 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.894e-05/0.0223, allocations: 89.09 kB / 0.717 GB, free: 6.398 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.02231, allocations: 4 kB / 0.717 GB, free: 6.395 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.02233, allocations: 7.938 kB / 0.717 GB, free: 6.387 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.02264, allocations: 75.89 kB / 0.7171 GB, free: 6.312 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.02265, allocations: 4 kB / 0.7171 GB, free: 6.309 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.02287, allocations: 19.98 kB / 0.7171 GB, free: 6.289 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.02291, allocations: 19.98 kB / 0.7172 GB, free: 6.27 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.000282/0.02319, allocations: 231.1 kB / 0.7174 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.02325, allocations: 35.81 kB / 0.7174 GB, free: 5.984 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.132e-05/0.02332, allocations: 30.95 kB / 0.7174 GB, free: 5.953 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.02332, allocations: 4 kB / 0.7174 GB, free: 5.949 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.02333, allocations: 4 kB / 0.7175 GB, free: 5.945 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.02334, allocations: 0 / 0.7175 GB, free: 5.945 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.02458, allocations: 0.7716 MB / 0.7182 GB, free: 5.113 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.02458, allocations: 0 / 0.7182 GB, free: 5.113 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.02486, allocations: 51.97 kB / 0.7183 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.02486, allocations: 0 / 0.7183 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.02489, allocations: 11.98 kB / 0.7183 GB, free: 5.051 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.02489, allocations: 0 / 0.7183 GB, free: 5.051 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.0249, allocations: 7.875 kB / 0.7183 GB, free: 5.043 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.02605, allocations: 0.7192 MB / 0.719 GB, free: 4.266 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.02611, allocations: 31.8 kB / 0.719 GB, free: 4.234 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.02616, allocations: 12.06 kB / 0.719 GB, free: 4.223 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.02637, allocations: 15.98 kB / 0.719 GB, free: 4.207 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.02647, allocations: 31.89 kB / 0.7191 GB, free: 4.176 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.0265, allocations: 19.92 kB / 0.7191 GB, free: 4.156 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001987/0.02669, allocations: 177.2 kB / 0.7193 GB, free: 3.984 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02669, allocations: 0 / 0.7193 GB, free: 3.984 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003701/0.02706, allocations: 84 kB / 0.7193 GB, free: 3.902 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.0001645/0.02723, allocations: 126.9 kB / 0.7195 GB, free: 3.773 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.2761/0.3033, allocations: 0.5577 MB / 0.72 GB, free: 37.08 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.3033, allocations: 0 / 0.72 GB, free: 37.08 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.3038, allocations: 301 kB / 0.7203 GB, free: 36.89 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008768/0.3047, allocations: 85.02 kB / 0.7204 GB, free: 36.89 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.3065, allocations: 0.7992 MB / 0.7211 GB, free: 36.48 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.3067, allocations: 159.4 kB / 0.7213 GB, free: 36.41 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.3069, allocations: 37.69 kB / 0.7213 GB, free: 36.4 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.913e-05/0.307, allocations: 28 kB / 0.7214 GB, free: 36.39 MB / 426.8 MB Notification: Performance of SimCode: time 1.102e-06/0.307, allocations: 0 / 0.7214 GB, free: 36.39 MB / 426.8 MB Notification: Performance of Templates: time 0.01187/0.3189, allocations: 4.546 MB / 0.7258 GB, free: 35.96 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.099990400020033]