Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.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.001536/0.001536, 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.001625/0.001625, allocations: 215.5 kB / 23 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.148/1.148, allocations: 230.6 MB / 256.8 MB, free: 9.574 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.8553/0.8553, allocations: 312.3 MB / 0.6109 GB, free: 97.08 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.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin") [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.001784/0.001784, allocations: 77.47 kB / 0.7699 GB, free: 19.62 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1554, allocations: 73.99 MB / 0.8422 GB, free: 9.766 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin): time 0.003466/0.1589, allocations: 2.711 MB / 0.8448 GB, free: 7.055 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006885/0.1658, allocations: 6.602 MB / 0.8513 GB, free: 464 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002772/0.1661, allocations: 4 kB / 0.8513 GB, free: 460 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.1662, allocations: 40.19 kB / 0.8513 GB, free: 420 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.1666, allocations: 124.3 kB / 0.8515 GB, free: 296 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.1669, allocations: 72.84 kB / 0.8515 GB, free: 224 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.1673, allocations: 378.1 kB / 0.8519 GB, free: 15.85 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.1675, allocations: 45.42 kB / 0.8519 GB, free: 15.8 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.1676, allocations: 144.2 kB / 0.8521 GB, free: 15.66 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.1679, allocations: 140 kB / 0.8522 GB, free: 15.53 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.1679, allocations: 24 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.809e-05/0.168, allocations: 28.5 kB / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.168, allocations: 56.38 kB / 0.8523 GB, free: 15.42 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.1681, allocations: 139.4 kB / 0.8524 GB, free: 15.29 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.1685, allocations: 287.4 kB / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1685, allocations: 0 / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.955e-06/0.1685, allocations: 0.625 kB / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.188e-06/0.1685, allocations: 0 / 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.0009307/0.1694, allocations: 0.6008 MB / 0.8533 GB, free: 14.36 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.1695, allocations: 8.031 kB / 0.8533 GB, free: 14.35 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.1695, allocations: 37.31 kB / 0.8533 GB, free: 14.31 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.1699, allocations: 209.1 kB / 0.8535 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.1699, allocations: 21.47 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.17, allocations: 27.92 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.1703, allocations: 288.6 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1704, allocations: 4.578 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.1704, allocations: 12.48 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1704, allocations: 8 kB / 0.8539 GB, free: 13.71 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.1707, allocations: 225.5 kB / 0.8541 GB, free: 13.48 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009075/0.1716, allocations: 0.6778 MB / 0.8548 GB, free: 12.76 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.172, allocations: 234.7 kB / 0.855 GB, free: 12.5 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.1722, allocations: 153.5 kB / 0.8551 GB, free: 12.34 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.1722, allocations: 7.938 kB / 0.8551 GB, free: 12.33 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4205/0.5927, allocations: 351.1 kB / 0.8555 GB, free: 21.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 6.182e-06/0.5927, allocations: 0.875 kB / 0.8555 GB, free: 21.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.002085/0.5948, allocations: 1.085 MB / 0.8565 GB, free: 20.82 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/0.5948, allocations: 219.5 kB / 0.8567 GB, free: 20.57 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.5951, allocations: 255.6 kB / 0.857 GB, free: 20.46 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.5952, allocations: 35.77 kB / 0.857 GB, free: 20.43 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.5953, allocations: 154.9 kB / 0.8572 GB, free: 20.33 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.5953, allocations: 115.3 kB / 0.8573 GB, free: 20.28 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.5955, allocations: 74.44 kB / 0.8574 GB, free: 20.26 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.5955, allocations: 343 kB / 0.8577 GB, free: 19.95 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.5958, allocations: 212.1 kB / 0.8579 GB, free: 19.84 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.5961, allocations: 317.5 kB / 0.8582 GB, free: 19.61 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.5965, allocations: 434.2 kB / 0.8586 GB, free: 19.35 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.5965, allocations: 1.344 kB / 0.8586 GB, free: 19.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006265/0.5971, allocations: 0.5485 MB / 0.8591 GB, free: 19.11 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.635e-05/0.5972, allocations: 98.09 kB / 0.8592 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.5972, allocations: 3.812 kB / 0.8592 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.65e-05/0.5972, allocations: 4.969 kB / 0.8592 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.5975, allocations: 79.5 kB / 0.8593 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.5975, allocations: 8.844 kB / 0.8593 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.5977, allocations: 27.19 kB / 0.8593 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.5977, allocations: 14.03 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.0003206/0.598, allocations: 223.3 kB / 0.8596 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.5981, allocations: 32.97 kB / 0.8596 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.5981, allocations: 31.48 kB / 0.8596 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.5981, allocations: 6.812 kB / 0.8596 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.5982, allocations: 1.875 kB / 0.8596 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.5982, allocations: 6.094 kB / 0.8596 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009993/0.5992, allocations: 0.7538 MB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5992, allocations: 0 / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.5994, allocations: 57.22 kB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.5994, allocations: 0.5312 kB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.5994, allocations: 10.69 kB / 0.8604 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.5994, allocations: 8.656 kB / 0.8605 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5994, allocations: 0.5 kB / 0.8605 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007728/0.6002, allocations: 0.725 MB / 0.8612 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.6002, allocations: 29.45 kB / 0.8612 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.6003, allocations: 8.219 kB / 0.8612 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.6004, allocations: 26.81 kB / 0.8612 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.6005, allocations: 30.55 kB / 0.8613 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.6005, allocations: 10.25 kB / 0.8613 GB, free: 18.08 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001583/0.6007, allocations: 178.5 kB / 0.8614 GB, free: 18 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6007, allocations: 3.219 kB / 0.8614 GB, free: 18 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003268/0.601, allocations: 85.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.0001785/0.6012, allocations: 128.2 kB / 0.8616 GB, free: 17.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006596/0.6019, allocations: 0.5668 MB / 0.8622 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6019, allocations: 0 / 0.8622 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.6021, allocations: 301.4 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.0004961/0.6026, allocations: 79.8 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.001697/0.6043, allocations: 0.9709 MB / 0.8635 GB, free: 16.9 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.6045, allocations: 159 kB / 0.8637 GB, free: 16.82 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-05/0.6046, allocations: 32.5 kB / 0.8637 GB, free: 16.81 MB / 490.8 MB Notification: Performance of SimCode: time 1.292e-06/0.6046, allocations: 1.406 kB / 0.8637 GB, free: 16.81 MB / 490.8 MB Notification: Performance of Templates: time 0.01026/0.6148, allocations: 4.018 MB / 0.8676 GB, free: 16.46 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01X_OtherAntibacterials.J01XX09_Daptomycin.Daptomycin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.208010355941951]