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.001259/0.001259, allocations: 108.3 kB / 19.71 MB, free: 436 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.002351/0.002351, allocations: 216.4 kB / 23 MB, free: 2.977 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 0.9855/0.9855, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.8144/0.8144, allocations: 312.3 MB / 0.6109 GB, free: 97.09 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.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: 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.001582/0.001582, allocations: 75.94 kB / 0.7699 GB, free: 19.62 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1574, allocations: 73.98 MB / 0.8422 GB, free: 9.777 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil): time 0.003756/0.1612, allocations: 2.715 MB / 0.8448 GB, free: 7.062 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006401/0.1676, allocations: 6.61 MB / 0.8513 GB, free: 464 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.1677, allocations: 0.5312 kB / 0.8513 GB, free: 464 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.1679, allocations: 40.22 kB / 0.8513 GB, free: 424 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.1682, allocations: 116.2 kB / 0.8515 GB, free: 308 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004842/0.1686, allocations: 72.62 kB / 0.8515 GB, free: 236 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.169, allocations: 386.1 kB / 0.8519 GB, free: 15.85 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.1692, allocations: 49.41 kB / 0.8519 GB, free: 15.8 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.1693, allocations: 144.2 kB / 0.8521 GB, free: 15.66 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.1696, allocations: 140 kB / 0.8522 GB, free: 15.53 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.1696, allocations: 24 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.676e-05/0.1697, allocations: 24.81 kB / 0.8523 GB, free: 15.48 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.1697, allocations: 55.72 kB / 0.8523 GB, free: 15.43 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1698, allocations: 139.9 kB / 0.8524 GB, free: 15.29 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.1701, allocations: 286.8 kB / 0.8527 GB, free: 15.01 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1701, allocations: 0.5938 kB / 0.8527 GB, free: 15.01 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1701, allocations: 4.438 kB / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1701, allocations: 3.984 kB / 0.8527 GB, free: 15 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008844/0.171, allocations: 0.5948 MB / 0.8533 GB, free: 14.36 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.171, allocations: 8.031 kB / 0.8533 GB, free: 14.35 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.1711, allocations: 37.25 kB / 0.8533 GB, free: 14.31 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.1713, allocations: 213.8 kB / 0.8535 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1714, allocations: 12.75 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.1714, allocations: 32.59 kB / 0.8536 GB, free: 14.03 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.1717, allocations: 284.4 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.1718, allocations: 12.64 kB / 0.8539 GB, free: 13.72 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1718, allocations: 4 kB / 0.8539 GB, free: 13.72 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1718, allocations: 4.531 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.1721, allocations: 233 kB / 0.8541 GB, free: 13.48 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00082/0.1729, allocations: 0.6815 MB / 0.8548 GB, free: 12.75 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.1733, allocations: 239.1 kB / 0.855 GB, free: 12.5 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.1734, allocations: 149.1 kB / 0.8551 GB, free: 12.34 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1734, allocations: 4.625 kB / 0.8551 GB, free: 12.34 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3193/0.4927, allocations: 352.2 kB / 0.8555 GB, free: 21.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 4.388e-06/0.4928, allocations: 1.156 kB / 0.8555 GB, free: 21.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001759/0.4945, allocations: 1.084 MB / 0.8565 GB, free: 20.81 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.4946, allocations: 217.5 kB / 0.8567 GB, free: 20.56 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.4948, allocations: 250 kB / 0.857 GB, free: 20.46 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.4948, allocations: 34.83 kB / 0.857 GB, free: 20.43 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.4949, allocations: 163.3 kB / 0.8572 GB, free: 20.33 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.68e-05/0.495, allocations: 111.8 kB / 0.8573 GB, free: 20.27 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.905e-05/0.4951, allocations: 77.55 kB / 0.8574 GB, free: 20.25 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.4951, allocations: 339.8 kB / 0.8577 GB, free: 19.94 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.4954, allocations: 211.6 kB / 0.8579 GB, free: 19.83 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.4956, allocations: 318.5 kB / 0.8582 GB, free: 19.61 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.496, allocations: 434.7 kB / 0.8586 GB, free: 19.35 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.496, allocations: 2.844 kB / 0.8586 GB, free: 19.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005757/0.4966, allocations: 0.5456 MB / 0.8591 GB, free: 19.11 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.4966, allocations: 92.94 kB / 0.8592 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4967, allocations: 8.922 kB / 0.8592 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.4967, allocations: 5.75 kB / 0.8592 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.4969, allocations: 78.7 kB / 0.8593 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.4969, allocations: 5.062 kB / 0.8593 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.4971, allocations: 27.25 kB / 0.8593 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.4971, allocations: 21.09 kB / 0.8594 GB, free: 19.01 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: 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.0002014/0.4973, allocations: 223.2 kB / 0.8596 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.4973, allocations: 30.91 kB / 0.8596 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.4974, allocations: 35.12 kB / 0.8596 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4974, allocations: 5.125 kB / 0.8596 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4974, allocations: 1.812 kB / 0.8596 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4974, allocations: 4.531 kB / 0.8597 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008264/0.4982, allocations: 0.7556 MB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4982, allocations: 0.625 kB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.4984, allocations: 61.31 kB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4984, allocations: 0.5938 kB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.4985, allocations: 12.89 kB / 0.8605 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.4985, allocations: 11.41 kB / 0.8605 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4985, allocations: 0.625 kB / 0.8605 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007248/0.4992, allocations: 0.7247 MB / 0.8612 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.4992, allocations: 25.92 kB / 0.8612 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.4993, allocations: 9.906 kB / 0.8612 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.4994, allocations: 22.92 kB / 0.8612 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.576e-05/0.4995, allocations: 28.95 kB / 0.8613 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.4995, allocations: 15.72 kB / 0.8613 GB, free: 18.08 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000137/0.4997, allocations: 181.5 kB / 0.8615 GB, free: 18 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.4997, allocations: 2.938 kB / 0.8615 GB, free: 18 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003404/0.5, allocations: 82.41 kB / 0.8615 GB, free: 18 MB / 490.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.0001248/0.5001, allocations: 123.2 kB / 0.8617 GB, free: 17.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000581/0.5007, allocations: 0.5662 MB / 0.8622 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5007, allocations: 0.5938 kB / 0.8622 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.501, allocations: 300.2 kB / 0.8625 GB, free: 17.38 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.5014, allocations: 84.39 kB / 0.8626 GB, free: 17.38 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.5029, allocations: 0.9763 MB / 0.8635 GB, free: 16.89 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.503, allocations: 159.2 kB / 0.8637 GB, free: 16.8 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/0.5031, allocations: 28.02 kB / 0.8637 GB, free: 16.8 MB / 490.8 MB Notification: Performance of SimCode: time 6.11e-07/0.5031, allocations: 0 / 0.8637 GB, free: 16.8 MB / 490.8 MB Notification: Performance of Templates: time 0.006919/0.51, allocations: 4.02 MB / 0.8676 GB, free: 16.45 MB / 490.8 MB " [Timeout remaining time 659] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DI02_CeftarolineFosamil.CeftarolineFosamil.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.484323135577142]