Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_van2019_final.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.0015/0.0015, 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.001915/0.001915, allocations: 215 kB / 23 MB, free: 2.969 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.071/1.071, 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.8281/0.8281, allocations: 312.3 MB / 0.6108 GB, free: 97.05 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_van2019_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_van2019_final") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_van2019_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_van2019_final") [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.001488/0.001488, allocations: 73.42 kB / 0.7699 GB, free: 19.62 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1613, allocations: 73.99 MB / 0.8422 GB, free: 9.77 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_van2019_final): time 0.003799/0.1651, allocations: 2.698 MB / 0.8448 GB, free: 7.074 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007183/0.1723, allocations: 6.602 MB / 0.8512 GB, free: 484 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.1725, allocations: 7.938 kB / 0.8512 GB, free: 476 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.1726, allocations: 40.16 kB / 0.8513 GB, free: 436 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.1729, allocations: 124.4 kB / 0.8514 GB, free: 312 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.1732, allocations: 68.39 kB / 0.8515 GB, free: 244 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.1736, allocations: 370.2 kB / 0.8518 GB, free: 15.88 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.1738, allocations: 61.48 kB / 0.8519 GB, free: 15.82 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.174, allocations: 136.1 kB / 0.852 GB, free: 15.68 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.1743, allocations: 143.9 kB / 0.8522 GB, free: 15.54 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.1743, allocations: 24 kB / 0.8522 GB, free: 15.52 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.539e-05/0.1744, allocations: 24.5 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.1744, allocations: 60.27 kB / 0.8523 GB, free: 15.44 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.1745, allocations: 135.3 kB / 0.8524 GB, free: 15.3 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.1749, allocations: 287.5 kB / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1749, allocations: 0 / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1749, allocations: 0.625 kB / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1749, allocations: 0.5312 kB / 0.8527 GB, free: 15.02 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.0009995/0.1759, allocations: 0.5981 MB / 0.8532 GB, free: 14.38 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1759, allocations: 15.97 kB / 0.8533 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.109e-05/0.176, allocations: 33.47 kB / 0.8533 GB, free: 14.33 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.1763, allocations: 209.8 kB / 0.8535 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.1763, allocations: 16.75 kB / 0.8535 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.1764, allocations: 24.53 kB / 0.8535 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.1768, allocations: 292.6 kB / 0.8538 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.1769, allocations: 3.953 kB / 0.8538 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.1769, allocations: 12.62 kB / 0.8538 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1769, allocations: 4.688 kB / 0.8538 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.1773, allocations: 233 kB / 0.8541 GB, free: 13.49 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.1783, allocations: 0.6699 MB / 0.8547 GB, free: 12.78 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004765/0.1788, allocations: 243.8 kB / 0.8549 GB, free: 12.52 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.179, allocations: 141.7 kB / 0.8551 GB, free: 12.37 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.179, allocations: 11.92 kB / 0.8551 GB, free: 12.36 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3428/0.5217, allocations: 354 kB / 0.8554 GB, free: 21.35 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.727e-06/0.5217, allocations: 0.875 kB / 0.8554 GB, free: 21.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001424/0.5232, allocations: 1.082 MB / 0.8565 GB, free: 20.86 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.5232, allocations: 220.8 kB / 0.8567 GB, free: 20.61 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.5234, allocations: 249.8 kB / 0.8569 GB, free: 20.51 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.5235, allocations: 39 kB / 0.857 GB, free: 20.48 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.5235, allocations: 156.1 kB / 0.8571 GB, free: 20.38 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.5236, allocations: 112.8 kB / 0.8572 GB, free: 20.32 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.5237, allocations: 77.78 kB / 0.8573 GB, free: 20.3 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.5238, allocations: 340.2 kB / 0.8576 GB, free: 19.99 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.524, allocations: 211.2 kB / 0.8578 GB, free: 19.88 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.5242, allocations: 320.8 kB / 0.8581 GB, free: 19.65 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.5246, allocations: 428.8 kB / 0.8585 GB, free: 19.39 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5246, allocations: 0.75 kB / 0.8585 GB, free: 19.39 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000498/0.5251, allocations: 0.5504 MB / 0.8591 GB, free: 19.15 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.5251, allocations: 88.77 kB / 0.8592 GB, free: 19.06 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5251, allocations: 6.047 kB / 0.8592 GB, free: 19.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.5251, allocations: 5.25 kB / 0.8592 GB, free: 19.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.5253, allocations: 82.77 kB / 0.8592 GB, free: 19.06 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.5253, allocations: 13.55 kB / 0.8593 GB, free: 19.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.5255, allocations: 20.94 kB / 0.8593 GB, free: 19.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.5255, allocations: 17.75 kB / 0.8593 GB, free: 19.05 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.0002098/0.5257, allocations: 227.8 kB / 0.8595 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.5257, allocations: 37.75 kB / 0.8596 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.5258, allocations: 34.28 kB / 0.8596 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5258, allocations: 1.094 kB / 0.8596 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5258, allocations: 2.406 kB / 0.8596 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5258, allocations: 4.922 kB / 0.8596 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00071/0.5265, allocations: 0.7595 MB / 0.8603 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5265, allocations: 2.062 kB / 0.8603 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.5266, allocations: 54.98 kB / 0.8604 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.5266, allocations: 3.969 kB / 0.8604 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.5267, allocations: 10.17 kB / 0.8604 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5267, allocations: 5.312 kB / 0.8604 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5267, allocations: 0 / 0.8604 GB, free: 18.48 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.5273, allocations: 0.732 MB / 0.8611 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.5273, allocations: 25.03 kB / 0.8611 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.5274, allocations: 9.125 kB / 0.8612 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.5275, allocations: 22.31 kB / 0.8612 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/0.5276, allocations: 31.75 kB / 0.8612 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.5276, allocations: 6.578 kB / 0.8612 GB, free: 18.12 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001121/0.5277, allocations: 178.7 kB / 0.8614 GB, free: 18.04 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5277, allocations: 1.594 kB / 0.8614 GB, free: 18.04 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002355/0.5279, allocations: 88.69 kB / 0.8615 GB, free: 18.04 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.0001098/0.528, allocations: 130.5 kB / 0.8616 GB, free: 17.95 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004824/0.5285, allocations: 0.5628 MB / 0.8621 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5285, allocations: 0.625 kB / 0.8621 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.5287, allocations: 300.4 kB / 0.8624 GB, free: 17.42 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.5291, allocations: 87.34 kB / 0.8625 GB, free: 17.42 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.5304, allocations: 0.9719 MB / 0.8635 GB, free: 16.92 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.5306, allocations: 158.1 kB / 0.8636 GB, free: 16.84 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.5307, allocations: 29.06 kB / 0.8636 GB, free: 16.83 MB / 490.8 MB Notification: Performance of SimCode: time 6.81e-07/0.5307, allocations: 0 / 0.8636 GB, free: 16.83 MB / 490.8 MB Notification: Performance of Templates: time 0.00641/0.5371, allocations: 4.022 MB / 0.8676 GB, free: 16.48 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_van2019_final.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_van2019_final.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_van2019_final.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_van2019_final.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_van2019_final.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_van2019_final > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_van2019_final.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.942273177206516]