Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD07_Ceftizoxime.Ceftizoxime_Karna1993_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.0009008/0.0009008, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 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.001001/0.001001, allocations: 217.3 kB / 23.01 MB, free: 2.961 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.07/1.07, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.7574/0.7574, allocations: 312.3 MB / 0.6108 GB, free: 97.51 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.J01D_OtherBetaLactamAntibacterials.J01DD07_Ceftizoxime.Ceftizoxime_Karna1993_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=154800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD07_Ceftizoxime.Ceftizoxime_Karna1993_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD07_Ceftizoxime.Ceftizoxime_Karna1993_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=154800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD07_Ceftizoxime.Ceftizoxime_Karna1993_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.001679/0.001679, allocations: 72.08 kB / 0.7698 GB, free: 20.09 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1529, allocations: 73.99 MB / 0.8421 GB, free: 10.23 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD07_Ceftizoxime.Ceftizoxime_Karna1993_reference): time 0.003165/0.1561, allocations: 2.304 MB / 0.8444 GB, free: 7.934 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0059/0.162, allocations: 6.528 MB / 0.8507 GB, free: 1.402 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1621, allocations: 0.5625 kB / 0.8507 GB, free: 1.402 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.1623, allocations: 24.22 kB / 0.8508 GB, free: 1.379 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.1625, allocations: 80.58 kB / 0.8508 GB, free: 1.301 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.1627, allocations: 52.41 kB / 0.8509 GB, free: 1.25 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.163, allocations: 254.7 kB / 0.8511 GB, free: 1 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.1632, allocations: 41.27 kB / 0.8512 GB, free: 0.9609 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1633, allocations: 100.1 kB / 0.8513 GB, free: 0.8633 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.1635, allocations: 96.08 kB / 0.8513 GB, free: 0.7695 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.1635, allocations: 20 kB / 0.8514 GB, free: 0.75 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.758e-05/0.1635, allocations: 16.69 kB / 0.8514 GB, free: 0.7344 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.1636, allocations: 35.84 kB / 0.8514 GB, free: 0.6992 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.42e-05/0.1637, allocations: 96.03 kB / 0.8515 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1639, allocations: 195.9 kB / 0.8517 GB, free: 424 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1639, allocations: 4 kB / 0.8517 GB, free: 420 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1639, allocations: 0.625 kB / 0.8517 GB, free: 420 kB / 474.8 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1639, allocations: 0 / 0.8517 GB, free: 420 kB / 474.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.001128/0.165, allocations: 498.7 kB / 0.8522 GB, free: 15.88 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1651, allocations: 8.719 kB / 0.8522 GB, free: 15.87 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.1651, allocations: 24.8 kB / 0.8522 GB, free: 15.85 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1653, allocations: 183.7 kB / 0.8524 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1654, allocations: 12.61 kB / 0.8524 GB, free: 15.63 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.1654, allocations: 20.48 kB / 0.8524 GB, free: 15.61 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.1657, allocations: 191.2 kB / 0.8526 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1657, allocations: 4 kB / 0.8526 GB, free: 15.4 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1657, allocations: 4.5 kB / 0.8526 GB, free: 15.4 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1657, allocations: 4.688 kB / 0.8526 GB, free: 15.39 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.1659, allocations: 147 kB / 0.8527 GB, free: 15.25 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.1665, allocations: 486.7 kB / 0.8532 GB, free: 14.74 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.1669, allocations: 169.4 kB / 0.8534 GB, free: 14.56 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.167, allocations: 99.17 kB / 0.8535 GB, free: 14.45 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.167, allocations: 4.594 kB / 0.8535 GB, free: 14.45 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.1673, allocations: 233.2 kB / 0.8537 GB, free: 14.19 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.1673, allocations: 0.625 kB / 0.8537 GB, free: 14.19 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001012/0.1683, allocations: 0.7064 MB / 0.8544 GB, free: 13.43 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.1683, allocations: 133 kB / 0.8545 GB, free: 13.27 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1685, allocations: 219.6 kB / 0.8547 GB, free: 13.04 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1685, allocations: 33.7 kB / 0.8548 GB, free: 13 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.1686, allocations: 133.1 kB / 0.8549 GB, free: 12.87 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.1686, allocations: 67.42 kB / 0.8549 GB, free: 12.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.1687, allocations: 62.28 kB / 0.855 GB, free: 12.74 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.1688, allocations: 339.3 kB / 0.8553 GB, free: 12.4 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.169, allocations: 141.6 kB / 0.8555 GB, free: 12.24 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.1691, allocations: 224.2 kB / 0.8557 GB, free: 11.98 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3758/0.5449, allocations: 280 kB / 0.8559 GB, free: 30.27 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5449, allocations: 0 / 0.8559 GB, free: 30.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005508/0.5455, allocations: 387.9 kB / 0.8563 GB, free: 30.11 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/0.5455, allocations: 70.06 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5455, allocations: 3.031 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.142e-05/0.5456, allocations: 4.688 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.5457, allocations: 46.83 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.5458, allocations: 10.62 kB / 0.8564 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.5459, allocations: 14.53 kB / 0.8565 GB, free: 30.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.5459, allocations: 13.25 kB / 0.8565 GB, free: 30.04 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.0002543/0.5462, allocations: 174.8 kB / 0.8566 GB, free: 29.9 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.5462, allocations: 23.58 kB / 0.8567 GB, free: 29.9 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.558e-05/0.5463, allocations: 25.58 kB / 0.8567 GB, free: 29.89 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5463, allocations: 2.438 kB / 0.8567 GB, free: 29.89 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.5463, allocations: 0 / 0.8567 GB, free: 29.89 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.5463, allocations: 4.469 kB / 0.8567 GB, free: 29.89 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006816/0.547, allocations: 0.5376 MB / 0.8572 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.547, allocations: 0 / 0.8572 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.5471, allocations: 33.58 kB / 0.8572 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.5471, allocations: 6.094 kB / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.5471, allocations: 6.062 kB / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5471, allocations: 8.656 kB / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5471, allocations: 3.594 kB / 0.8573 GB, free: 29.59 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.5477, allocations: 0.4894 MB / 0.8577 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.5477, allocations: 18.83 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.5477, allocations: 6.438 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.5478, allocations: 18.86 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.5479, allocations: 24.56 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.5479, allocations: 8.953 kB / 0.8578 GB, free: 29.36 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001213/0.5481, allocations: 163 kB / 0.858 GB, free: 29.29 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5481, allocations: 0 / 0.858 GB, free: 29.29 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002363/0.5483, allocations: 54.78 kB / 0.858 GB, free: 29.29 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.0001281/0.5484, allocations: 114.2 kB / 0.8581 GB, free: 29.2 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004377/0.5489, allocations: 380.1 kB / 0.8585 GB, free: 28.97 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5489, allocations: 0 / 0.8585 GB, free: 28.97 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.549, allocations: 172 kB / 0.8587 GB, free: 28.87 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.5494, allocations: 66.84 kB / 0.8587 GB, free: 28.87 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.5505, allocations: 0.6996 MB / 0.8594 GB, free: 28.56 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.5506, allocations: 128.8 kB / 0.8595 GB, free: 28.48 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.5507, allocations: 24.31 kB / 0.8596 GB, free: 28.47 MB / 490.8 MB Notification: Performance of SimCode: time 1.152e-06/0.5507, allocations: 0 / 0.8596 GB, free: 28.47 MB / 490.8 MB Notification: Performance of Templates: time 0.00586/0.5566, allocations: 2.953 MB / 0.8624 GB, free: 28.26 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD07_Ceftizoxime.Ceftizoxime_Karna1993_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD07_Ceftizoxime.Ceftizoxime_Karna1993_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD07_Ceftizoxime.Ceftizoxime_Karna1993_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD07_Ceftizoxime.Ceftizoxime_Karna1993_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD07_Ceftizoxime.Ceftizoxime_Karna1993_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD07_Ceftizoxime.Ceftizoxime_Karna1993_reference > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DD07_Ceftizoxime.Ceftizoxime_Karna1993_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.7967281779274344]