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.001509/0.001509, allocations: 92.42 kB / 19.94 MB, free: 4.605 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.001414/0.001414, allocations: 169.9 kB / 23.21 MB, free: 1.332 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.026/1.026, 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.7/0.7, allocations: 291.2 MB / 0.5382 GB, free: 51.9 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_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 1.322e-06/1.322e-06, allocations: 0 / 0.6974 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.204e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference): time 0.002071/0.002093, allocations: 2.701 MB / 0.7 GB, free: 7.695 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003639/0.005732, allocations: 6.611 MB / 0.7065 GB, free: 1.074 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.005862, allocations: 0 / 0.7065 GB, free: 1.074 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.005983, allocations: 43.56 kB / 0.7065 GB, free: 1.031 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.006185, allocations: 127 kB / 0.7066 GB, free: 0.9062 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.006387, allocations: 71.89 kB / 0.7067 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.006603, allocations: 393.9 kB / 0.7071 GB, free: 460 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.006734, allocations: 56.83 kB / 0.7071 GB, free: 408 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.006867, allocations: 203.4 kB / 0.7073 GB, free: 204 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.007033, allocations: 127.6 kB / 0.7074 GB, free: 76 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.007061, allocations: 28 kB / 0.7075 GB, free: 48 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.465e-05/0.007086, allocations: 24 kB / 0.7075 GB, free: 24 kB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.007128, allocations: 51.77 kB / 0.7075 GB, free: 15.97 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 8.576e-05/0.007214, allocations: 119.7 kB / 0.7077 GB, free: 15.86 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.007449, allocations: 291.1 kB / 0.7079 GB, free: 15.57 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.007452, allocations: 0 / 0.7079 GB, free: 15.57 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.051e-06/0.007453, allocations: 0 / 0.7079 GB, free: 15.57 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.007458, allocations: 0 / 0.7079 GB, free: 15.57 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.0007058/0.008163, allocations: 0.6002 MB / 0.7085 GB, free: 14.92 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.008198, allocations: 8.031 kB / 0.7085 GB, free: 14.91 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.008251, allocations: 32.75 kB / 0.7086 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.008455, allocations: 216.7 kB / 0.7088 GB, free: 14.64 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.008476, allocations: 16.75 kB / 0.7088 GB, free: 14.62 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.008507, allocations: 24.31 kB / 0.7088 GB, free: 14.6 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.008815, allocations: 292.5 kB / 0.7091 GB, free: 14.3 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.008831, allocations: 7.953 kB / 0.7091 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.008847, allocations: 8 kB / 0.7091 GB, free: 14.28 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.008854, allocations: 8 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.009124, allocations: 228.5 kB / 0.7093 GB, free: 14.04 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007473/0.009871, allocations: 0.6796 MB / 0.71 GB, free: 13.32 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.01024, allocations: 238 kB / 0.7102 GB, free: 13.06 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.01038, allocations: 152.4 kB / 0.7104 GB, free: 12.89 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.01039, allocations: 4 kB / 0.7104 GB, free: 12.89 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002905/0.01068, allocations: 365.2 kB / 0.7107 GB, free: 12.49 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/0.01068, allocations: 0 / 0.7107 GB, free: 12.49 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001204/0.01188, allocations: 1.079 MB / 0.7118 GB, free: 11.32 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.012, allocations: 217.6 kB / 0.712 GB, free: 11.05 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.01216, allocations: 245.9 kB / 0.7122 GB, free: 10.81 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.01218, allocations: 37.7 kB / 0.7122 GB, free: 10.77 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.01226, allocations: 160.7 kB / 0.7124 GB, free: 10.6 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.01231, allocations: 115.1 kB / 0.7125 GB, free: 10.49 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.01238, allocations: 74.19 kB / 0.7126 GB, free: 10.41 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.01252, allocations: 350.7 kB / 0.7129 GB, free: 10.05 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.0127, allocations: 203.9 kB / 0.7131 GB, free: 9.836 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.01291, allocations: 315.2 kB / 0.7134 GB, free: 9.465 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.01324, allocations: 435 kB / 0.7138 GB, free: 8.973 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01324, allocations: 0 / 0.7138 GB, free: 8.973 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004719/0.01372, allocations: 0.5497 MB / 0.7144 GB, free: 8.379 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.01389, allocations: 89.11 kB / 0.7144 GB, free: 8.273 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01389, allocations: 0 / 0.7144 GB, free: 8.273 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.01391, allocations: 4 kB / 0.7144 GB, free: 8.27 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.01407, allocations: 79.89 kB / 0.7145 GB, free: 8.191 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.01408, allocations: 12.27 kB / 0.7145 GB, free: 8.18 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.0142, allocations: 27.98 kB / 0.7146 GB, free: 8.152 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.01421, allocations: 12 kB / 0.7146 GB, free: 8.141 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.0001714/0.01438, allocations: 219.1 kB / 0.7148 GB, free: 7.906 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.01441, allocations: 35.81 kB / 0.7148 GB, free: 7.871 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.01445, allocations: 34.95 kB / 0.7149 GB, free: 7.836 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01445, allocations: 0 / 0.7149 GB, free: 7.836 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.01446, allocations: 4 kB / 0.7149 GB, free: 7.832 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.01446, allocations: 11.97 kB / 0.7149 GB, free: 7.82 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006705/0.01513, allocations: 0.7561 MB / 0.7156 GB, free: 7.004 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01514, allocations: 0 / 0.7156 GB, free: 7.004 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.01528, allocations: 51.91 kB / 0.7157 GB, free: 6.953 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.01528, allocations: 4 kB / 0.7157 GB, free: 6.949 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.0153, allocations: 15.98 kB / 0.7157 GB, free: 6.934 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.0153, allocations: 0 / 0.7157 GB, free: 6.934 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.0153, allocations: 3.938 kB / 0.7157 GB, free: 6.93 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.01589, allocations: 0.7308 MB / 0.7164 GB, free: 6.141 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.01592, allocations: 27.8 kB / 0.7164 GB, free: 6.113 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.01596, allocations: 12.06 kB / 0.7164 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-05/0.01605, allocations: 11.98 kB / 0.7164 GB, free: 6.09 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.01613, allocations: 35.89 kB / 0.7165 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.01614, allocations: 15.98 kB / 0.7165 GB, free: 6.039 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001058/0.01625, allocations: 177.2 kB / 0.7167 GB, free: 5.867 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01625, allocations: 3.938 kB / 0.7167 GB, free: 5.863 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002176/0.01647, allocations: 88 kB / 0.7167 GB, free: 5.777 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.000113/0.01658, allocations: 130.9 kB / 0.7169 GB, free: 5.645 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004598/0.01704, allocations: 0.5576 MB / 0.7174 GB, free: 5.02 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01704, allocations: 0 / 0.7174 GB, free: 5.02 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.01724, allocations: 313.8 kB / 0.7177 GB, free: 4.68 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.01758, allocations: 84.55 kB / 0.7178 GB, free: 4.598 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.01879, allocations: 0.8164 MB / 0.7186 GB, free: 3.738 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.434e-05/0.01889, allocations: 160.3 kB / 0.7187 GB, free: 3.559 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/0.01895, allocations: 28.5 kB / 0.7188 GB, free: 3.531 MB / 426.8 MB Notification: Performance of SimCode: time 5.31e-07/0.01895, allocations: 0 / 0.7188 GB, free: 3.531 MB / 426.8 MB Notification: Performance of Templates: time 0.1583/0.1772, allocations: 4.03 MB / 0.7227 GB, free: 36.8 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 > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine_Serdjebi2017_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.636041413992643]