Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.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.002346/0.002346, 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.002797/0.002797, 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.588/1.588, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.377/1.377, allocations: 292.9 MB / 0.5392 GB, free: 49.81 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6999 GB, free: 8.535 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.488e-05/3.662e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.527 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan): time 0.005079/0.005116, allocations: 2.717 MB / 0.7026 GB, free: 5.789 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.01564, allocations: 6.596 MB / 0.709 GB, free: 15.18 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003642/0.016, allocations: 0 / 0.709 GB, free: 15.18 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.01631, allocations: 43.56 kB / 0.7091 GB, free: 15.14 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0007563/0.01706, allocations: 134.8 kB / 0.7092 GB, free: 15.01 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.01753, allocations: 75.83 kB / 0.7093 GB, free: 14.93 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0008912/0.01842, allocations: 389.9 kB / 0.7096 GB, free: 14.55 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.01869, allocations: 52.89 kB / 0.7097 GB, free: 14.5 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000607/0.0193, allocations: 199.6 kB / 0.7099 GB, free: 14.31 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005265/0.01983, allocations: 119.6 kB / 0.71 GB, free: 14.19 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 9.947e-05/0.01993, allocations: 28 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.02003, allocations: 31.94 kB / 0.71 GB, free: 14.13 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.02015, allocations: 59.7 kB / 0.7101 GB, free: 14.07 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002967/0.02044, allocations: 111.7 kB / 0.7102 GB, free: 13.96 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0007207/0.02116, allocations: 299 kB / 0.7105 GB, free: 13.67 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.02117, allocations: 0 / 0.7105 GB, free: 13.67 MB / 426.8 MB Notification: Performance of FrontEnd: time 5.991e-06/0.02118, allocations: 7.984 kB / 0.7105 GB, free: 13.66 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.02119, allocations: 3.938 kB / 0.7105 GB, free: 13.66 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.002011/0.0232, allocations: 0.5925 MB / 0.7111 GB, free: 13.02 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.02326, allocations: 8.031 kB / 0.7111 GB, free: 13.01 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.02341, allocations: 32.75 kB / 0.7111 GB, free: 12.98 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005893/0.02399, allocations: 208.8 kB / 0.7113 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.02404, allocations: 12.75 kB / 0.7113 GB, free: 12.74 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-05/0.02413, allocations: 24.38 kB / 0.7114 GB, free: 12.71 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009641/0.02509, allocations: 288.7 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/0.02513, allocations: 7.953 kB / 0.7116 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.02517, allocations: 4 kB / 0.7116 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.02519, allocations: 12 kB / 0.7117 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009588/0.02615, allocations: 236.4 kB / 0.7119 GB, free: 12.14 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.02847, allocations: 0.6833 MB / 0.7125 GB, free: 11.42 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.02951, allocations: 239.5 kB / 0.7128 GB, free: 11.16 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005301/0.03004, allocations: 148.5 kB / 0.7129 GB, free: 11 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.03006, allocations: 4 kB / 0.7129 GB, free: 11 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009806/0.03104, allocations: 357.5 kB / 0.7133 GB, free: 10.6 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.505e-06/0.03105, allocations: 0 / 0.7133 GB, free: 10.6 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.003993/0.03504, allocations: 1.079 MB / 0.7143 GB, free: 9.43 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003125/0.03535, allocations: 221.6 kB / 0.7145 GB, free: 9.164 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.03588, allocations: 249.8 kB / 0.7148 GB, free: 8.914 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.03595, allocations: 33.7 kB / 0.7148 GB, free: 8.875 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.03617, allocations: 152.9 kB / 0.7149 GB, free: 8.719 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.03639, allocations: 119.1 kB / 0.7151 GB, free: 8.602 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.03661, allocations: 74.19 kB / 0.7151 GB, free: 8.52 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0003058/0.03691, allocations: 346.7 kB / 0.7155 GB, free: 8.172 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006189/0.03753, allocations: 203.9 kB / 0.7157 GB, free: 7.953 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007776/0.03831, allocations: 319.1 kB / 0.716 GB, free: 7.582 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.03987, allocations: 435.1 kB / 0.7164 GB, free: 7.09 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.03988, allocations: 0 / 0.7164 GB, free: 7.09 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001771/0.04165, allocations: 0.5535 MB / 0.7169 GB, free: 6.492 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.04179, allocations: 89.11 kB / 0.717 GB, free: 6.387 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.0418, allocations: 4 kB / 0.717 GB, free: 6.383 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.676e-05/0.04184, allocations: 7.984 kB / 0.717 GB, free: 6.375 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/0.04248, allocations: 83.83 kB / 0.7171 GB, free: 6.293 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.0425, allocations: 4 kB / 0.7171 GB, free: 6.289 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.04295, allocations: 28.27 kB / 0.7171 GB, free: 6.262 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/0.043, allocations: 16 kB / 0.7171 GB, free: 6.246 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.0004771/0.04348, allocations: 223.9 kB / 0.7173 GB, free: 6.004 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.836e-05/0.04358, allocations: 31.81 kB / 0.7174 GB, free: 5.973 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.0437, allocations: 34.95 kB / 0.7174 GB, free: 5.938 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.04371, allocations: 0 / 0.7174 GB, free: 5.938 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.04372, allocations: 0 / 0.7174 GB, free: 5.938 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.04373, allocations: 3.984 kB / 0.7174 GB, free: 5.934 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.04605, allocations: 0.7717 MB / 0.7182 GB, free: 5.102 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.04606, allocations: 0 / 0.7182 GB, free: 5.102 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005869/0.04664, allocations: 55.97 kB / 0.7182 GB, free: 5.047 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.04665, allocations: 0 / 0.7182 GB, free: 5.047 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/0.0467, allocations: 15.98 kB / 0.7182 GB, free: 5.031 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.0467, allocations: 0 / 0.7182 GB, free: 5.031 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.04671, allocations: 3.938 kB / 0.7182 GB, free: 5.027 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.04891, allocations: 0.7269 MB / 0.7189 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.04903, allocations: 23.8 kB / 0.719 GB, free: 4.219 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.04914, allocations: 12.06 kB / 0.719 GB, free: 4.207 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.04953, allocations: 15.98 kB / 0.719 GB, free: 4.191 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.04971, allocations: 35.89 kB / 0.719 GB, free: 4.156 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.04976, allocations: 11.98 kB / 0.719 GB, free: 4.145 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0003749/0.05013, allocations: 177.2 kB / 0.7192 GB, free: 3.973 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.01e-07/0.05013, allocations: 0 / 0.7192 GB, free: 3.973 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0007564/0.05089, allocations: 88 kB / 0.7193 GB, free: 3.887 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.0006121/0.0515, allocations: 126.9 kB / 0.7194 GB, free: 3.758 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.05313, allocations: 0.5648 MB / 0.72 GB, free: 3.125 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.05313, allocations: 0.6875 kB / 0.72 GB, free: 3.125 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2149/0.268, allocations: 299.9 kB / 0.7203 GB, free: 37.15 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007626/0.2688, allocations: 85.89 kB / 0.7203 GB, free: 37.15 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.2703, allocations: 0.7902 MB / 0.7211 GB, free: 36.75 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.2705, allocations: 159.2 kB / 0.7213 GB, free: 36.68 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.2707, allocations: 40.56 kB / 0.7213 GB, free: 36.67 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.585e-05/0.2707, allocations: 27.08 kB / 0.7213 GB, free: 36.66 MB / 426.8 MB Notification: Performance of SimCode: time 1.092e-06/0.2707, allocations: 0 / 0.7213 GB, free: 36.66 MB / 426.8 MB Notification: Performance of Templates: time 0.01094/0.2817, allocations: 4.551 MB / 0.7258 GB, free: 36.25 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.921419478021562]