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.00178/0.00178, 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.001974/0.001974, allocations: 173.9 kB / 22.45 MB, free: 2.105 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.679/1.679, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.362/1.362, allocations: 292.9 MB / 0.5392 GB, free: 49.83 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.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.793e-06/1.793e-06, allocations: 0 / 0.6999 GB, free: 8.582 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.891e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.578 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin): time 0.002783/0.002812, allocations: 2.304 MB / 0.7021 GB, free: 6.258 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005456/0.008268, allocations: 6.537 MB / 0.7085 GB, free: 15.71 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.008462, allocations: 4 kB / 0.7085 GB, free: 15.71 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.008614, allocations: 23.72 kB / 0.7085 GB, free: 15.68 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.008902, allocations: 91.27 kB / 0.7086 GB, free: 15.59 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.009152, allocations: 51.86 kB / 0.7087 GB, free: 15.54 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.009517, allocations: 262.6 kB / 0.7089 GB, free: 15.29 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.009678, allocations: 36.58 kB / 0.709 GB, free: 15.25 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.009904, allocations: 139.6 kB / 0.7091 GB, free: 15.12 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.01013, allocations: 83.78 kB / 0.7092 GB, free: 15.04 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.01018, allocations: 20 kB / 0.7092 GB, free: 15.02 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.814e-05/0.01021, allocations: 16 kB / 0.7092 GB, free: 15 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.01026, allocations: 43.77 kB / 0.7093 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.01038, allocations: 79.77 kB / 0.7093 GB, free: 14.88 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.01071, allocations: 203.4 kB / 0.7095 GB, free: 14.68 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.01072, allocations: 11.86 kB / 0.7095 GB, free: 14.67 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01072, allocations: 0 / 0.7095 GB, free: 14.67 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.01072, allocations: 0 / 0.7095 GB, free: 14.67 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.001029/0.01175, allocations: 496.8 kB / 0.71 GB, free: 14.14 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.01179, allocations: 8.031 kB / 0.71 GB, free: 14.13 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.482e-05/0.01186, allocations: 24.8 kB / 0.71 GB, free: 14.11 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.01215, allocations: 178.4 kB / 0.7102 GB, free: 13.9 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.01217, allocations: 4.609 kB / 0.7102 GB, free: 13.9 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.01221, allocations: 20.36 kB / 0.7102 GB, free: 13.88 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.01265, allocations: 202.5 kB / 0.7104 GB, free: 13.67 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.01267, allocations: 3.953 kB / 0.7104 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.01269, allocations: 8 kB / 0.7104 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.01269, allocations: 4 kB / 0.7104 GB, free: 13.65 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.01309, allocations: 150.2 kB / 0.7106 GB, free: 13.5 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009056/0.014, allocations: 477.5 kB / 0.711 GB, free: 13 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/0.01455, allocations: 172.2 kB / 0.7112 GB, free: 12.82 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.01477, allocations: 102.5 kB / 0.7113 GB, free: 12.71 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.01479, allocations: 4 kB / 0.7113 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004188/0.01521, allocations: 226.6 kB / 0.7115 GB, free: 12.45 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.01521, allocations: 0 / 0.7115 GB, free: 12.45 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001688/0.01689, allocations: 0.6986 MB / 0.7122 GB, free: 11.69 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.01701, allocations: 140.5 kB / 0.7123 GB, free: 11.52 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.01728, allocations: 215 kB / 0.7125 GB, free: 11.3 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.01731, allocations: 29.7 kB / 0.7126 GB, free: 11.27 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.01744, allocations: 140.4 kB / 0.7127 GB, free: 11.13 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.457e-05/0.01751, allocations: 67.48 kB / 0.7128 GB, free: 11.06 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.01761, allocations: 53.7 kB / 0.7128 GB, free: 11 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.0178, allocations: 334.8 kB / 0.7131 GB, free: 10.67 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.01808, allocations: 148.9 kB / 0.7133 GB, free: 10.5 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.01842, allocations: 229.3 kB / 0.7135 GB, free: 10.23 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/0.01891, allocations: 276.8 kB / 0.7138 GB, free: 9.922 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01891, allocations: 7.969 kB / 0.7138 GB, free: 9.914 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007242/0.01964, allocations: 386.6 kB / 0.7141 GB, free: 9.508 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.304e-05/0.01971, allocations: 63.39 kB / 0.7142 GB, free: 9.434 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.01972, allocations: 4 kB / 0.7142 GB, free: 9.43 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.01974, allocations: 4 kB / 0.7142 GB, free: 9.426 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.01998, allocations: 60.06 kB / 0.7143 GB, free: 9.367 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.01999, allocations: 4 kB / 0.7143 GB, free: 9.363 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.02018, allocations: 15.98 kB / 0.7143 GB, free: 9.348 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.02021, allocations: 11.98 kB / 0.7143 GB, free: 9.336 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.0002512/0.02046, allocations: 171.6 kB / 0.7145 GB, free: 9.152 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.0205, allocations: 19.91 kB / 0.7145 GB, free: 9.133 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.37e-05/0.02056, allocations: 25.95 kB / 0.7145 GB, free: 9.105 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.02057, allocations: 4 kB / 0.7145 GB, free: 9.102 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.02058, allocations: 7.938 kB / 0.7145 GB, free: 9.094 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.02058, allocations: 3.938 kB / 0.7145 GB, free: 9.09 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009611/0.02154, allocations: 0.5392 MB / 0.715 GB, free: 8.504 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.02154, allocations: 3.984 kB / 0.7151 GB, free: 8.5 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.02175, allocations: 39.92 kB / 0.7151 GB, free: 8.461 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.02175, allocations: 0 / 0.7151 GB, free: 8.461 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.02178, allocations: 11.98 kB / 0.7151 GB, free: 8.449 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.02178, allocations: 0 / 0.7151 GB, free: 8.449 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.02178, allocations: 4 kB / 0.7151 GB, free: 8.445 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008857/0.02267, allocations: 0.4926 MB / 0.7156 GB, free: 7.922 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.02271, allocations: 23.8 kB / 0.7156 GB, free: 7.898 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.02276, allocations: 8 kB / 0.7156 GB, free: 7.891 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.02293, allocations: 12.03 kB / 0.7156 GB, free: 7.879 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.221e-05/0.02302, allocations: 23.95 kB / 0.7157 GB, free: 7.855 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.02304, allocations: 8 kB / 0.7157 GB, free: 7.848 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000204/0.02324, allocations: 156.4 kB / 0.7158 GB, free: 7.695 MB / 426.8 MB Notification: Performance of sort global known variables: time 1e-07/0.02324, allocations: 7.938 kB / 0.7158 GB, free: 7.688 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003191/0.02356, allocations: 52 kB / 0.7159 GB, free: 7.637 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.0001618/0.02372, allocations: 115.2 kB / 0.716 GB, free: 7.516 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006975/0.02442, allocations: 380.9 kB / 0.7163 GB, free: 7.105 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.02442, allocations: 448 / 0.7163 GB, free: 7.105 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.02472, allocations: 177 kB / 0.7165 GB, free: 6.914 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.0252, allocations: 75.45 kB / 0.7166 GB, free: 6.844 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.02644, allocations: 0.5703 MB / 0.7171 GB, free: 6.242 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.02659, allocations: 125.6 kB / 0.7173 GB, free: 6.098 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.02669, allocations: 25.92 kB / 0.7173 GB, free: 6.07 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.02676, allocations: 20.5 kB / 0.7173 GB, free: 6.051 MB / 426.8 MB Notification: Performance of SimCode: time 5.81e-07/0.02676, allocations: 0 / 0.7173 GB, free: 6.051 MB / 426.8 MB Notification: Performance of Templates: time 0.2209/0.2476, allocations: 3.327 MB / 0.7205 GB, free: 36.98 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA17_Temocillin.Temocillin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.881337230093777]