Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam.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.00189/0.00189, 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.002107/0.002107, allocations: 169.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.659/1.659, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.475/1.475, 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.J01CA11_Mecillinam.Mecillinam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.6999 GB, free: 8.527 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.274e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.52 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam): time 0.003521/0.003554, allocations: 2.723 MB / 0.7026 GB, free: 5.777 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.007437/0.01099, allocations: 6.608 MB / 0.709 GB, free: 15.16 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.01127, allocations: 0 / 0.709 GB, free: 15.16 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.01147, allocations: 39.58 kB / 0.7091 GB, free: 15.12 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004107/0.01188, allocations: 134.8 kB / 0.7092 GB, free: 14.99 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.0122, allocations: 63.91 kB / 0.7093 GB, free: 14.93 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.01271, allocations: 397.9 kB / 0.7096 GB, free: 14.54 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.01294, allocations: 56.88 kB / 0.7097 GB, free: 14.48 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003203/0.01326, allocations: 207.5 kB / 0.7099 GB, free: 14.28 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.01355, allocations: 115.6 kB / 0.71 GB, free: 14.17 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.0136, allocations: 31.94 kB / 0.71 GB, free: 14.14 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.599e-05/0.01366, allocations: 24 kB / 0.7101 GB, free: 14.11 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 8.761e-05/0.01375, allocations: 67.67 kB / 0.7101 GB, free: 14.05 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.01391, allocations: 103.8 kB / 0.7102 GB, free: 13.95 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.01437, allocations: 303 kB / 0.7105 GB, free: 13.65 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.01438, allocations: 0 / 0.7105 GB, free: 13.65 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.584e-06/0.01438, allocations: 0 / 0.7105 GB, free: 13.65 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.01439, allocations: 0 / 0.7105 GB, free: 13.65 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.001335/0.01572, allocations: 0.5885 MB / 0.7111 GB, free: 13.01 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.01577, allocations: 8.031 kB / 0.7111 GB, free: 13 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.485e-05/0.01587, allocations: 32.75 kB / 0.7111 GB, free: 12.97 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.01623, allocations: 208.8 kB / 0.7113 GB, free: 12.74 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.01626, allocations: 20.75 kB / 0.7113 GB, free: 12.72 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/0.01632, allocations: 32.28 kB / 0.7114 GB, free: 12.69 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.0169, allocations: 288.7 kB / 0.7116 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.01693, allocations: 3.953 kB / 0.7116 GB, free: 12.38 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.01695, allocations: 8 kB / 0.7117 GB, free: 12.38 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.01696, allocations: 12 kB / 0.7117 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.01751, allocations: 228.5 kB / 0.7119 GB, free: 12.12 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.01909, allocations: 0.6755 MB / 0.7125 GB, free: 11.41 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/0.01976, allocations: 249.3 kB / 0.7128 GB, free: 11.14 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.02005, allocations: 148.4 kB / 0.7129 GB, free: 10.98 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.02007, allocations: 4 kB / 0.7129 GB, free: 10.98 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006053/0.02068, allocations: 358.2 kB / 0.7133 GB, free: 10.58 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.763e-06/0.02068, allocations: 0 / 0.7133 GB, free: 10.58 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002339/0.02302, allocations: 1.086 MB / 0.7143 GB, free: 9.406 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/0.0232, allocations: 217.6 kB / 0.7145 GB, free: 9.145 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.02351, allocations: 245.9 kB / 0.7148 GB, free: 8.898 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.02356, allocations: 33.7 kB / 0.7148 GB, free: 8.859 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.0237, allocations: 152.9 kB / 0.7149 GB, free: 8.703 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.02383, allocations: 119 kB / 0.7151 GB, free: 8.586 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.02396, allocations: 78.19 kB / 0.7151 GB, free: 8.5 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.02418, allocations: 342.8 kB / 0.7155 GB, free: 8.156 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.02456, allocations: 211.9 kB / 0.7157 GB, free: 7.93 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.02504, allocations: 307.2 kB / 0.716 GB, free: 7.566 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006952/0.02574, allocations: 435 kB / 0.7164 GB, free: 7.074 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.02574, allocations: 0 / 0.7164 GB, free: 7.074 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000957/0.02669, allocations: 0.5497 MB / 0.7169 GB, free: 6.48 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.856e-05/0.02679, allocations: 97.09 kB / 0.717 GB, free: 6.367 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.0268, allocations: 0 / 0.717 GB, free: 6.367 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.02683, allocations: 8 kB / 0.717 GB, free: 6.359 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.02716, allocations: 71.89 kB / 0.7171 GB, free: 6.289 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.02718, allocations: 12.22 kB / 0.7171 GB, free: 6.277 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.02742, allocations: 27.98 kB / 0.7171 GB, free: 6.25 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.02745, allocations: 16 kB / 0.7171 GB, free: 6.234 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.0003305/0.02778, allocations: 227 kB / 0.7173 GB, free: 5.992 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.02784, allocations: 31.81 kB / 0.7174 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.312e-05/0.02792, allocations: 34.95 kB / 0.7174 GB, free: 5.926 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.02793, allocations: 4 kB / 0.7174 GB, free: 5.922 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.02794, allocations: 0 / 0.7174 GB, free: 5.922 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.02794, allocations: 4 kB / 0.7174 GB, free: 5.918 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.02936, allocations: 0.7677 MB / 0.7182 GB, free: 5.09 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.02937, allocations: 0 / 0.7182 GB, free: 5.09 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.02967, allocations: 59.89 kB / 0.7182 GB, free: 5.031 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/0.02969, allocations: 4 kB / 0.7182 GB, free: 5.027 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.02971, allocations: 8 kB / 0.7182 GB, free: 5.02 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.02972, allocations: 0 / 0.7182 GB, free: 5.02 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.02972, allocations: 3.938 kB / 0.7182 GB, free: 5.016 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.0312, allocations: 0.7269 MB / 0.719 GB, free: 4.23 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.03127, allocations: 27.88 kB / 0.719 GB, free: 4.203 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.543e-05/0.03134, allocations: 11.98 kB / 0.719 GB, free: 4.191 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.03155, allocations: 15.98 kB / 0.719 GB, free: 4.176 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.03169, allocations: 31.89 kB / 0.719 GB, free: 4.145 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.03172, allocations: 12 kB / 0.719 GB, free: 4.133 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002479/0.03197, allocations: 181.2 kB / 0.7192 GB, free: 3.957 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.03197, allocations: 0 / 0.7192 GB, free: 3.957 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0004375/0.03241, allocations: 92 kB / 0.7193 GB, free: 3.867 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.0002453/0.03265, allocations: 124 kB / 0.7194 GB, free: 3.742 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009863/0.03364, allocations: 0.557 MB / 0.72 GB, free: 3.117 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.03364, allocations: 0.6875 kB / 0.72 GB, free: 3.117 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2646/0.2982, allocations: 304.3 kB / 0.7203 GB, free: 37.04 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/0.299, allocations: 85.3 kB / 0.7203 GB, free: 37.04 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.3006, allocations: 0.7954 MB / 0.7211 GB, free: 36.64 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.3007, allocations: 159.7 kB / 0.7213 GB, free: 36.56 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.3009, allocations: 39.02 kB / 0.7213 GB, free: 36.55 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.329e-05/0.301, allocations: 27.75 kB / 0.7213 GB, free: 36.54 MB / 426.8 MB Notification: Performance of SimCode: time 1.262e-06/0.301, allocations: 0 / 0.7213 GB, free: 36.54 MB / 426.8 MB Notification: Performance of Templates: time 0.01132/0.3123, allocations: 4.548 MB / 0.7258 GB, free: 36.14 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.907609842019156]