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.002649/0.002649, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002438/0.002438, allocations: 209.9 kB / 22.25 MB, free: 3.574 MB / 13.93 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.673/1.673, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.578/1.578, allocations: 316.7 MB / 0.6144 GB, free: 93.1 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004014/0.004014, allocations: 77.22 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1693, allocations: 73.99 MB / 0.8473 GB, free: 4.887 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine): time 0.004901/0.1742, allocations: 2.712 MB / 0.8499 GB, free: 2.176 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3165/0.4907, allocations: 6.605 MB / 0.8564 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.491, allocations: 3.906 kB / 0.8564 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.4912, allocations: 41.08 kB / 0.8564 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.4915, allocations: 117.9 kB / 0.8565 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.4918, allocations: 72.34 kB / 0.8566 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.4921, allocations: 375.9 kB / 0.857 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.4923, allocations: 52.77 kB / 0.857 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.4925, allocations: 147.8 kB / 0.8572 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.4928, allocations: 141.4 kB / 0.8573 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.4928, allocations: 25.47 kB / 0.8573 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.237e-05/0.4929, allocations: 22.47 kB / 0.8573 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.4929, allocations: 56.66 kB / 0.8574 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.4931, allocations: 138.2 kB / 0.8575 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.4934, allocations: 288 kB / 0.8578 GB, free: 21.73 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4934, allocations: 0.9062 kB / 0.8578 GB, free: 21.73 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4934, allocations: 0.5 kB / 0.8578 GB, free: 21.73 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.4934, allocations: 0.7812 kB / 0.8578 GB, free: 21.73 MB / 490.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.0009364/0.4944, allocations: 0.5983 MB / 0.8584 GB, free: 21.27 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.4944, allocations: 12.22 kB / 0.8584 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.4945, allocations: 33.53 kB / 0.8584 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.4947, allocations: 213.6 kB / 0.8586 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.4947, allocations: 17.72 kB / 0.8587 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.4948, allocations: 26.88 kB / 0.8587 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.4952, allocations: 283.4 kB / 0.8589 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.4953, allocations: 7.641 kB / 0.859 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.4953, allocations: 9.812 kB / 0.859 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4953, allocations: 3.188 kB / 0.859 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.4957, allocations: 236.9 kB / 0.8592 GB, free: 20.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.4967, allocations: 0.6753 MB / 0.8599 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.4973, allocations: 235.2 kB / 0.8601 GB, free: 20.46 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.4975, allocations: 153.1 kB / 0.8602 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.4975, allocations: 4.531 kB / 0.8602 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003861/0.4979, allocations: 355.8 kB / 0.8606 GB, free: 20.15 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.4979, allocations: 0.75 kB / 0.8606 GB, free: 20.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001828/0.4997, allocations: 1.083 MB / 0.8616 GB, free: 19.61 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.4998, allocations: 221.7 kB / 0.8618 GB, free: 19.36 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.5, allocations: 244.2 kB / 0.8621 GB, free: 19.25 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.5, allocations: 41.14 kB / 0.8621 GB, free: 19.21 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/0.5001, allocations: 159.2 kB / 0.8623 GB, free: 19.11 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.5002, allocations: 118.7 kB / 0.8624 GB, free: 19.04 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-05/0.5002, allocations: 70.61 kB / 0.8624 GB, free: 19.02 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.087e-05/0.5003, allocations: 345.3 kB / 0.8628 GB, free: 18.71 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.5006, allocations: 205.1 kB / 0.863 GB, free: 18.61 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.5009, allocations: 320.3 kB / 0.8633 GB, free: 18.37 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000527/0.5014, allocations: 431 kB / 0.8637 GB, free: 18.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5014, allocations: 2.188 kB / 0.8637 GB, free: 18.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008046/0.5022, allocations: 0.5488 MB / 0.8642 GB, free: 17.85 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/0.5023, allocations: 92.23 kB / 0.8643 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.5023, allocations: 4.078 kB / 0.8643 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.5023, allocations: 5.562 kB / 0.8643 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.5026, allocations: 81.17 kB / 0.8644 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.5026, allocations: 5.844 kB / 0.8644 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.5028, allocations: 25.62 kB / 0.8644 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.5029, allocations: 16.55 kB / 0.8644 GB, free: 17.74 MB / 490.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.0002064/0.5031, allocations: 224.9 kB / 0.8647 GB, free: 17.56 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.5031, allocations: 31.34 kB / 0.8647 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.045e-05/0.5032, allocations: 34.36 kB / 0.8647 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.5032, allocations: 4.734 kB / 0.8647 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5032, allocations: 4.562 kB / 0.8647 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.5032, allocations: 6.172 kB / 0.8647 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.5043, allocations: 0.763 MB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5043, allocations: 1.188 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.5046, allocations: 53.59 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.5046, allocations: 2.938 kB / 0.8655 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.5046, allocations: 14.59 kB / 0.8655 GB, free: 17.15 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.5046, allocations: 1.062 kB / 0.8655 GB, free: 17.15 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5046, allocations: 3.578 kB / 0.8656 GB, free: 17.15 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.5057, allocations: 0.7238 MB / 0.8663 GB, free: 16.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.5058, allocations: 28.64 kB / 0.8663 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/0.5058, allocations: 16.12 kB / 0.8663 GB, free: 16.78 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.506, allocations: 18.09 kB / 0.8663 GB, free: 16.78 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.5061, allocations: 29.83 kB / 0.8663 GB, free: 16.78 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.5062, allocations: 15.5 kB / 0.8664 GB, free: 16.78 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001669/0.5063, allocations: 178.1 kB / 0.8665 GB, free: 16.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5063, allocations: 0 / 0.8665 GB, free: 16.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003434/0.5067, allocations: 84.19 kB / 0.8666 GB, free: 16.7 MB / 490.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.0001365/0.5068, allocations: 127.5 kB / 0.8667 GB, free: 16.61 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007178/0.5075, allocations: 0.5686 MB / 0.8673 GB, free: 16.25 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5075, allocations: 0 / 0.8673 GB, free: 16.25 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.5079, allocations: 302.8 kB / 0.8676 GB, free: 16.05 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.5084, allocations: 87.56 kB / 0.8677 GB, free: 16.05 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.51, allocations: 0.9432 MB / 0.8686 GB, free: 15.57 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.5101, allocations: 161.3 kB / 0.8687 GB, free: 15.48 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.5102, allocations: 32.94 kB / 0.8688 GB, free: 15.48 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.5103, allocations: 28.92 kB / 0.8688 GB, free: 15.47 MB / 490.8 MB Notification: Performance of SimCode: time 4.71e-07/0.5103, allocations: 0 / 0.8688 GB, free: 15.47 MB / 490.8 MB Notification: Performance of Templates: time 0.01091/0.5212, allocations: 4.997 MB / 0.8737 GB, free: 14.98 MB / 490.8 MB " [Timeout remaining time 659] 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: 7.767309257993475]