Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil.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.002528/0.002528, 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.002939/0.002939, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.636/1.636, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.38/1.38, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.785e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil): time 0.003142/0.003169, allocations: 2.719 MB / 0.7026 GB, free: 5.797 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0068/0.009969, allocations: 6.611 MB / 0.709 GB, free: 15.18 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.0102, allocations: 0 / 0.709 GB, free: 15.18 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.01039, allocations: 43.56 kB / 0.7091 GB, free: 15.13 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.01079, allocations: 126.8 kB / 0.7092 GB, free: 15.01 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.01109, allocations: 67.86 kB / 0.7093 GB, free: 14.94 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005205/0.01161, allocations: 397.9 kB / 0.7096 GB, free: 14.55 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.0118, allocations: 60.88 kB / 0.7097 GB, free: 14.5 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005742/0.01238, allocations: 207.5 kB / 0.7099 GB, free: 14.29 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.01268, allocations: 115.6 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.01273, allocations: 24 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.823e-05/0.01279, allocations: 27.94 kB / 0.7101 GB, free: 14.13 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.337e-05/0.01286, allocations: 59.69 kB / 0.7101 GB, free: 14.07 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.01302, allocations: 111.8 kB / 0.7102 GB, free: 13.96 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.01348, allocations: 295 kB / 0.7105 GB, free: 13.67 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01348, allocations: 3.938 kB / 0.7105 GB, free: 13.67 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.923e-06/0.01348, allocations: 0 / 0.7105 GB, free: 13.67 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.01349, allocations: 4 kB / 0.7105 GB, free: 13.66 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.001331/0.01482, allocations: 0.5924 MB / 0.7111 GB, free: 13.02 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.01487, allocations: 8.031 kB / 0.7111 GB, free: 13.01 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.387e-05/0.01496, allocations: 32.75 kB / 0.7111 GB, free: 12.98 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.01532, allocations: 212.8 kB / 0.7113 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.01535, allocations: 20.75 kB / 0.7114 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.0154, allocations: 20.38 kB / 0.7114 GB, free: 12.71 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.01597, allocations: 296.5 kB / 0.7117 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.016, allocations: 7.953 kB / 0.7117 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.01603, allocations: 8 kB / 0.7117 GB, free: 12.38 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.01603, allocations: 8 kB / 0.7117 GB, free: 12.38 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/0.01657, allocations: 232.4 kB / 0.7119 GB, free: 12.13 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.01791, allocations: 0.6794 MB / 0.7126 GB, free: 11.41 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006388/0.01855, allocations: 241.3 kB / 0.7128 GB, free: 11.16 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.01885, allocations: 148.4 kB / 0.7129 GB, free: 11 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.01887, allocations: 4 kB / 0.7129 GB, free: 10.99 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006251/0.01949, allocations: 373 kB / 0.7133 GB, free: 10.58 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.773e-06/0.01949, allocations: 0 / 0.7133 GB, free: 10.58 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002398/0.02189, allocations: 1.07 MB / 0.7143 GB, free: 9.422 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001962/0.02209, allocations: 221.6 kB / 0.7145 GB, free: 9.156 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.02242, allocations: 245.9 kB / 0.7148 GB, free: 8.91 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.02247, allocations: 41.69 kB / 0.7148 GB, free: 8.863 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.02262, allocations: 152.9 kB / 0.715 GB, free: 8.707 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.02274, allocations: 115.1 kB / 0.7151 GB, free: 8.594 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.02288, allocations: 74.19 kB / 0.7151 GB, free: 8.512 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.02309, allocations: 342.8 kB / 0.7155 GB, free: 8.168 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.02346, allocations: 207.9 kB / 0.7157 GB, free: 7.945 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/0.02391, allocations: 319.1 kB / 0.716 GB, free: 7.57 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006996/0.02461, allocations: 427.1 kB / 0.7164 GB, free: 7.086 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.02461, allocations: 4 kB / 0.7164 GB, free: 7.082 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001182/0.02579, allocations: 0.5457 MB / 0.7169 GB, free: 6.492 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.07e-05/0.02589, allocations: 97.09 kB / 0.717 GB, free: 6.379 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.02589, allocations: 352 / 0.717 GB, free: 6.379 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.02592, allocations: 12 kB / 0.717 GB, free: 6.367 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.02626, allocations: 75.83 kB / 0.7171 GB, free: 6.293 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.02627, allocations: 4 kB / 0.7171 GB, free: 6.289 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.02652, allocations: 31.91 kB / 0.7171 GB, free: 6.258 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.02655, allocations: 16 kB / 0.7171 GB, free: 6.242 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.0003132/0.02687, allocations: 223 kB / 0.7174 GB, free: 6.004 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.02692, allocations: 35.81 kB / 0.7174 GB, free: 5.969 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.148e-05/0.02701, allocations: 34.95 kB / 0.7174 GB, free: 5.934 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.02701, allocations: 0 / 0.7174 GB, free: 5.934 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.02701, allocations: 4 kB / 0.7174 GB, free: 5.93 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.02702, allocations: 3.984 kB / 0.7174 GB, free: 5.926 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.02837, allocations: 0.7677 MB / 0.7182 GB, free: 5.098 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.02837, allocations: 4 kB / 0.7182 GB, free: 5.094 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.02867, allocations: 51.97 kB / 0.7182 GB, free: 5.043 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.02867, allocations: 8 kB / 0.7182 GB, free: 5.035 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.0287, allocations: 11.98 kB / 0.7183 GB, free: 5.023 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.02871, allocations: 0 / 0.7183 GB, free: 5.023 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.02871, allocations: 3.938 kB / 0.7183 GB, free: 5.02 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.02996, allocations: 0.7191 MB / 0.719 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.03003, allocations: 31.86 kB / 0.719 GB, free: 4.211 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/0.03008, allocations: 8 kB / 0.719 GB, free: 4.203 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.0303, allocations: 15.98 kB / 0.719 GB, free: 4.188 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.03041, allocations: 35.89 kB / 0.7191 GB, free: 4.152 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.03044, allocations: 15.98 kB / 0.7191 GB, free: 4.137 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002221/0.03066, allocations: 177.2 kB / 0.7192 GB, free: 3.965 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.03066, allocations: 0 / 0.7192 GB, free: 3.965 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003845/0.03104, allocations: 84 kB / 0.7193 GB, free: 3.883 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.000207/0.03125, allocations: 128 kB / 0.7194 GB, free: 3.754 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009783/0.03223, allocations: 0.5688 MB / 0.72 GB, free: 3.117 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.03223, allocations: 0 / 0.72 GB, free: 3.117 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1942/0.2265, allocations: 294.7 kB / 0.7203 GB, free: 37.09 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007036/0.2272, allocations: 87.97 kB / 0.7204 GB, free: 37.09 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.2285, allocations: 0.794 MB / 0.7211 GB, free: 36.69 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.2287, allocations: 161.8 kB / 0.7213 GB, free: 36.61 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.2288, allocations: 38.2 kB / 0.7213 GB, free: 36.61 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.2289, allocations: 28.56 kB / 0.7214 GB, free: 36.59 MB / 426.8 MB Notification: Performance of SimCode: time 1.113e-06/0.2289, allocations: 0 / 0.7214 GB, free: 36.59 MB / 426.8 MB Notification: Performance of Templates: time 0.009462/0.2383, allocations: 4.552 MB / 0.7258 GB, free: 36.18 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.891831394052133]