Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Danielak2018_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.001185/0.001185, allocations: 112.3 kB / 19.71 MB, free: 432 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.0014/0.0014, allocations: 213.3 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.008/1.008, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.8371/0.8371, allocations: 312.3 MB / 0.6108 GB, free: 97.58 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_Danielak2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Danielak2018_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Danielak2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Danielak2018_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.001864/0.001864, allocations: 72.98 kB / 0.7699 GB, free: 20.25 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.153, allocations: 73.99 MB / 0.8421 GB, free: 10.39 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Danielak2018_reference): time 0.003613/0.1566, allocations: 2.705 MB / 0.8448 GB, free: 7.688 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007043/0.1636, allocations: 6.602 MB / 0.8512 GB, free: 1.086 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.1639, allocations: 8.594 kB / 0.8512 GB, free: 1.078 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.1641, allocations: 31.64 kB / 0.8513 GB, free: 1.047 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.1644, allocations: 124.3 kB / 0.8514 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.1648, allocations: 68.41 kB / 0.8515 GB, free: 0.8594 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005941/0.1654, allocations: 378.7 kB / 0.8518 GB, free: 500 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.1656, allocations: 57.45 kB / 0.8519 GB, free: 444 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.1658, allocations: 135.5 kB / 0.852 GB, free: 308 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.166, allocations: 140 kB / 0.8521 GB, free: 168 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.166, allocations: 24.62 kB / 0.8522 GB, free: 144 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.803e-05/0.1661, allocations: 24.59 kB / 0.8522 GB, free: 120 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.1661, allocations: 63.69 kB / 0.8522 GB, free: 56 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.1662, allocations: 132.2 kB / 0.8524 GB, free: 15.92 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.1665, allocations: 290.8 kB / 0.8526 GB, free: 15.64 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1666, allocations: 0.6875 kB / 0.8526 GB, free: 15.64 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1666, allocations: 0.625 kB / 0.8526 GB, free: 15.64 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1666, allocations: 0 / 0.8526 GB, free: 15.64 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.000867/0.1674, allocations: 0.6021 MB / 0.8532 GB, free: 14.98 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1675, allocations: 12.47 kB / 0.8532 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.1676, allocations: 32.75 kB / 0.8533 GB, free: 14.94 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.1678, allocations: 209.7 kB / 0.8535 GB, free: 14.71 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.1679, allocations: 21.28 kB / 0.8535 GB, free: 14.69 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.1679, allocations: 19.94 kB / 0.8535 GB, free: 14.67 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.1683, allocations: 293 kB / 0.8538 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1683, allocations: 7.953 kB / 0.8538 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.1683, allocations: 8.594 kB / 0.8538 GB, free: 14.35 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1683, allocations: 4 kB / 0.8538 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.1686, allocations: 233.7 kB / 0.854 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009012/0.1695, allocations: 0.6778 MB / 0.8547 GB, free: 13.39 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.1699, allocations: 234.1 kB / 0.8549 GB, free: 13.14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.1701, allocations: 161.5 kB / 0.8551 GB, free: 12.96 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.1701, allocations: 4 kB / 0.8551 GB, free: 12.96 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003491/0.1705, allocations: 350.8 kB / 0.8554 GB, free: 12.57 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.076e-06/0.1705, allocations: 0.5938 kB / 0.8554 GB, free: 12.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.4096/0.58, allocations: 1.071 MB / 0.8565 GB, free: 30.58 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.5801, allocations: 225.2 kB / 0.8567 GB, free: 30.33 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.5804, allocations: 248.9 kB / 0.8569 GB, free: 30.23 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.5805, allocations: 34.8 kB / 0.8569 GB, free: 30.2 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.5806, allocations: 161.4 kB / 0.8571 GB, free: 30.11 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.143e-05/0.5807, allocations: 117.4 kB / 0.8572 GB, free: 30.04 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.5808, allocations: 75.33 kB / 0.8573 GB, free: 30.02 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.186e-05/0.5809, allocations: 342.1 kB / 0.8576 GB, free: 29.71 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.5812, allocations: 207.1 kB / 0.8578 GB, free: 29.61 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.5815, allocations: 314.3 kB / 0.8581 GB, free: 29.38 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000516/0.582, allocations: 439.5 kB / 0.8585 GB, free: 29.12 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.582, allocations: 5.141 kB / 0.8585 GB, free: 29.12 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007575/0.5828, allocations: 0.5485 MB / 0.8591 GB, free: 28.88 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.512e-05/0.5828, allocations: 91.69 kB / 0.8592 GB, free: 28.79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5828, allocations: 4.031 kB / 0.8592 GB, free: 28.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/0.5829, allocations: 5.469 kB / 0.8592 GB, free: 28.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.5832, allocations: 84.84 kB / 0.8592 GB, free: 28.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.5832, allocations: 7.969 kB / 0.8593 GB, free: 28.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.5834, allocations: 19.97 kB / 0.8593 GB, free: 28.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.5834, allocations: 16.25 kB / 0.8593 GB, free: 28.79 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.0003094/0.5837, allocations: 227 kB / 0.8595 GB, free: 28.59 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.5838, allocations: 38.19 kB / 0.8595 GB, free: 28.58 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.5838, allocations: 25 kB / 0.8596 GB, free: 28.57 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5839, allocations: 4.094 kB / 0.8596 GB, free: 28.57 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.5839, allocations: 0 / 0.8596 GB, free: 28.57 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.5839, allocations: 4.828 kB / 0.8596 GB, free: 28.57 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.585, allocations: 0.7682 MB / 0.8603 GB, free: 28.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.585, allocations: 4.5 kB / 0.8603 GB, free: 28.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.5852, allocations: 55.36 kB / 0.8604 GB, free: 28.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.5852, allocations: 0.5938 kB / 0.8604 GB, free: 28.2 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.5852, allocations: 11.12 kB / 0.8604 GB, free: 28.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.5852, allocations: 3.281 kB / 0.8604 GB, free: 28.2 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5852, allocations: 0 / 0.8604 GB, free: 28.2 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008034/0.586, allocations: 0.731 MB / 0.8611 GB, free: 27.84 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.5861, allocations: 29.33 kB / 0.8611 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.5861, allocations: 9 kB / 0.8611 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.5863, allocations: 23.69 kB / 0.8612 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.5864, allocations: 29.22 kB / 0.8612 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.5865, allocations: 15.48 kB / 0.8612 GB, free: 27.83 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002166/0.5867, allocations: 176.7 kB / 0.8614 GB, free: 27.75 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.5867, allocations: 0 / 0.8614 GB, free: 27.75 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000474/0.5871, allocations: 90.09 kB / 0.8615 GB, free: 27.74 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.0001957/0.5873, allocations: 123.8 kB / 0.8616 GB, free: 27.65 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0008649/0.5882, allocations: 0.5672 MB / 0.8621 GB, free: 27.29 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5882, allocations: 0.5312 kB / 0.8621 GB, free: 27.29 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.5886, allocations: 298.1 kB / 0.8624 GB, free: 27.1 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006571/0.5892, allocations: 84.14 kB / 0.8625 GB, free: 27.1 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.5915, allocations: 0.9568 MB / 0.8634 GB, free: 26.63 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.5918, allocations: 159.7 kB / 0.8636 GB, free: 26.55 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.5919, allocations: 32.64 kB / 0.8636 GB, free: 26.54 MB / 490.8 MB Notification: Performance of SimCode: time 1.954e-06/0.5919, allocations: 0 / 0.8636 GB, free: 26.54 MB / 490.8 MB Notification: Performance of Templates: time 0.01474/0.6066, allocations: 4.027 MB / 0.8676 GB, free: 26.17 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Danielak2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Danielak2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Danielak2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Danielak2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Danielak2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Danielak2018_reference > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Danielak2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.925719377584755]