Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.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.002199/0.002199, 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.002555/0.002555, 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.779/1.779, 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.4/1.4, 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.L01AA03_Melphalan.Melphalan,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 4 kB / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.774e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan): time 0.004002/0.00403, allocations: 2.704 MB / 0.7026 GB, free: 5.816 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01608/0.02011, allocations: 6.608 MB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.02029, allocations: 4 kB / 0.709 GB, free: 15.2 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.02049, allocations: 39.56 kB / 0.7091 GB, free: 15.16 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.02091, allocations: 134.8 kB / 0.7092 GB, free: 15.02 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.02125, allocations: 71.84 kB / 0.7093 GB, free: 14.95 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006529/0.0219, allocations: 389.9 kB / 0.7096 GB, free: 14.57 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.02211, allocations: 56.89 kB / 0.7097 GB, free: 14.52 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003397/0.0255, allocations: 203.5 kB / 0.7099 GB, free: 14.32 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.02586, allocations: 115.6 kB / 0.71 GB, free: 14.21 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 6.693e-05/0.02593, allocations: 24 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.802e-05/0.026, allocations: 28 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 9.001e-05/0.02609, allocations: 59.69 kB / 0.7101 GB, free: 14.1 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.02632, allocations: 111.8 kB / 0.7102 GB, free: 13.99 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005417/0.02686, allocations: 299 kB / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.02687, allocations: 4 kB / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02687, allocations: 0 / 0.7105 GB, free: 13.69 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.02687, allocations: 0 / 0.7105 GB, free: 13.69 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.004559/0.03143, allocations: 0.5885 MB / 0.7111 GB, free: 13.05 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.03148, allocations: 15.97 kB / 0.7111 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.03159, allocations: 36.75 kB / 0.7111 GB, free: 13 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.03202, allocations: 208.8 kB / 0.7113 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.03206, allocations: 20.69 kB / 0.7113 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.03213, allocations: 20.38 kB / 0.7113 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007532/0.03288, allocations: 288.7 kB / 0.7116 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.03291, allocations: 3.953 kB / 0.7116 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.034e-05/0.03295, allocations: 12 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.03296, allocations: 4 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007538/0.03371, allocations: 240.4 kB / 0.7119 GB, free: 12.16 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004744/0.03846, allocations: 0.6794 MB / 0.7125 GB, free: 11.44 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008374/0.03929, allocations: 238.1 kB / 0.7128 GB, free: 11.18 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.03969, allocations: 156 kB / 0.7129 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.03971, allocations: 0 / 0.7129 GB, free: 11.02 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003737/0.04345, allocations: 373 kB / 0.7133 GB, free: 10.61 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 5.26e-06/0.04345, allocations: 3.984 kB / 0.7133 GB, free: 10.61 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.006035/0.04949, allocations: 1.072 MB / 0.7143 GB, free: 9.441 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002221/0.04971, allocations: 217.6 kB / 0.7145 GB, free: 9.18 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.05015, allocations: 249.9 kB / 0.7148 GB, free: 8.93 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/0.0502, allocations: 37.69 kB / 0.7148 GB, free: 8.887 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.05038, allocations: 152.9 kB / 0.7149 GB, free: 8.73 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.05056, allocations: 115.1 kB / 0.7151 GB, free: 8.617 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.05071, allocations: 74.19 kB / 0.7151 GB, free: 8.535 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002272/0.05094, allocations: 342.8 kB / 0.7155 GB, free: 8.191 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.05134, allocations: 211.9 kB / 0.7157 GB, free: 7.965 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.0518, allocations: 319.1 kB / 0.716 GB, free: 7.594 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007041/0.0525, allocations: 427.1 kB / 0.7164 GB, free: 7.109 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.0525, allocations: 4 kB / 0.7164 GB, free: 7.105 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009836/0.05349, allocations: 0.546 MB / 0.7169 GB, free: 6.516 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.644e-05/0.05357, allocations: 93.09 kB / 0.717 GB, free: 6.406 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.05358, allocations: 4 kB / 0.717 GB, free: 6.402 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.0536, allocations: 4 kB / 0.717 GB, free: 6.398 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.05394, allocations: 79.83 kB / 0.7171 GB, free: 6.32 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.05395, allocations: 7.984 kB / 0.7171 GB, free: 6.312 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.05419, allocations: 23.98 kB / 0.7171 GB, free: 6.289 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.05422, allocations: 16 kB / 0.7171 GB, free: 6.273 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.0002891/0.05451, allocations: 227.1 kB / 0.7173 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.05457, allocations: 31.81 kB / 0.7174 GB, free: 5.996 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.438e-05/0.05464, allocations: 30.95 kB / 0.7174 GB, free: 5.965 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.05465, allocations: 4 kB / 0.7174 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.05465, allocations: 0 / 0.7174 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.05466, allocations: 3.984 kB / 0.7174 GB, free: 5.957 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.056, allocations: 0.7677 MB / 0.7182 GB, free: 5.129 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.056, allocations: 4 kB / 0.7182 GB, free: 5.125 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.0563, allocations: 51.97 kB / 0.7182 GB, free: 5.074 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.0563, allocations: 3.938 kB / 0.7182 GB, free: 5.07 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.05633, allocations: 15.98 kB / 0.7182 GB, free: 5.055 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.05634, allocations: 4 kB / 0.7182 GB, free: 5.051 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.05634, allocations: 3.938 kB / 0.7182 GB, free: 5.047 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.05756, allocations: 0.7152 MB / 0.7189 GB, free: 4.273 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.05761, allocations: 35.86 kB / 0.719 GB, free: 4.238 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.05767, allocations: 12 kB / 0.719 GB, free: 4.227 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.05789, allocations: 15.98 kB / 0.719 GB, free: 4.211 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.058, allocations: 31.89 kB / 0.719 GB, free: 4.18 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.05803, allocations: 15.98 kB / 0.719 GB, free: 4.164 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002065/0.05823, allocations: 177.2 kB / 0.7192 GB, free: 3.992 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.05823, allocations: 0 / 0.7192 GB, free: 3.992 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003714/0.0586, allocations: 84 kB / 0.7193 GB, free: 3.91 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.0001874/0.05879, allocations: 130.9 kB / 0.7194 GB, free: 3.777 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009927/0.05978, allocations: 0.5609 MB / 0.72 GB, free: 3.148 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.05979, allocations: 0 / 0.72 GB, free: 3.148 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.174/0.2337, allocations: 296.1 kB / 0.7202 GB, free: 37.16 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.2344, allocations: 85.08 kB / 0.7203 GB, free: 37.16 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.2358, allocations: 0.7913 MB / 0.7211 GB, free: 36.75 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.2359, allocations: 162.3 kB / 0.7213 GB, free: 36.68 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.236, allocations: 33.38 kB / 0.7213 GB, free: 36.67 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.2361, allocations: 29 kB / 0.7213 GB, free: 36.66 MB / 426.8 MB Notification: Performance of SimCode: time 1.343e-06/0.2361, allocations: 4 kB / 0.7213 GB, free: 36.65 MB / 426.8 MB Notification: Performance of Templates: time 0.009395/0.2455, allocations: 4.552 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.L01AA03_Melphalan.Melphalan.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AA03_Melphalan.Melphalan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.032934010028839]