Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine.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.001946/0.001946, 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.002085/0.002085, 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.561/1.561, 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.329/1.329, allocations: 293 MB / 0.5392 GB, free: 50.2 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.6999 GB, free: 8.5 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.683e-05/3.878e-05, allocations: 3.406 kB / 0.6999 GB, free: 8.496 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine): time 0.004644/0.004683, allocations: 2.711 MB / 0.7026 GB, free: 5.766 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.009041/0.01372, allocations: 6.608 MB / 0.709 GB, free: 15.15 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.01406, allocations: 8 kB / 0.7091 GB, free: 15.14 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.01429, allocations: 39.56 kB / 0.7091 GB, free: 15.1 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005604/0.01485, allocations: 134.8 kB / 0.7092 GB, free: 14.97 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.0153, allocations: 67.84 kB / 0.7093 GB, free: 14.9 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007446/0.01605, allocations: 389.9 kB / 0.7097 GB, free: 14.52 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.01635, allocations: 56.88 kB / 0.7097 GB, free: 14.47 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004431/0.01679, allocations: 203.6 kB / 0.7099 GB, free: 14.27 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004481/0.01724, allocations: 123.6 kB / 0.71 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 8.117e-05/0.01732, allocations: 24 kB / 0.71 GB, free: 14.12 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.064e-05/0.0174, allocations: 27.94 kB / 0.7101 GB, free: 14.1 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.01751, allocations: 59.7 kB / 0.7101 GB, free: 14.04 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.01774, allocations: 111.8 kB / 0.7102 GB, free: 13.93 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006505/0.01839, allocations: 303 kB / 0.7105 GB, free: 13.63 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.0184, allocations: 0 / 0.7105 GB, free: 13.63 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.813e-06/0.0184, allocations: 0 / 0.7105 GB, free: 13.63 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.01841, allocations: 0 / 0.7105 GB, free: 13.63 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.001918/0.02033, allocations: 0.5885 MB / 0.7111 GB, free: 12.99 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.02038, allocations: 12.03 kB / 0.7111 GB, free: 12.98 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.02052, allocations: 36.73 kB / 0.7111 GB, free: 12.95 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.02106, allocations: 204.8 kB / 0.7113 GB, free: 12.72 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.02111, allocations: 20.73 kB / 0.7114 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.392e-05/0.02119, allocations: 20.38 kB / 0.7114 GB, free: 12.68 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00091/0.0221, allocations: 292.7 kB / 0.7117 GB, free: 12.38 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.02213, allocations: 7.953 kB / 0.7117 GB, free: 12.37 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/0.02218, allocations: 12 kB / 0.7117 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.0222, allocations: 4 kB / 0.7117 GB, free: 12.35 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009406/0.02314, allocations: 232.4 kB / 0.7119 GB, free: 12.11 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.02555, allocations: 0.6794 MB / 0.7126 GB, free: 11.39 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.02656, allocations: 243.5 kB / 0.7128 GB, free: 11.13 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004968/0.02705, allocations: 148.4 kB / 0.7129 GB, free: 10.97 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.02707, allocations: 0 / 0.7129 GB, free: 10.97 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009174/0.02799, allocations: 357.5 kB / 0.7133 GB, free: 10.57 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.926e-06/0.02799, allocations: 4 kB / 0.7133 GB, free: 10.57 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.003926/0.03192, allocations: 1.079 MB / 0.7143 GB, free: 9.398 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002494/0.03217, allocations: 217.6 kB / 0.7145 GB, free: 9.137 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005066/0.03268, allocations: 249.9 kB / 0.7148 GB, free: 8.887 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/0.03274, allocations: 33.7 kB / 0.7148 GB, free: 8.848 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.03295, allocations: 156.8 kB / 0.715 GB, free: 8.688 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.03315, allocations: 115.1 kB / 0.7151 GB, free: 8.574 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.03338, allocations: 78.19 kB / 0.7152 GB, free: 8.488 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000312/0.03369, allocations: 338.8 kB / 0.7155 GB, free: 8.148 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008994/0.03459, allocations: 211.9 kB / 0.7157 GB, free: 7.922 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008144/0.03541, allocations: 315.1 kB / 0.716 GB, free: 7.555 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.03667, allocations: 427.1 kB / 0.7164 GB, free: 7.07 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.03668, allocations: 4 kB / 0.7164 GB, free: 7.066 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001685/0.03837, allocations: 0.5535 MB / 0.7169 GB, free: 6.469 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.03849, allocations: 93.09 kB / 0.717 GB, free: 6.359 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.03851, allocations: 4 kB / 0.717 GB, free: 6.355 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.267e-05/0.03855, allocations: 7.938 kB / 0.717 GB, free: 6.348 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/0.03917, allocations: 72.23 kB / 0.7171 GB, free: 6.277 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.763e-05/0.0392, allocations: 12 kB / 0.7171 GB, free: 6.266 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.03969, allocations: 23.92 kB / 0.7171 GB, free: 6.242 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/0.03975, allocations: 23.98 kB / 0.7172 GB, free: 6.219 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.0004938/0.04025, allocations: 229.8 kB / 0.7174 GB, free: 5.973 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.04035, allocations: 31.81 kB / 0.7174 GB, free: 5.941 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.04048, allocations: 30.95 kB / 0.7174 GB, free: 5.91 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.04049, allocations: 4 kB / 0.7174 GB, free: 5.906 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.04049, allocations: 4 kB / 0.7174 GB, free: 5.902 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/0.0405, allocations: 0 / 0.7174 GB, free: 5.902 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.04276, allocations: 0.7716 MB / 0.7182 GB, free: 5.07 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.04276, allocations: 0 / 0.7182 GB, free: 5.07 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/0.04333, allocations: 51.97 kB / 0.7182 GB, free: 5.02 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.04334, allocations: 0 / 0.7182 GB, free: 5.02 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.04339, allocations: 11.98 kB / 0.7183 GB, free: 5.008 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.0434, allocations: 4 kB / 0.7183 GB, free: 5.004 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.0434, allocations: 11.88 kB / 0.7183 GB, free: 4.992 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.0455, allocations: 0.7113 MB / 0.719 GB, free: 4.223 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.04563, allocations: 31.86 kB / 0.719 GB, free: 4.191 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.04575, allocations: 12 kB / 0.719 GB, free: 4.18 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.04615, allocations: 15.98 kB / 0.719 GB, free: 4.164 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.04632, allocations: 27.89 kB / 0.719 GB, free: 4.137 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.04637, allocations: 15.98 kB / 0.7191 GB, free: 4.121 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0003585/0.04673, allocations: 177.2 kB / 0.7192 GB, free: 3.949 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.61e-07/0.04673, allocations: 4 kB / 0.7192 GB, free: 3.945 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0007115/0.04744, allocations: 92 kB / 0.7193 GB, free: 3.855 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.0002335/0.04768, allocations: 118.9 kB / 0.7194 GB, free: 3.734 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.2551/0.3027, allocations: 0.5599 MB / 0.72 GB, free: 37.14 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3027, allocations: 0 / 0.72 GB, free: 37.14 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004857/0.3032, allocations: 303.3 kB / 0.7203 GB, free: 36.96 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008112/0.304, allocations: 84.66 kB / 0.7204 GB, free: 36.96 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.3087, allocations: 0.7943 MB / 0.7211 GB, free: 36.56 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.3088, allocations: 160 kB / 0.7213 GB, free: 36.48 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.309, allocations: 38.92 kB / 0.7213 GB, free: 36.48 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.3091, allocations: 32.41 kB / 0.7214 GB, free: 36.46 MB / 426.8 MB Notification: Performance of SimCode: time 1.032e-06/0.3091, allocations: 0 / 0.7214 GB, free: 36.46 MB / 426.8 MB Notification: Performance of Templates: time 0.02379/0.3329, allocations: 4.557 MB / 0.7258 GB, free: 36.04 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.881358871003613]