Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_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.002522/0.002522, 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.003149/0.003149, allocations: 173.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.523/1.523, allocations: 177.1 MB / 202.8 MB, free: 5.77 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.385/1.385, 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.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.6999 GB, free: 8.566 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.612e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.562 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference): time 0.004941/0.004977, allocations: 2.688 MB / 0.7025 GB, free: 5.855 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.007794/0.01277, allocations: 6.611 MB / 0.709 GB, free: 15.23 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.013, allocations: 4 kB / 0.709 GB, free: 15.23 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.0132, allocations: 39.52 kB / 0.709 GB, free: 15.19 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.01355, allocations: 134.9 kB / 0.7091 GB, free: 15.06 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.01385, allocations: 71.83 kB / 0.7092 GB, free: 14.99 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.000497/0.01435, allocations: 389.9 kB / 0.7096 GB, free: 14.61 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.01453, allocations: 56.88 kB / 0.7096 GB, free: 14.55 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.01483, allocations: 199.6 kB / 0.7098 GB, free: 14.36 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.01514, allocations: 119.6 kB / 0.7099 GB, free: 14.24 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.0152, allocations: 24 kB / 0.71 GB, free: 14.22 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.98e-05/0.01526, allocations: 28 kB / 0.71 GB, free: 14.19 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.173e-05/0.01533, allocations: 59.64 kB / 0.71 GB, free: 14.13 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.01549, allocations: 115.8 kB / 0.7102 GB, free: 14.02 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004919/0.01599, allocations: 303.7 kB / 0.7104 GB, free: 13.72 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.016, allocations: 4 kB / 0.7104 GB, free: 13.72 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.615e-06/0.016, allocations: 0 / 0.7104 GB, free: 13.72 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.01601, allocations: 0 / 0.7104 GB, free: 13.72 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.001266/0.01727, allocations: 0.5885 MB / 0.711 GB, free: 13.08 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.01731, allocations: 12.03 kB / 0.711 GB, free: 13.07 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.467e-05/0.0174, allocations: 32.75 kB / 0.7111 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.01772, allocations: 208.8 kB / 0.7113 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.01775, allocations: 16.75 kB / 0.7113 GB, free: 12.79 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.0178, allocations: 24.38 kB / 0.7113 GB, free: 12.77 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.01837, allocations: 296.5 kB / 0.7116 GB, free: 12.46 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.0184, allocations: 3.953 kB / 0.7116 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.01843, allocations: 12 kB / 0.7116 GB, free: 12.44 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.01844, allocations: 15.92 kB / 0.7116 GB, free: 12.43 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005311/0.01897, allocations: 232.4 kB / 0.7118 GB, free: 12.18 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.02028, allocations: 0.6678 MB / 0.7125 GB, free: 11.48 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006407/0.02092, allocations: 253.5 kB / 0.7127 GB, free: 11.21 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.0212, allocations: 144.5 kB / 0.7129 GB, free: 11.05 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.02121, allocations: 0 / 0.7129 GB, free: 11.05 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005443/0.02175, allocations: 363.9 kB / 0.7132 GB, free: 10.65 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.864e-06/0.02176, allocations: 0 / 0.7132 GB, free: 10.65 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002418/0.02417, allocations: 1.078 MB / 0.7143 GB, free: 9.477 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/0.02439, allocations: 213.6 kB / 0.7145 GB, free: 9.219 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.02484, allocations: 253.8 kB / 0.7147 GB, free: 8.965 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/0.0249, allocations: 33.7 kB / 0.7148 GB, free: 8.926 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.0251, allocations: 152.9 kB / 0.7149 GB, free: 8.77 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.02526, allocations: 115 kB / 0.715 GB, free: 8.656 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.02547, allocations: 74.2 kB / 0.7151 GB, free: 8.574 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002463/0.02571, allocations: 346.7 kB / 0.7154 GB, free: 8.227 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.02621, allocations: 207.9 kB / 0.7156 GB, free: 8.004 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.0268, allocations: 315.1 kB / 0.7159 GB, free: 7.633 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009416/0.02774, allocations: 435.1 kB / 0.7163 GB, free: 7.141 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.02775, allocations: 4 kB / 0.7163 GB, free: 7.137 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009797/0.02873, allocations: 0.5497 MB / 0.7169 GB, free: 6.543 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.029e-05/0.02882, allocations: 94.03 kB / 0.717 GB, free: 6.434 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.02883, allocations: 4 kB / 0.717 GB, free: 6.43 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.02886, allocations: 4 kB / 0.717 GB, free: 6.426 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.02919, allocations: 75.83 kB / 0.717 GB, free: 6.352 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.0292, allocations: 8 kB / 0.717 GB, free: 6.344 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.02944, allocations: 24.3 kB / 0.7171 GB, free: 6.32 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.02948, allocations: 23.94 kB / 0.7171 GB, free: 6.297 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.0003557/0.02983, allocations: 227 kB / 0.7173 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.02989, allocations: 35.8 kB / 0.7173 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.104e-05/0.02997, allocations: 26.97 kB / 0.7174 GB, free: 5.992 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.02998, allocations: 4 kB / 0.7174 GB, free: 5.988 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.02999, allocations: 3.938 kB / 0.7174 GB, free: 5.984 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.03, allocations: 3.984 kB / 0.7174 GB, free: 5.98 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.03135, allocations: 0.7678 MB / 0.7181 GB, free: 5.152 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.03135, allocations: 4 kB / 0.7181 GB, free: 5.148 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.03167, allocations: 55.95 kB / 0.7182 GB, free: 5.094 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.03167, allocations: 0 / 0.7182 GB, free: 5.094 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.03171, allocations: 8 kB / 0.7182 GB, free: 5.086 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.03172, allocations: 4 kB / 0.7182 GB, free: 5.082 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.03172, allocations: 7.875 kB / 0.7182 GB, free: 5.074 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.03295, allocations: 0.7153 MB / 0.7189 GB, free: 4.301 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.03301, allocations: 31.86 kB / 0.7189 GB, free: 4.27 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/0.03307, allocations: 12 kB / 0.7189 GB, free: 4.258 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.03328, allocations: 15.98 kB / 0.719 GB, free: 4.242 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.03339, allocations: 31.88 kB / 0.719 GB, free: 4.211 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.03342, allocations: 12 kB / 0.719 GB, free: 4.199 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002307/0.03365, allocations: 177.2 kB / 0.7192 GB, free: 4.027 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.03365, allocations: 0 / 0.7192 GB, free: 4.027 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003762/0.03403, allocations: 88 kB / 0.7192 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.0001923/0.03422, allocations: 130.4 kB / 0.7194 GB, free: 3.809 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009271/0.03514, allocations: 0.5609 MB / 0.7199 GB, free: 3.18 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.03515, allocations: 0.6875 kB / 0.7199 GB, free: 3.18 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2355/0.2707, allocations: 305.8 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.0007784/0.2714, allocations: 83.16 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.001622/0.2731, allocations: 0.7946 MB / 0.7211 GB, free: 36.76 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.2732, allocations: 158.4 kB / 0.7212 GB, free: 36.68 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.000172/0.2734, allocations: 34.98 kB / 0.7213 GB, free: 36.68 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.2735, allocations: 31.42 kB / 0.7213 GB, free: 36.66 MB / 426.8 MB Notification: Performance of SimCode: time 1.573e-06/0.2735, allocations: 0 / 0.7213 GB, free: 36.66 MB / 426.8 MB Notification: Performance of Templates: time 0.01375/0.2872, allocations: 4.564 MB / 0.7257 GB, free: 36.26 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.101802468067035]