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.002011/0.002011, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.003096/0.003096, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.659/1.659, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] 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 1.342/1.342, allocations: 293 MB / 0.5392 GB, free: 49.73 MB / 410.7 MB " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.6999 GB, free: 8.609 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.655e-05, allocations: 6.281 kB / 0.6999 GB, free: 8.602 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Danielak2018_reference): time 0.002979/0.003006, allocations: 2.701 MB / 0.7026 GB, free: 5.883 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005835/0.008841, allocations: 6.608 MB / 0.709 GB, free: 15.27 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.009014, allocations: 4 kB / 0.709 GB, free: 15.26 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.009185, allocations: 39.64 kB / 0.7091 GB, free: 15.22 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.009535, allocations: 122.9 kB / 0.7092 GB, free: 15.1 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.009835, allocations: 75.83 kB / 0.7092 GB, free: 15.03 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.01034, allocations: 393.9 kB / 0.7096 GB, free: 14.64 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.01052, allocations: 60.88 kB / 0.7097 GB, free: 14.59 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.01084, allocations: 199.5 kB / 0.7099 GB, free: 14.39 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.01113, allocations: 123.6 kB / 0.71 GB, free: 14.27 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.958e-05/0.01118, allocations: 24 kB / 0.71 GB, free: 14.25 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.147e-05/0.01124, allocations: 28 kB / 0.71 GB, free: 14.22 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.01131, allocations: 59.69 kB / 0.7101 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.01147, allocations: 111.7 kB / 0.7102 GB, free: 14.05 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004373/0.01191, allocations: 299 kB / 0.7105 GB, free: 13.76 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.01191, allocations: 0 / 0.7105 GB, free: 13.76 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01191, allocations: 4 kB / 0.7105 GB, free: 13.75 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.01192, allocations: 0 / 0.7105 GB, free: 13.75 MB / 426.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.001239/0.01316, allocations: 0.5925 MB / 0.7111 GB, free: 13.11 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.0132, allocations: 8.031 kB / 0.7111 GB, free: 13.1 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.651e-05/0.01329, allocations: 32.75 kB / 0.7111 GB, free: 13.07 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.01365, allocations: 208.8 kB / 0.7113 GB, free: 12.84 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.01368, allocations: 16.75 kB / 0.7113 GB, free: 12.82 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.01373, allocations: 24.38 kB / 0.7113 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.0143, allocations: 304.4 kB / 0.7116 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.01432, allocations: 7.938 kB / 0.7116 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.01435, allocations: 8 kB / 0.7116 GB, free: 12.47 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.01436, allocations: 4 kB / 0.7117 GB, free: 12.46 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005386/0.0149, allocations: 228.5 kB / 0.7119 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.01622, allocations: 0.6756 MB / 0.7125 GB, free: 11.51 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.01685, allocations: 246 kB / 0.7128 GB, free: 11.25 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.01714, allocations: 152.4 kB / 0.7129 GB, free: 11.08 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.01716, allocations: 4 kB / 0.7129 GB, free: 11.08 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005698/0.01773, allocations: 363.7 kB / 0.7133 GB, free: 10.68 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.834e-06/0.01773, allocations: 0 / 0.7133 GB, free: 10.68 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002279/0.02001, allocations: 1.067 MB / 0.7143 GB, free: 9.52 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/0.02018, allocations: 225.6 kB / 0.7145 GB, free: 9.25 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.02049, allocations: 245.9 kB / 0.7148 GB, free: 9.004 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.02054, allocations: 41.64 kB / 0.7148 GB, free: 8.957 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.02068, allocations: 152.9 kB / 0.7149 GB, free: 8.801 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.0208, allocations: 123 kB / 0.7151 GB, free: 8.68 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.02093, allocations: 66.2 kB / 0.7151 GB, free: 8.605 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.02114, allocations: 350.7 kB / 0.7155 GB, free: 8.254 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.02152, allocations: 203.9 kB / 0.7156 GB, free: 8.035 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/0.02198, allocations: 315.2 kB / 0.7159 GB, free: 7.664 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006999/0.02268, allocations: 439 kB / 0.7164 GB, free: 7.168 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.02268, allocations: 0 / 0.7164 GB, free: 7.168 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009589/0.02364, allocations: 0.5457 MB / 0.7169 GB, free: 6.578 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.006e-05/0.02373, allocations: 89.44 kB / 0.717 GB, free: 6.473 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.02374, allocations: 8 kB / 0.717 GB, free: 6.465 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.02376, allocations: 4 kB / 0.717 GB, free: 6.461 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.02409, allocations: 79.89 kB / 0.7171 GB, free: 6.383 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.0241, allocations: 7.938 kB / 0.7171 GB, free: 6.375 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.02434, allocations: 23.98 kB / 0.7171 GB, free: 6.352 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.02438, allocations: 15.94 kB / 0.7171 GB, free: 6.336 MB / 426.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.0002976/0.02468, allocations: 231 kB / 0.7173 GB, free: 6.09 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.02474, allocations: 35.81 kB / 0.7174 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.02482, allocations: 26.97 kB / 0.7174 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.02483, allocations: 7.984 kB / 0.7174 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.02483, allocations: 0 / 0.7174 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.02484, allocations: 0 / 0.7174 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.02616, allocations: 0.7639 MB / 0.7182 GB, free: 5.195 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.02616, allocations: 3.984 kB / 0.7182 GB, free: 5.191 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.02647, allocations: 59.89 kB / 0.7182 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.02647, allocations: 0 / 0.7182 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.0265, allocations: 8 kB / 0.7182 GB, free: 5.125 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.02651, allocations: 4 kB / 0.7182 GB, free: 5.121 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.02651, allocations: 3.938 kB / 0.7182 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.02774, allocations: 0.723 MB / 0.7189 GB, free: 4.336 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.02779, allocations: 23.81 kB / 0.719 GB, free: 4.312 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.328e-05/0.02785, allocations: 16.06 kB / 0.719 GB, free: 4.297 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.02806, allocations: 19.97 kB / 0.719 GB, free: 4.277 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.02817, allocations: 35.89 kB / 0.719 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.0282, allocations: 12 kB / 0.719 GB, free: 4.23 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002226/0.02842, allocations: 181.2 kB / 0.7192 GB, free: 4.055 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02842, allocations: 0 / 0.7192 GB, free: 4.055 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003733/0.0288, allocations: 87.98 kB / 0.7193 GB, free: 3.969 MB / 426.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.0001794/0.02898, allocations: 125.8 kB / 0.7194 GB, free: 3.844 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000915/0.02989, allocations: 0.5609 MB / 0.72 GB, free: 3.215 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02989, allocations: 4 kB / 0.72 GB, free: 3.211 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1936/0.2235, allocations: 294.9 kB / 0.7202 GB, free: 37.17 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.2242, allocations: 90.31 kB / 0.7203 GB, free: 37.17 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.2255, allocations: 0.7867 MB / 0.7211 GB, free: 36.78 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.2256, allocations: 157.8 kB / 0.7213 GB, free: 36.7 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.2258, allocations: 38.64 kB / 0.7213 GB, free: 36.7 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.2258, allocations: 31.22 kB / 0.7213 GB, free: 36.68 MB / 426.8 MB Notification: Performance of SimCode: time 8.82e-07/0.2258, allocations: 4 kB / 0.7213 GB, free: 36.68 MB / 426.8 MB Notification: Performance of Templates: time 0.009474/0.2353, allocations: 4.563 MB / 0.7258 GB, free: 36.27 MB / 426.8 MB " [Timeout remaining time 660] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Danielak2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.832278759917244]