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.0009633/0.0009633, 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.0009628/0.0009628, 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.8818/0.8818, 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.7126/0.7126, allocations: 291.1 MB / 0.5382 GB, free: 51.79 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.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 2.555e-06/2.555e-06, allocations: 0 / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.349e-05/3.605e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.35 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate): time 0.003745/0.003781, allocations: 2.719 MB / 0.7 GB, free: 7.613 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006835/0.01062, allocations: 6.608 MB / 0.7065 GB, free: 0.9961 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.01092, allocations: 0 / 0.7065 GB, free: 0.9961 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.0111, allocations: 43.58 kB / 0.7065 GB, free: 0.9531 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.01147, allocations: 123 kB / 0.7067 GB, free: 0.832 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.01179, allocations: 75.78 kB / 0.7067 GB, free: 0.7578 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.01216, allocations: 397.8 kB / 0.7071 GB, free: 376 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.01234, allocations: 52.89 kB / 0.7072 GB, free: 328 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.01257, allocations: 207.5 kB / 0.7074 GB, free: 120 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.01282, allocations: 115.6 kB / 0.7075 GB, free: 4 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 6.785e-05/0.01289, allocations: 28.03 kB / 0.7075 GB, free: 15.97 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.624e-05/0.01293, allocations: 24 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.01299, allocations: 55.7 kB / 0.7076 GB, free: 15.9 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.01312, allocations: 119.7 kB / 0.7077 GB, free: 15.78 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003734/0.0135, allocations: 295.1 kB / 0.708 GB, free: 15.49 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.0135, allocations: 0 / 0.708 GB, free: 15.49 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.743e-06/0.0135, allocations: 0 / 0.708 GB, free: 15.49 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.01351, allocations: 0 / 0.708 GB, free: 15.49 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.00102/0.01453, allocations: 0.5925 MB / 0.7085 GB, free: 14.85 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.01458, allocations: 8.031 kB / 0.7086 GB, free: 14.84 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.367e-05/0.01466, allocations: 36.75 kB / 0.7086 GB, free: 14.8 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.01496, allocations: 216.7 kB / 0.7088 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.01499, allocations: 20.75 kB / 0.7088 GB, free: 14.55 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.01504, allocations: 24.36 kB / 0.7088 GB, free: 14.53 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.01548, allocations: 292.5 kB / 0.7091 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.0155, allocations: 3.953 kB / 0.7091 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.01552, allocations: 4 kB / 0.7091 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.01553, allocations: 8 kB / 0.7091 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.01593, allocations: 240.4 kB / 0.7094 GB, free: 13.95 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.01696, allocations: 0.6718 MB / 0.71 GB, free: 13.24 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.0175, allocations: 245 kB / 0.7103 GB, free: 12.98 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.01772, allocations: 152.4 kB / 0.7104 GB, free: 12.82 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.01774, allocations: 4 kB / 0.7104 GB, free: 12.81 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004329/0.01817, allocations: 361.5 kB / 0.7107 GB, free: 12.41 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.895e-06/0.01817, allocations: 0 / 0.7107 GB, free: 12.41 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001879/0.02005, allocations: 1.091 MB / 0.7118 GB, free: 11.23 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.02016, allocations: 221.6 kB / 0.712 GB, free: 10.96 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.02042, allocations: 241.9 kB / 0.7123 GB, free: 10.72 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.02045, allocations: 37.7 kB / 0.7123 GB, free: 10.68 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.02056, allocations: 160.8 kB / 0.7124 GB, free: 10.52 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.037e-05/0.02065, allocations: 115.1 kB / 0.7126 GB, free: 10.4 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.02076, allocations: 70.19 kB / 0.7126 GB, free: 10.32 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.02087, allocations: 346.8 kB / 0.7129 GB, free: 9.977 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.02119, allocations: 215.9 kB / 0.7132 GB, free: 9.746 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.02153, allocations: 311.1 kB / 0.7135 GB, free: 9.383 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005291/0.02206, allocations: 427.3 kB / 0.7139 GB, free: 8.898 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.02206, allocations: 0 / 0.7139 GB, free: 8.898 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007761/0.02283, allocations: 0.5499 MB / 0.7144 GB, free: 8.305 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.414e-05/0.0229, allocations: 93.09 kB / 0.7145 GB, free: 8.195 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.02291, allocations: 0 / 0.7145 GB, free: 8.195 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.02293, allocations: 8 kB / 0.7145 GB, free: 8.188 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.02321, allocations: 79.83 kB / 0.7146 GB, free: 8.109 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.02322, allocations: 4 kB / 0.7146 GB, free: 8.105 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.02342, allocations: 23.98 kB / 0.7146 GB, free: 8.082 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.02345, allocations: 16 kB / 0.7146 GB, free: 8.066 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.0002679/0.02372, allocations: 227.2 kB / 0.7148 GB, free: 7.82 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.02377, allocations: 31.81 kB / 0.7149 GB, free: 7.789 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.02383, allocations: 34.95 kB / 0.7149 GB, free: 7.754 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.02383, allocations: 4 kB / 0.7149 GB, free: 7.75 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.02384, allocations: 0 / 0.7149 GB, free: 7.75 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.02384, allocations: 0 / 0.7149 GB, free: 7.75 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.02492, allocations: 0.76 MB / 0.7156 GB, free: 6.93 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02493, allocations: 4 kB / 0.7156 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.02517, allocations: 51.95 kB / 0.7157 GB, free: 6.875 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.02518, allocations: 4 kB / 0.7157 GB, free: 6.871 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.02521, allocations: 12 kB / 0.7157 GB, free: 6.859 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.02521, allocations: 0 / 0.7157 GB, free: 6.859 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.02522, allocations: 11.86 kB / 0.7157 GB, free: 6.848 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009839/0.0262, allocations: 0.7229 MB / 0.7164 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.02625, allocations: 27.81 kB / 0.7165 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.185e-05/0.02632, allocations: 16.05 kB / 0.7165 GB, free: 6.023 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.02649, allocations: 16.11 kB / 0.7165 GB, free: 6.008 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.0266, allocations: 39.83 kB / 0.7165 GB, free: 5.969 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.02662, allocations: 15.98 kB / 0.7165 GB, free: 5.953 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001753/0.0268, allocations: 181.2 kB / 0.7167 GB, free: 5.777 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0268, allocations: 0 / 0.7167 GB, free: 5.777 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000404/0.0272, allocations: 84 kB / 0.7168 GB, free: 5.695 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.0001708/0.02737, allocations: 130.4 kB / 0.7169 GB, free: 5.566 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007186/0.02809, allocations: 0.5609 MB / 0.7175 GB, free: 4.938 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.02809, allocations: 0 / 0.7175 GB, free: 4.938 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.02842, allocations: 305.8 kB / 0.7178 GB, free: 4.605 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.02896, allocations: 81.12 kB / 0.7178 GB, free: 4.527 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.03044, allocations: 0.8125 MB / 0.7186 GB, free: 3.672 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.03059, allocations: 160.3 kB / 0.7188 GB, free: 3.492 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.435e-05/0.03068, allocations: 32.5 kB / 0.7188 GB, free: 3.461 MB / 426.8 MB Notification: Performance of SimCode: time 1.112e-06/0.03068, allocations: 0 / 0.7188 GB, free: 3.461 MB / 426.8 MB Notification: Performance of Templates: time 0.1737/0.2044, allocations: 4.018 MB / 0.7227 GB, free: 36.77 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N01A_AnestheticsGeneral.N01AX07_Etomidate.Etomidate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.684311145916581]