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.001963/0.001963, 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.001984/0.001984, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.601/1.601, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.36/1.36, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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_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: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.6999 GB, free: 8.578 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.232e-05, allocations: 10.22 kB / 0.6999 GB, free: 8.566 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference): time 0.004715/0.004747, allocations: 2.696 MB / 0.7025 GB, free: 5.852 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.009024/0.01377, allocations: 6.604 MB / 0.709 GB, free: 15.24 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003387/0.01411, allocations: 4 kB / 0.709 GB, free: 15.23 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.01432, allocations: 35.58 kB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.01482, allocations: 134.8 kB / 0.7091 GB, free: 15.07 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.01518, allocations: 71.83 kB / 0.7092 GB, free: 15 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006788/0.01585, allocations: 397.9 kB / 0.7096 GB, free: 14.61 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.01607, allocations: 56.88 kB / 0.7096 GB, free: 14.55 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003857/0.01646, allocations: 195.6 kB / 0.7098 GB, free: 14.36 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003731/0.01683, allocations: 123.6 kB / 0.71 GB, free: 14.24 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 7.034e-05/0.0169, allocations: 24 kB / 0.71 GB, free: 14.22 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-05/0.01698, allocations: 24 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 9.011e-05/0.01707, allocations: 59.69 kB / 0.7101 GB, free: 14.14 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.01728, allocations: 115.8 kB / 0.7102 GB, free: 14.02 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.01783, allocations: 295 kB / 0.7104 GB, free: 13.73 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.01783, allocations: 0 / 0.7104 GB, free: 13.73 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.362e-06/0.01783, allocations: 4 kB / 0.7104 GB, free: 13.73 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.01784, allocations: 0 / 0.7104 GB, free: 13.73 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.001517/0.01936, allocations: 0.5924 MB / 0.711 GB, free: 13.09 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.01942, allocations: 8.031 kB / 0.711 GB, free: 13.08 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.01953, allocations: 32.75 kB / 0.7111 GB, free: 13.05 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.01998, allocations: 216.7 kB / 0.7113 GB, free: 12.81 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.02002, allocations: 12.75 kB / 0.7113 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.54e-05/0.0201, allocations: 32.31 kB / 0.7113 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007809/0.02088, allocations: 296.5 kB / 0.7116 GB, free: 12.46 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.0209, allocations: 3.953 kB / 0.7116 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.02094, allocations: 8 kB / 0.7116 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.02095, allocations: 4 kB / 0.7116 GB, free: 12.44 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007568/0.02171, allocations: 232.4 kB / 0.7118 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.02358, allocations: 0.6873 MB / 0.7125 GB, free: 11.47 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008933/0.02447, allocations: 234 kB / 0.7127 GB, free: 11.22 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004446/0.02492, allocations: 156.4 kB / 0.7129 GB, free: 11.05 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.02494, allocations: 4 kB / 0.7129 GB, free: 11.05 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006122/0.02555, allocations: 365 kB / 0.7132 GB, free: 10.64 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.996e-06/0.02555, allocations: 0 / 0.7132 GB, free: 10.64 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002636/0.02819, allocations: 1.072 MB / 0.7143 GB, free: 9.48 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002384/0.02843, allocations: 225.6 kB / 0.7145 GB, free: 9.211 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.02891, allocations: 241.9 kB / 0.7147 GB, free: 8.969 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.278e-05/0.02896, allocations: 37.7 kB / 0.7148 GB, free: 8.926 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.0291, allocations: 152.9 kB / 0.7149 GB, free: 8.77 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.02928, allocations: 119 kB / 0.715 GB, free: 8.652 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.02947, allocations: 66.2 kB / 0.7151 GB, free: 8.578 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002773/0.02975, allocations: 346.7 kB / 0.7154 GB, free: 8.23 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005505/0.0303, allocations: 211.9 kB / 0.7156 GB, free: 8.004 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/0.03097, allocations: 315.1 kB / 0.7159 GB, free: 7.633 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.03203, allocations: 439.1 kB / 0.7163 GB, free: 7.137 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.03203, allocations: 0 / 0.7163 GB, free: 7.137 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001473/0.0335, allocations: 0.5497 MB / 0.7169 GB, free: 6.543 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.03361, allocations: 89.44 kB / 0.717 GB, free: 6.438 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.03362, allocations: 8 kB / 0.717 GB, free: 6.43 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.03365, allocations: 4 kB / 0.717 GB, free: 6.426 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/0.03418, allocations: 79.83 kB / 0.717 GB, free: 6.348 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.0342, allocations: 4 kB / 0.717 GB, free: 6.344 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.03458, allocations: 19.98 kB / 0.7171 GB, free: 6.324 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.03464, allocations: 20 kB / 0.7171 GB, free: 6.305 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.0004331/0.03507, allocations: 235 kB / 0.7173 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.332e-05/0.03515, allocations: 31.81 kB / 0.7173 GB, free: 6.023 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.94e-05/0.03525, allocations: 34.95 kB / 0.7174 GB, free: 5.988 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.03526, allocations: 4 kB / 0.7174 GB, free: 5.984 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.03527, allocations: 0 / 0.7174 GB, free: 5.984 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.03527, allocations: 0 / 0.7174 GB, free: 5.984 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.03718, allocations: 0.7599 MB / 0.7181 GB, free: 5.164 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.03719, allocations: 0 / 0.7181 GB, free: 5.164 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000485/0.03767, allocations: 55.95 kB / 0.7182 GB, free: 5.109 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.03768, allocations: 4 kB / 0.7182 GB, free: 5.105 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.03772, allocations: 15.94 kB / 0.7182 GB, free: 5.09 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.03773, allocations: 0 / 0.7182 GB, free: 5.09 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.03773, allocations: 7.938 kB / 0.7182 GB, free: 5.082 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.03949, allocations: 0.723 MB / 0.7189 GB, free: 4.301 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.318e-05/0.03958, allocations: 23.81 kB / 0.7189 GB, free: 4.277 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.435e-05/0.03966, allocations: 12.05 kB / 0.7189 GB, free: 4.266 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.03998, allocations: 23.98 kB / 0.719 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.04012, allocations: 31.89 kB / 0.719 GB, free: 4.211 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.04016, allocations: 12 kB / 0.719 GB, free: 4.199 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0003063/0.04047, allocations: 181.2 kB / 0.7192 GB, free: 4.023 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.04047, allocations: 0 / 0.7192 GB, free: 4.023 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0006355/0.0411, allocations: 84 kB / 0.7193 GB, free: 3.941 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.0002613/0.04136, allocations: 126.9 kB / 0.7194 GB, free: 3.812 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.04263, allocations: 0.5648 MB / 0.7199 GB, free: 3.18 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.04264, allocations: 0 / 0.7199 GB, free: 3.18 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.221/0.2636, allocations: 298.8 kB / 0.7202 GB, free: 37.1 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007753/0.2644, allocations: 85.58 kB / 0.7203 GB, free: 37.1 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.2659, allocations: 0.79 MB / 0.7211 GB, free: 36.71 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.2661, allocations: 161.4 kB / 0.7212 GB, free: 36.63 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.2663, allocations: 33.67 kB / 0.7213 GB, free: 36.62 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.2663, allocations: 34.09 kB / 0.7213 GB, free: 36.61 MB / 426.8 MB Notification: Performance of SimCode: time 1.242e-06/0.2663, allocations: 4 kB / 0.7213 GB, free: 36.61 MB / 426.8 MB Notification: Performance of Templates: time 0.01078/0.2771, allocations: 4.553 MB / 0.7257 GB, free: 36.21 MB / 426.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AB02_Treosulfan.Treosulfan_Chiesa2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.875003425171599]