Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin.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.001581/0.001581, allocations: 92.42 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.001765/0.001765, allocations: 165.9 kB / 23.21 MB, free: 1.328 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.053/1.053, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.7473/0.7473, allocations: 291.2 MB / 0.5382 GB, free: 51.87 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.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.276e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin): time 0.002202/0.002225, allocations: 2.302 MB / 0.6996 GB, free: 8.02 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004148/0.006373, allocations: 6.541 MB / 0.706 GB, free: 1.469 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.294e-05/0.006466, allocations: 8 kB / 0.706 GB, free: 1.461 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.006572, allocations: 23.72 kB / 0.706 GB, free: 1.438 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.006743, allocations: 91.25 kB / 0.7061 GB, free: 1.348 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.006924, allocations: 47.88 kB / 0.7062 GB, free: 1.301 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.007112, allocations: 262.6 kB / 0.7064 GB, free: 1.043 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.007251, allocations: 44.5 kB / 0.7065 GB, free: 1.004 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.007376, allocations: 139.6 kB / 0.7066 GB, free: 0.8672 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.007544, allocations: 87.72 kB / 0.7067 GB, free: 0.7812 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.007571, allocations: 16 kB / 0.7067 GB, free: 0.7656 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.184e-05/0.007593, allocations: 20 kB / 0.7067 GB, free: 0.7461 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.007619, allocations: 35.78 kB / 0.7067 GB, free: 0.7109 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.007683, allocations: 75.83 kB / 0.7068 GB, free: 0.6367 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.007868, allocations: 203.4 kB / 0.707 GB, free: 448 kB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.00787, allocations: 0 / 0.707 GB, free: 448 kB / 410.8 MB Notification: Performance of FrontEnd: time 9.21e-07/0.007871, allocations: 0 / 0.707 GB, free: 448 kB / 410.8 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.007876, allocations: 0 / 0.707 GB, free: 448 kB / 410.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.0006053/0.008482, allocations: 0.4891 MB / 0.7075 GB, free: 15.9 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.008522, allocations: 12.03 kB / 0.7075 GB, free: 15.89 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.008571, allocations: 24.8 kB / 0.7075 GB, free: 15.87 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.008766, allocations: 178.4 kB / 0.7077 GB, free: 15.66 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.008782, allocations: 8.609 kB / 0.7077 GB, free: 15.66 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.008813, allocations: 16.38 kB / 0.7077 GB, free: 15.64 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.009069, allocations: 198 kB / 0.7079 GB, free: 15.43 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.009088, allocations: 7.938 kB / 0.7079 GB, free: 15.43 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.009105, allocations: 11.94 kB / 0.7079 GB, free: 15.41 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.009111, allocations: 4 kB / 0.7079 GB, free: 15.41 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.009317, allocations: 146.2 kB / 0.7081 GB, free: 15.26 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.009878, allocations: 481.4 kB / 0.7085 GB, free: 14.76 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.0102, allocations: 180.1 kB / 0.7087 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.01031, allocations: 94.53 kB / 0.7088 GB, free: 14.46 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.01032, allocations: 0 / 0.7088 GB, free: 14.46 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.01055, allocations: 236.4 kB / 0.709 GB, free: 14.2 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.01055, allocations: 0 / 0.709 GB, free: 14.2 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009437/0.0115, allocations: 0.6987 MB / 0.7097 GB, free: 13.44 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.01155, allocations: 140.5 kB / 0.7098 GB, free: 13.27 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.0117, allocations: 215 kB / 0.71 GB, free: 13.05 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.01172, allocations: 29.7 kB / 0.7101 GB, free: 13.02 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.01179, allocations: 136.5 kB / 0.7102 GB, free: 12.88 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.01183, allocations: 71.42 kB / 0.7103 GB, free: 12.81 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.01189, allocations: 53.69 kB / 0.7103 GB, free: 12.75 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.361e-05/0.01197, allocations: 334.8 kB / 0.7106 GB, free: 12.42 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.01212, allocations: 141 kB / 0.7108 GB, free: 12.26 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.01248, allocations: 231.7 kB / 0.711 GB, free: 11.99 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.01273, allocations: 282.2 kB / 0.7113 GB, free: 11.68 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01273, allocations: 4.031 kB / 0.7113 GB, free: 11.67 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000391/0.01312, allocations: 387.9 kB / 0.7116 GB, free: 11.26 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.01316, allocations: 59.41 kB / 0.7117 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01317, allocations: 4 kB / 0.7117 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.01318, allocations: 3.938 kB / 0.7117 GB, free: 11.18 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.0133, allocations: 60.06 kB / 0.7118 GB, free: 11.12 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.01331, allocations: 11.98 kB / 0.7118 GB, free: 11.11 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.067e-05/0.0134, allocations: 15.98 kB / 0.7118 GB, free: 11.1 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.01341, allocations: 8 kB / 0.7118 GB, free: 11.09 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.0001622/0.01357, allocations: 177.2 kB / 0.712 GB, free: 10.9 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.0136, allocations: 19.91 kB / 0.712 GB, free: 10.88 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.01363, allocations: 21.97 kB / 0.712 GB, free: 10.86 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01363, allocations: 0 / 0.712 GB, free: 10.86 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.01364, allocations: 15.92 kB / 0.712 GB, free: 10.84 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01364, allocations: 0 / 0.712 GB, free: 10.84 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.01416, allocations: 0.5354 MB / 0.7125 GB, free: 10.26 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01416, allocations: 0 / 0.7125 GB, free: 10.26 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.01426, allocations: 35.97 kB / 0.7126 GB, free: 10.23 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01426, allocations: 4 kB / 0.7126 GB, free: 10.22 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.01427, allocations: 0 / 0.7126 GB, free: 10.22 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.01428, allocations: 4 kB / 0.7126 GB, free: 10.22 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01428, allocations: 7.938 kB / 0.7126 GB, free: 10.21 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.01475, allocations: 0.4963 MB / 0.7131 GB, free: 9.684 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.01478, allocations: 19.86 kB / 0.7131 GB, free: 9.664 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.01481, allocations: 12.03 kB / 0.7131 GB, free: 9.652 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.01489, allocations: 19.92 kB / 0.7131 GB, free: 9.633 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.01496, allocations: 19.97 kB / 0.7131 GB, free: 9.613 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.01498, allocations: 8 kB / 0.7131 GB, free: 9.605 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.763e-05/0.01507, allocations: 160.4 kB / 0.7133 GB, free: 9.449 MB / 426.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01507, allocations: 4 kB / 0.7133 GB, free: 9.445 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001875/0.01526, allocations: 52 kB / 0.7134 GB, free: 9.395 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 9.857e-05/0.01536, allocations: 115.2 kB / 0.7135 GB, free: 9.273 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003603/0.01572, allocations: 379.6 kB / 0.7138 GB, free: 8.859 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01572, allocations: 0 / 0.7138 GB, free: 8.859 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.01586, allocations: 179.9 kB / 0.714 GB, free: 8.668 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.01615, allocations: 63.89 kB / 0.7141 GB, free: 8.605 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007545/0.01691, allocations: 0.5993 MB / 0.7146 GB, free: 7.969 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.832e-05/0.01699, allocations: 129.6 kB / 0.7148 GB, free: 7.82 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.01704, allocations: 24.5 kB / 0.7148 GB, free: 7.797 MB / 426.8 MB Notification: Performance of SimCode: time 5.81e-07/0.01704, allocations: 0 / 0.7148 GB, free: 7.797 MB / 426.8 MB Notification: Performance of Templates: time 0.003417/0.02046, allocations: 2.942 MB / 0.7177 GB, free: 4.883 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.5646443124860525]