Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_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.001085/0.001085, 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.001916/0.001916, 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.062/1.062, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.7558/0.7558, allocations: 312.3 MB / 0.6108 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.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_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.001458/0.001458, allocations: 70.08 kB / 0.7699 GB, free: 19.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1331, allocations: 73.99 MB / 0.8422 GB, free: 9.82 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference): time 0.006611/0.1397, allocations: 2.696 MB / 0.8448 GB, free: 7.129 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.1519, allocations: 6.598 MB / 0.8512 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.1521, allocations: 11.88 kB / 0.8513 GB, free: 0.5195 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.1522, allocations: 36.2 kB / 0.8513 GB, free: 496 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003289/0.1555, allocations: 120.1 kB / 0.8514 GB, free: 376 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.1557, allocations: 72.47 kB / 0.8515 GB, free: 304 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005852/0.1563, allocations: 374.8 kB / 0.8518 GB, free: 15.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.1565, allocations: 56.44 kB / 0.8519 GB, free: 15.88 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.1567, allocations: 143.3 kB / 0.852 GB, free: 15.74 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.1569, allocations: 136 kB / 0.8521 GB, free: 15.61 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.157, allocations: 24.75 kB / 0.8522 GB, free: 15.58 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.722e-05/0.157, allocations: 28 kB / 0.8522 GB, free: 15.55 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.157, allocations: 60.2 kB / 0.8523 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.1572, allocations: 136 kB / 0.8524 GB, free: 15.36 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.1575, allocations: 290.8 kB / 0.8527 GB, free: 15.08 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1575, allocations: 0.625 kB / 0.8527 GB, free: 15.08 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1575, allocations: 4.438 kB / 0.8527 GB, free: 15.07 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1575, allocations: 0 / 0.8527 GB, free: 15.07 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.003859/0.1613, allocations: 0.5985 MB / 0.8533 GB, free: 14.43 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1614, allocations: 8.031 kB / 0.8533 GB, free: 14.42 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.1614, allocations: 33.38 kB / 0.8533 GB, free: 14.39 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.1617, allocations: 209.8 kB / 0.8535 GB, free: 14.15 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1617, allocations: 16.75 kB / 0.8535 GB, free: 14.14 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.1618, allocations: 32.45 kB / 0.8535 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.1622, allocations: 284.5 kB / 0.8538 GB, free: 13.81 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1622, allocations: 8.453 kB / 0.8538 GB, free: 13.8 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.1622, allocations: 4 kB / 0.8538 GB, free: 13.8 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1622, allocations: 8.562 kB / 0.8538 GB, free: 13.79 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.1626, allocations: 229.5 kB / 0.854 GB, free: 13.55 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009571/0.1635, allocations: 0.6817 MB / 0.8547 GB, free: 12.83 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/0.164, allocations: 238.7 kB / 0.8549 GB, free: 12.57 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003185/0.1671, allocations: 149.1 kB / 0.8551 GB, free: 12.41 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.1672, allocations: 4.562 kB / 0.8551 GB, free: 12.41 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.1675, allocations: 357.6 kB / 0.8554 GB, free: 12.02 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.073e-06/0.1675, allocations: 0 / 0.8554 GB, free: 12.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2864/0.454, allocations: 1.081 MB / 0.8565 GB, free: 21.07 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.454, allocations: 220.4 kB / 0.8567 GB, free: 20.82 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.4542, allocations: 249.5 kB / 0.8569 GB, free: 20.72 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.4542, allocations: 36.8 kB / 0.857 GB, free: 20.69 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.4543, allocations: 158.2 kB / 0.8571 GB, free: 20.59 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.4544, allocations: 113.6 kB / 0.8572 GB, free: 20.54 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-05/0.4545, allocations: 74.11 kB / 0.8573 GB, free: 20.52 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.752e-05/0.4545, allocations: 342.7 kB / 0.8576 GB, free: 20.2 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.4547, allocations: 212.7 kB / 0.8578 GB, free: 20.09 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.4549, allocations: 320 kB / 0.8581 GB, free: 19.87 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.4553, allocations: 433.9 kB / 0.8585 GB, free: 19.61 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4553, allocations: 1.562 kB / 0.8585 GB, free: 19.61 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00049/0.4558, allocations: 0.551 MB / 0.8591 GB, free: 19.37 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.4558, allocations: 90 kB / 0.8592 GB, free: 19.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4558, allocations: 4.875 kB / 0.8592 GB, free: 19.27 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.4558, allocations: 4.219 kB / 0.8592 GB, free: 19.27 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.456, allocations: 82.16 kB / 0.8593 GB, free: 19.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.456, allocations: 3.031 kB / 0.8593 GB, free: 19.27 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.4562, allocations: 32.44 kB / 0.8593 GB, free: 19.27 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.4562, allocations: 15.34 kB / 0.8593 GB, free: 19.27 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.0001898/0.4564, allocations: 219.8 kB / 0.8595 GB, free: 19.09 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.4564, allocations: 32.92 kB / 0.8595 GB, free: 19.07 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.4564, allocations: 31.53 kB / 0.8596 GB, free: 19.07 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4564, allocations: 9.109 kB / 0.8596 GB, free: 19.07 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4564, allocations: 0 / 0.8596 GB, free: 19.07 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4565, allocations: 1.406 kB / 0.8596 GB, free: 19.07 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007269/0.4572, allocations: 0.7614 MB / 0.8603 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4572, allocations: 3.5 kB / 0.8603 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.4573, allocations: 56.5 kB / 0.8604 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4573, allocations: 2.969 kB / 0.8604 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.4574, allocations: 10.5 kB / 0.8604 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.4574, allocations: 2.297 kB / 0.8604 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4574, allocations: 5.719 kB / 0.8604 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/0.4579, allocations: 0.7295 MB / 0.8611 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.458, allocations: 22.61 kB / 0.8611 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.458, allocations: 9.906 kB / 0.8612 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.4581, allocations: 18.8 kB / 0.8612 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.4582, allocations: 35.62 kB / 0.8612 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.4582, allocations: 13.61 kB / 0.8612 GB, free: 18.34 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001106/0.4583, allocations: 175.4 kB / 0.8614 GB, free: 18.26 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.4583, allocations: 0.5 kB / 0.8614 GB, free: 18.26 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002516/0.4586, allocations: 94.03 kB / 0.8615 GB, free: 18.26 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.0001112/0.4587, allocations: 117.7 kB / 0.8616 GB, free: 18.17 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004851/0.4592, allocations: 0.5681 MB / 0.8621 GB, free: 17.82 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4592, allocations: 0.6875 kB / 0.8621 GB, free: 17.82 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.4594, allocations: 297.2 kB / 0.8624 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.4597, allocations: 89.3 kB / 0.8625 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.461, allocations: 0.9651 MB / 0.8635 GB, free: 17.17 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.4611, allocations: 159.9 kB / 0.8636 GB, free: 17.09 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.4612, allocations: 30.33 kB / 0.8636 GB, free: 17.08 MB / 490.8 MB Notification: Performance of SimCode: time 7.02e-07/0.4612, allocations: 0 / 0.8636 GB, free: 17.08 MB / 490.8 MB Notification: Performance of Templates: time 0.006794/0.468, allocations: 4.03 MB / 0.8676 GB, free: 16.73 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.85714215785265]