Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.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.001103/0.001103, 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.001312/0.001312, 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.9086/0.9086, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.6563/0.6563, allocations: 291.1 MB / 0.5382 GB, free: 51.9 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.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.6974 GB, free: 10.3 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.547e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.3 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem): time 0.002286/0.002311, allocations: 2.707 MB / 0.7 GB, free: 7.57 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004144/0.006455, allocations: 6.611 MB / 0.7065 GB, free: 0.9492 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.006618, allocations: 4 kB / 0.7065 GB, free: 0.9453 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.006742, allocations: 39.58 kB / 0.7065 GB, free: 0.9062 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.006952, allocations: 123 kB / 0.7066 GB, free: 0.7852 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.007157, allocations: 75.84 kB / 0.7067 GB, free: 0.7109 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.007391, allocations: 397.8 kB / 0.7071 GB, free: 328 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.007524, allocations: 56.83 kB / 0.7071 GB, free: 276 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.007666, allocations: 207.5 kB / 0.7073 GB, free: 68 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.007858, allocations: 115.6 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.007891, allocations: 24 kB / 0.7075 GB, free: 15.93 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.127e-05/0.007922, allocations: 28 kB / 0.7075 GB, free: 15.9 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.00796, allocations: 55.73 kB / 0.7076 GB, free: 15.85 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.533e-05/0.008055, allocations: 115.7 kB / 0.7077 GB, free: 15.73 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.008313, allocations: 291.1 kB / 0.7079 GB, free: 15.45 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.008317, allocations: 4 kB / 0.708 GB, free: 15.45 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.493e-06/0.008318, allocations: 0 / 0.708 GB, free: 15.45 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.008324, allocations: 0 / 0.708 GB, free: 15.45 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.0007464/0.00907, allocations: 0.5925 MB / 0.7085 GB, free: 14.8 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.009107, allocations: 12.03 kB / 0.7085 GB, free: 14.79 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.00916, allocations: 32.75 kB / 0.7086 GB, free: 14.76 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.009367, allocations: 216.7 kB / 0.7088 GB, free: 14.52 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.009387, allocations: 20.75 kB / 0.7088 GB, free: 14.5 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.009419, allocations: 20.38 kB / 0.7088 GB, free: 14.48 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.009728, allocations: 288.7 kB / 0.7091 GB, free: 14.18 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.009743, allocations: 7.938 kB / 0.7091 GB, free: 14.17 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.00976, allocations: 11.94 kB / 0.7091 GB, free: 14.16 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.009766, allocations: 4 kB / 0.7091 GB, free: 14.16 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.01009, allocations: 236.4 kB / 0.7093 GB, free: 13.91 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007457/0.01084, allocations: 0.6718 MB / 0.71 GB, free: 13.2 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.0112, allocations: 244.3 kB / 0.7102 GB, free: 12.94 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.01135, allocations: 148.4 kB / 0.7104 GB, free: 12.78 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.01136, allocations: 0 / 0.7104 GB, free: 12.78 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.01166, allocations: 371.9 kB / 0.7107 GB, free: 12.37 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.453e-06/0.01166, allocations: 0 / 0.7107 GB, free: 12.37 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001364/0.01302, allocations: 1.085 MB / 0.7118 GB, free: 11.19 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.0131, allocations: 221.6 kB / 0.712 GB, free: 10.93 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.01328, allocations: 245.9 kB / 0.7122 GB, free: 10.68 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.0133, allocations: 37.7 kB / 0.7123 GB, free: 10.64 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.01338, allocations: 156.8 kB / 0.7124 GB, free: 10.48 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.807e-05/0.01344, allocations: 119 kB / 0.7125 GB, free: 10.36 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-05/0.01351, allocations: 66.2 kB / 0.7126 GB, free: 10.29 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.01359, allocations: 350.7 kB / 0.7129 GB, free: 9.934 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.01378, allocations: 203.9 kB / 0.7131 GB, free: 9.715 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.014, allocations: 323.1 kB / 0.7134 GB, free: 9.34 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.01434, allocations: 427.1 kB / 0.7138 GB, free: 8.855 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01434, allocations: 4 kB / 0.7138 GB, free: 8.852 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007412/0.01508, allocations: 0.5461 MB / 0.7144 GB, free: 8.262 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.01513, allocations: 93.12 kB / 0.7145 GB, free: 8.152 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01513, allocations: 4 kB / 0.7145 GB, free: 8.148 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.01515, allocations: 4 kB / 0.7145 GB, free: 8.145 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.01532, allocations: 83.83 kB / 0.7146 GB, free: 8.062 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.01533, allocations: 4 kB / 0.7146 GB, free: 8.059 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.01545, allocations: 23.98 kB / 0.7146 GB, free: 8.035 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.01547, allocations: 16 kB / 0.7146 GB, free: 8.02 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.0001772/0.01565, allocations: 223.1 kB / 0.7148 GB, free: 7.777 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.01567, allocations: 35.75 kB / 0.7148 GB, free: 7.742 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.01571, allocations: 26.97 kB / 0.7149 GB, free: 7.715 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.01572, allocations: 7.984 kB / 0.7149 GB, free: 7.707 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01572, allocations: 0 / 0.7149 GB, free: 7.707 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01572, allocations: 0 / 0.7149 GB, free: 7.707 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007041/0.01643, allocations: 0.7601 MB / 0.7156 GB, free: 6.887 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01643, allocations: 3.938 kB / 0.7156 GB, free: 6.883 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.01657, allocations: 55.95 kB / 0.7157 GB, free: 6.828 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01658, allocations: 0 / 0.7157 GB, free: 6.828 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.01659, allocations: 12 kB / 0.7157 GB, free: 6.816 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.0166, allocations: 4 kB / 0.7157 GB, free: 6.812 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.0166, allocations: 7.875 kB / 0.7157 GB, free: 6.805 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006142/0.01721, allocations: 0.7229 MB / 0.7164 GB, free: 6.023 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.01725, allocations: 23.81 kB / 0.7164 GB, free: 6 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.01729, allocations: 16.19 kB / 0.7164 GB, free: 5.984 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.759e-05/0.01738, allocations: 27.97 kB / 0.7165 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/0.01746, allocations: 31.89 kB / 0.7165 GB, free: 5.926 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.01747, allocations: 12 kB / 0.7165 GB, free: 5.914 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001138/0.01758, allocations: 173.2 kB / 0.7167 GB, free: 5.746 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01758, allocations: 4 kB / 0.7167 GB, free: 5.742 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002288/0.01781, allocations: 87.98 kB / 0.7168 GB, free: 5.656 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.0001129/0.01793, allocations: 122.4 kB / 0.7169 GB, free: 5.531 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000473/0.0184, allocations: 0.5648 MB / 0.7174 GB, free: 4.898 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.0184, allocations: 0 / 0.7174 GB, free: 4.898 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.0186, allocations: 301.6 kB / 0.7177 GB, free: 4.57 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.01894, allocations: 87.78 kB / 0.7178 GB, free: 4.488 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009858/0.01993, allocations: 0.8164 MB / 0.7186 GB, free: 3.629 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.02003, allocations: 164.3 kB / 0.7188 GB, free: 3.445 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.0201, allocations: 32.5 kB / 0.7188 GB, free: 3.414 MB / 426.8 MB Notification: Performance of SimCode: time 5.62e-07/0.0201, allocations: 0 / 0.7188 GB, free: 3.414 MB / 426.8 MB Notification: Performance of Templates: time 0.1652/0.1853, allocations: 4.019 MB / 0.7227 GB, free: 36.85 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.921854781918228]