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.00133/0.00133, allocations: 92.42 kB / 19.94 MB, free: 4.598 MB / 18.57 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.001089/0.001089, allocations: 165.9 kB / 23.21 MB, free: 1.328 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.005/1.005, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7072/0.7072, allocations: 291.1 MB / 0.5382 GB, free: 51.89 MB / 410.7 MB " [Timeout remaining time 179] 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.113e-06/1.113e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.711e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine): time 0.002093/0.00211, allocations: 2.696 MB / 0.7 GB, free: 7.656 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003791/0.005901, allocations: 6.611 MB / 0.7065 GB, free: 1.035 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.33e-05/0.005994, allocations: 4 kB / 0.7065 GB, free: 1.031 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.006107, allocations: 39.58 kB / 0.7065 GB, free: 0.9922 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.006288, allocations: 127 kB / 0.7066 GB, free: 0.8672 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.006466, allocations: 75.77 kB / 0.7067 GB, free: 0.793 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.006689, allocations: 385.9 kB / 0.7071 GB, free: 424 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.006823, allocations: 64.81 kB / 0.7071 GB, free: 364 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.006961, allocations: 199.5 kB / 0.7073 GB, free: 164 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.007124, allocations: 123.6 kB / 0.7075 GB, free: 40 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.007154, allocations: 24 kB / 0.7075 GB, free: 16 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.138e-05/0.007195, allocations: 28.05 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.007235, allocations: 67.64 kB / 0.7076 GB, free: 15.92 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 8.639e-05/0.007322, allocations: 103.8 kB / 0.7077 GB, free: 15.82 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.007566, allocations: 299.1 kB / 0.708 GB, free: 15.53 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.007568, allocations: 0 / 0.708 GB, free: 15.53 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007569, allocations: 0 / 0.708 GB, free: 15.53 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.007579, allocations: 4 kB / 0.708 GB, free: 15.52 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.0007138/0.008293, allocations: 0.5885 MB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.008332, allocations: 8.031 kB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.008389, allocations: 32.75 kB / 0.7086 GB, free: 14.84 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.008607, allocations: 216.7 kB / 0.7088 GB, free: 14.61 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.008627, allocations: 16.75 kB / 0.7088 GB, free: 14.59 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.008659, allocations: 20.38 kB / 0.7088 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.008975, allocations: 296.7 kB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.00899, allocations: 3.953 kB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.009009, allocations: 15.94 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.009016, allocations: 4 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.009285, allocations: 236.4 kB / 0.7093 GB, free: 13.99 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007557/0.01004, allocations: 0.6718 MB / 0.71 GB, free: 13.28 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.01039, allocations: 248.7 kB / 0.7102 GB, free: 13.02 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.01054, allocations: 148.4 kB / 0.7104 GB, free: 12.86 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.01055, allocations: 4 kB / 0.7104 GB, free: 12.85 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002936/0.01084, allocations: 365.5 kB / 0.7107 GB, free: 12.45 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.01084, allocations: 0 / 0.7107 GB, free: 12.45 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001208/0.01205, allocations: 1.083 MB / 0.7118 GB, free: 11.27 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.01213, allocations: 217.6 kB / 0.712 GB, free: 11.01 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.01229, allocations: 245.9 kB / 0.7122 GB, free: 10.77 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.01231, allocations: 33.7 kB / 0.7123 GB, free: 10.73 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.01239, allocations: 156.8 kB / 0.7124 GB, free: 10.57 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.01244, allocations: 119 kB / 0.7125 GB, free: 10.45 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.01252, allocations: 70.2 kB / 0.7126 GB, free: 10.37 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.0126, allocations: 350.7 kB / 0.7129 GB, free: 10.02 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.01279, allocations: 203.9 kB / 0.7131 GB, free: 9.801 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.013, allocations: 319.1 kB / 0.7134 GB, free: 9.43 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.01334, allocations: 431.1 kB / 0.7138 GB, free: 8.941 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01334, allocations: 0 / 0.7138 GB, free: 8.941 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004715/0.01381, allocations: 0.5498 MB / 0.7144 GB, free: 8.348 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/0.01386, allocations: 93.09 kB / 0.7145 GB, free: 8.238 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01387, allocations: 4 kB / 0.7145 GB, free: 8.234 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.01388, allocations: 4 kB / 0.7145 GB, free: 8.23 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.01405, allocations: 79.83 kB / 0.7145 GB, free: 8.152 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.01406, allocations: 4 kB / 0.7145 GB, free: 8.148 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.01417, allocations: 23.98 kB / 0.7146 GB, free: 8.125 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.01419, allocations: 20.22 kB / 0.7146 GB, free: 8.105 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.0001895/0.01438, allocations: 223.1 kB / 0.7148 GB, free: 7.863 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.01441, allocations: 35.75 kB / 0.7148 GB, free: 7.828 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.01445, allocations: 30.95 kB / 0.7149 GB, free: 7.797 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.01445, allocations: 4 kB / 0.7149 GB, free: 7.793 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.01446, allocations: 0 / 0.7149 GB, free: 7.793 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01446, allocations: 0 / 0.7149 GB, free: 7.793 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007112/0.01518, allocations: 0.7678 MB / 0.7156 GB, free: 6.965 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01518, allocations: 3.938 kB / 0.7156 GB, free: 6.961 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.01532, allocations: 55.95 kB / 0.7157 GB, free: 6.906 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01533, allocations: 0 / 0.7157 GB, free: 6.906 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.01534, allocations: 12 kB / 0.7157 GB, free: 6.895 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01535, allocations: 0 / 0.7157 GB, free: 6.895 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.01535, allocations: 7.938 kB / 0.7157 GB, free: 6.887 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/0.016, allocations: 0.7268 MB / 0.7164 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.01604, allocations: 27.88 kB / 0.7164 GB, free: 6.074 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.01607, allocations: 15.98 kB / 0.7164 GB, free: 6.059 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.01617, allocations: 15.98 kB / 0.7165 GB, free: 6.043 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.01624, allocations: 31.89 kB / 0.7165 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.01626, allocations: 12 kB / 0.7165 GB, free: 6 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001142/0.01637, allocations: 181.2 kB / 0.7167 GB, free: 5.824 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01637, allocations: 0 / 0.7167 GB, free: 5.824 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002154/0.01659, allocations: 88 kB / 0.7168 GB, free: 5.738 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 9.189e-05/0.01668, allocations: 122.9 kB / 0.7169 GB, free: 5.613 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004581/0.01714, allocations: 0.5609 MB / 0.7174 GB, free: 4.984 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01714, allocations: 0 / 0.7174 GB, free: 4.984 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.01734, allocations: 306.3 kB / 0.7177 GB, free: 4.652 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.01766, allocations: 84.56 kB / 0.7178 GB, free: 4.57 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009499/0.01861, allocations: 0.8164 MB / 0.7186 GB, free: 3.711 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.599e-05/0.01871, allocations: 164.3 kB / 0.7188 GB, free: 3.527 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.01878, allocations: 28.5 kB / 0.7188 GB, free: 3.5 MB / 426.8 MB Notification: Performance of SimCode: time 5.41e-07/0.01878, allocations: 0 / 0.7188 GB, free: 3.5 MB / 426.8 MB Notification: Performance of Templates: time 0.1577/0.1765, allocations: 4.029 MB / 0.7227 GB, free: 36.92 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 > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.931042205542326]