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.0007652/0.0007652, allocations: 104.4 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.000882/0.000882, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.1/1.1, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.814/0.814, allocations: 312.3 MB / 0.6109 GB, free: 97.12 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.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: 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.001508/0.001508, allocations: 78.59 kB / 0.7699 GB, free: 19.58 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1677, allocations: 73.99 MB / 0.8422 GB, free: 9.727 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam): time 0.003608/0.1713, allocations: 2.703 MB / 0.8448 GB, free: 7.023 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007314/0.1786, allocations: 6.606 MB / 0.8513 GB, free: 428 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.1788, allocations: 4.594 kB / 0.8513 GB, free: 424 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.179, allocations: 36.14 kB / 0.8513 GB, free: 388 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.1793, allocations: 120.3 kB / 0.8514 GB, free: 268 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1796, allocations: 72.41 kB / 0.8515 GB, free: 196 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.1801, allocations: 382.6 kB / 0.8519 GB, free: 15.82 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.1803, allocations: 56.89 kB / 0.8519 GB, free: 15.76 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.1805, allocations: 136.1 kB / 0.8521 GB, free: 15.63 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005637/0.181, allocations: 140.1 kB / 0.8522 GB, free: 15.49 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.1811, allocations: 24 kB / 0.8522 GB, free: 15.47 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.79e-05/0.1811, allocations: 24.5 kB / 0.8522 GB, free: 15.45 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.1812, allocations: 56.5 kB / 0.8523 GB, free: 15.39 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.1813, allocations: 135.4 kB / 0.8524 GB, free: 15.26 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.1816, allocations: 291.4 kB / 0.8527 GB, free: 14.97 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.1816, allocations: 0 / 0.8527 GB, free: 14.97 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.317e-06/0.1816, allocations: 4.719 kB / 0.8527 GB, free: 14.97 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.709e-06/0.1817, allocations: 0 / 0.8527 GB, free: 14.97 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.001043/0.1827, allocations: 0.5984 MB / 0.8533 GB, free: 14.32 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.1828, allocations: 12.03 kB / 0.8533 GB, free: 14.31 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.1828, allocations: 37.23 kB / 0.8533 GB, free: 14.27 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.1831, allocations: 213.6 kB / 0.8535 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.1832, allocations: 13.25 kB / 0.8536 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.1832, allocations: 31.92 kB / 0.8536 GB, free: 13.99 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.1836, allocations: 284.6 kB / 0.8539 GB, free: 13.7 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.1836, allocations: 8.578 kB / 0.8539 GB, free: 13.69 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.1837, allocations: 8.594 kB / 0.8539 GB, free: 13.68 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1837, allocations: 4 kB / 0.8539 GB, free: 13.68 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.184, allocations: 233.7 kB / 0.8541 GB, free: 13.44 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.185, allocations: 0.6776 MB / 0.8548 GB, free: 12.72 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.1854, allocations: 239.1 kB / 0.855 GB, free: 12.46 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.1856, allocations: 153.1 kB / 0.8551 GB, free: 12.3 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.1856, allocations: 0 / 0.8551 GB, free: 12.3 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.366/0.5516, allocations: 352.7 kB / 0.8555 GB, free: 21.32 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 4.949e-06/0.5516, allocations: 0.875 kB / 0.8555 GB, free: 21.32 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001504/0.5531, allocations: 1.084 MB / 0.8565 GB, free: 20.83 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.5532, allocations: 221.6 kB / 0.8567 GB, free: 20.58 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.5534, allocations: 253.6 kB / 0.857 GB, free: 20.47 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.5534, allocations: 36.83 kB / 0.857 GB, free: 20.44 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.5535, allocations: 158.2 kB / 0.8572 GB, free: 20.34 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.5535, allocations: 108.5 kB / 0.8573 GB, free: 20.28 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.486e-05/0.5536, allocations: 79.34 kB / 0.8573 GB, free: 20.26 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.5536, allocations: 339.1 kB / 0.8577 GB, free: 19.95 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.5538, allocations: 209 kB / 0.8579 GB, free: 19.84 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.554, allocations: 317.3 kB / 0.8582 GB, free: 19.61 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.5543, allocations: 438.8 kB / 0.8586 GB, free: 19.36 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5543, allocations: 0 / 0.8586 GB, free: 19.36 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004557/0.5548, allocations: 0.5514 MB / 0.8591 GB, free: 19.11 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.5548, allocations: 91.03 kB / 0.8592 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5548, allocations: 8.703 kB / 0.8592 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.5548, allocations: 5.344 kB / 0.8592 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.555, allocations: 77.73 kB / 0.8593 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.555, allocations: 9.328 kB / 0.8593 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.5551, allocations: 21.72 kB / 0.8593 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.5552, allocations: 21.91 kB / 0.8594 GB, free: 19.02 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.0001737/0.5553, allocations: 220.3 kB / 0.8596 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.5554, allocations: 30.56 kB / 0.8596 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.5554, allocations: 31.75 kB / 0.8596 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5554, allocations: 7.25 kB / 0.8596 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5554, allocations: 0 / 0.8596 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.5554, allocations: 6.703 kB / 0.8596 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.5561, allocations: 0.7634 MB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5561, allocations: 0 / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.5562, allocations: 53.67 kB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5562, allocations: 3.938 kB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.5562, allocations: 14.91 kB / 0.8605 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.5562, allocations: 3.938 kB / 0.8605 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5562, allocations: 3.344 kB / 0.8605 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.5568, allocations: 0.7265 MB / 0.8612 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/0.5568, allocations: 22.5 kB / 0.8612 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.5569, allocations: 11.38 kB / 0.8612 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.557, allocations: 21 kB / 0.8612 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.5571, allocations: 28.5 kB / 0.8612 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.5571, allocations: 13.7 kB / 0.8613 GB, free: 18.08 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001098/0.5572, allocations: 177.9 kB / 0.8614 GB, free: 18 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.5572, allocations: 0.5938 kB / 0.8614 GB, free: 18 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002425/0.5574, allocations: 87.53 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.0001044/0.5575, allocations: 126.5 kB / 0.8616 GB, free: 17.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004671/0.558, allocations: 0.5647 MB / 0.8622 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.558, allocations: 0 / 0.8622 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.5582, allocations: 307.7 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.0003707/0.5586, allocations: 82.72 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.001208/0.5598, allocations: 0.9729 MB / 0.8635 GB, free: 16.9 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.5599, allocations: 159.9 kB / 0.8637 GB, free: 16.82 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/0.56, allocations: 28.69 kB / 0.8637 GB, free: 16.81 MB / 490.8 MB Notification: Performance of SimCode: time 5.11e-07/0.56, allocations: 0 / 0.8637 GB, free: 16.81 MB / 490.8 MB Notification: Performance of Templates: time 0.005957/0.5659, allocations: 4.021 MB / 0.8676 GB, free: 16.45 MB / 490.8 MB " [Timeout remaining time 659] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.795227913185954]