Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Wittau2017_reference.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.00193/0.00193, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.002054/0.002054, allocations: 211.6 kB / 22.25 MB, free: 3.574 MB / 13.93 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.836/1.836, allocations: 230.6 MB / 256 MB, free: 9.57 MB / 202.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.427/1.427, allocations: 316.8 MB / 0.6144 GB, free: 93.05 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.J01DH03_Ertapenem.Ertapenem_Wittau2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Wittau2017_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Wittau2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Wittau2017_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004162/0.004162, allocations: 77.5 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1663, allocations: 73.99 MB / 0.8472 GB, free: 4.883 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Wittau2017_reference): time 0.005346/0.1716, allocations: 2.299 MB / 0.8495 GB, free: 2.586 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.426/0.5976, allocations: 6.513 MB / 0.8559 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.5979, allocations: 5.547 kB / 0.8559 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.5981, allocations: 25.88 kB / 0.8559 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.5984, allocations: 84.45 kB / 0.856 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.5986, allocations: 53.12 kB / 0.856 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.5989, allocations: 257.6 kB / 0.8563 GB, free: 22 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.5991, allocations: 39.34 kB / 0.8563 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.5992, allocations: 95.72 kB / 0.8564 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.5995, allocations: 101.8 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.5995, allocations: 16.31 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.191e-05/0.5995, allocations: 19.25 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.5996, allocations: 35.81 kB / 0.8566 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.5997, allocations: 92.61 kB / 0.8566 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.6, allocations: 197.6 kB / 0.8568 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.6, allocations: 0 / 0.8568 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6, allocations: 0 / 0.8568 GB, free: 21.89 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.6, allocations: 2.031 kB / 0.8568 GB, free: 21.89 MB / 490.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.0009075/0.6009, allocations: 0.4916 MB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.601, allocations: 9.281 kB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.601, allocations: 26.67 kB / 0.8573 GB, free: 21.48 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.6013, allocations: 182.8 kB / 0.8575 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.6013, allocations: 11.34 kB / 0.8575 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.6013, allocations: 22.61 kB / 0.8576 GB, free: 21.31 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.6017, allocations: 194.3 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.6017, allocations: 1.5 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.6017, allocations: 4.531 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.6017, allocations: 4.469 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003646/0.6021, allocations: 148.9 kB / 0.8579 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007874/0.6029, allocations: 481 kB / 0.8583 GB, free: 20.9 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.6034, allocations: 175.4 kB / 0.8585 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.6035, allocations: 92.83 kB / 0.8586 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.6035, allocations: 8.625 kB / 0.8586 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.6039, allocations: 226 kB / 0.8588 GB, free: 20.66 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.6039, allocations: 0 / 0.8588 GB, free: 20.66 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001493/0.6054, allocations: 0.6981 MB / 0.8595 GB, free: 20.3 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.6055, allocations: 137.6 kB / 0.8596 GB, free: 20.15 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.6057, allocations: 216.8 kB / 0.8598 GB, free: 20.04 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.6057, allocations: 32.73 kB / 0.8599 GB, free: 20.01 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.6058, allocations: 136.8 kB / 0.86 GB, free: 19.92 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.6059, allocations: 67.45 kB / 0.8601 GB, free: 19.88 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.606, allocations: 55.7 kB / 0.8601 GB, free: 19.86 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.6061, allocations: 341.7 kB / 0.8605 GB, free: 19.54 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.6063, allocations: 145.7 kB / 0.8606 GB, free: 19.46 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.6065, allocations: 224 kB / 0.8608 GB, free: 19.29 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.607, allocations: 284.5 kB / 0.8611 GB, free: 19.13 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.607, allocations: 0.7188 kB / 0.8611 GB, free: 19.13 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005803/0.6076, allocations: 383.4 kB / 0.8614 GB, free: 18.95 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.07e-05/0.6076, allocations: 65.2 kB / 0.8615 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.6076, allocations: 6.625 kB / 0.8615 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.6077, allocations: 3.781 kB / 0.8615 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.6079, allocations: 52.78 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.6079, allocations: 4.031 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.6081, allocations: 20.98 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.6081, allocations: 10.94 kB / 0.8616 GB, free: 18.88 MB / 490.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.0001907/0.6083, allocations: 180 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.6083, allocations: 21.17 kB / 0.8618 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.247e-05/0.6084, allocations: 35.98 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6084, allocations: 3.938 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.6084, allocations: 0.8125 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.6084, allocations: 1.812 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007118/0.6091, allocations: 0.5311 MB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6091, allocations: 4.969 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.6093, allocations: 40.22 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.6093, allocations: 4.141 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.6093, allocations: 5.141 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.6093, allocations: 3.938 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6093, allocations: 2.062 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007713/0.6101, allocations: 0.4904 MB / 0.8629 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.6101, allocations: 25.41 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/0.6102, allocations: 8.156 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.6103, allocations: 13.72 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.6104, allocations: 27.39 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.6105, allocations: 9.094 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001443/0.6106, allocations: 162.7 kB / 0.8631 GB, free: 18.05 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6106, allocations: 0 / 0.8631 GB, free: 18.05 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002876/0.6109, allocations: 54.97 kB / 0.8632 GB, free: 18.05 MB / 490.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.00015/0.611, allocations: 115.3 kB / 0.8633 GB, free: 17.96 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005963/0.6116, allocations: 382.1 kB / 0.8636 GB, free: 17.72 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6116, allocations: 0.7812 kB / 0.8637 GB, free: 17.72 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.6119, allocations: 177.4 kB / 0.8638 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.6123, allocations: 66.8 kB / 0.8639 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.6137, allocations: 0.6817 MB / 0.8645 GB, free: 17.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.6138, allocations: 123.7 kB / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000115/0.6139, allocations: 25.59 kB / 0.8647 GB, free: 17.22 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.614, allocations: 22.14 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of SimCode: time 5.51e-07/0.614, allocations: 0 / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of Templates: time 0.009341/0.6234, allocations: 3.648 MB / 0.8683 GB, free: 16.88 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Wittau2017_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Wittau2017_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Wittau2017_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Wittau2017_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Wittau2017_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Wittau2017_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Wittau2017_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.8212328588124365]