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.001411/0.001411, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 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.001595/0.001595, allocations: 217.3 kB / 23 MB, free: 2.965 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.017/1.017, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.7746/0.7746, allocations: 312.3 MB / 0.6108 GB, free: 97.6 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: 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.004796/0.004796, allocations: 71.23 kB / 0.7699 GB, free: 20.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.157, allocations: 73.99 MB / 0.8422 GB, free: 10.29 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine): time 0.003147/0.1602, allocations: 2.706 MB / 0.8448 GB, free: 7.586 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005996/0.1662, allocations: 6.61 MB / 0.8513 GB, free: 0.9766 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1663, allocations: 4.438 kB / 0.8513 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.1665, allocations: 40.22 kB / 0.8513 GB, free: 0.9336 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.1667, allocations: 112.2 kB / 0.8514 GB, free: 0.8242 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.1669, allocations: 76.44 kB / 0.8515 GB, free: 0.75 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.1672, allocations: 382.7 kB / 0.8519 GB, free: 384 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.1674, allocations: 49.56 kB / 0.8519 GB, free: 336 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004369/0.1678, allocations: 139.5 kB / 0.852 GB, free: 196 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.168, allocations: 139.9 kB / 0.8522 GB, free: 56 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.1681, allocations: 24.62 kB / 0.8522 GB, free: 32 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.527e-05/0.1681, allocations: 24 kB / 0.8522 GB, free: 8 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.1682, allocations: 56.31 kB / 0.8523 GB, free: 15.95 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1683, allocations: 144 kB / 0.8524 GB, free: 15.81 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.1685, allocations: 286.8 kB / 0.8527 GB, free: 15.53 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1685, allocations: 0.5938 kB / 0.8527 GB, free: 15.53 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1685, allocations: 0 / 0.8527 GB, free: 15.53 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1685, allocations: 0.5312 kB / 0.8527 GB, free: 15.53 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.000794/0.1693, allocations: 0.6025 MB / 0.8533 GB, free: 14.88 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1694, allocations: 8.031 kB / 0.8533 GB, free: 14.87 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.1694, allocations: 37.19 kB / 0.8533 GB, free: 14.84 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1697, allocations: 209.1 kB / 0.8535 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1697, allocations: 17.28 kB / 0.8535 GB, free: 14.59 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.1697, allocations: 24.47 kB / 0.8536 GB, free: 14.57 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.17, allocations: 292.5 kB / 0.8538 GB, free: 14.26 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1701, allocations: 8.578 kB / 0.8538 GB, free: 14.25 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.1701, allocations: 4 kB / 0.8538 GB, free: 14.25 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1701, allocations: 4.594 kB / 0.8539 GB, free: 14.24 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.1703, allocations: 233.5 kB / 0.8541 GB, free: 14 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008015/0.1712, allocations: 0.677 MB / 0.8547 GB, free: 13.29 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.1715, allocations: 239.2 kB / 0.855 GB, free: 13.03 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.1717, allocations: 149.6 kB / 0.8551 GB, free: 12.87 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.1717, allocations: 4 kB / 0.8551 GB, free: 12.86 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003165/0.172, allocations: 356 kB / 0.8554 GB, free: 12.47 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.735e-06/0.172, allocations: 0.7188 kB / 0.8554 GB, free: 12.47 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3332/0.5052, allocations: 1.078 MB / 0.8565 GB, free: 21.24 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.5052, allocations: 217.5 kB / 0.8567 GB, free: 20.99 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.5055, allocations: 251.8 kB / 0.857 GB, free: 20.88 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.5055, allocations: 34.08 kB / 0.857 GB, free: 20.85 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.5056, allocations: 159.5 kB / 0.8571 GB, free: 20.75 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.5056, allocations: 112.1 kB / 0.8572 GB, free: 20.7 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/0.5057, allocations: 73.42 kB / 0.8573 GB, free: 20.68 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.5058, allocations: 348 kB / 0.8576 GB, free: 20.37 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.506, allocations: 210.1 kB / 0.8578 GB, free: 20.26 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.5062, allocations: 315.1 kB / 0.8581 GB, free: 20.03 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.5066, allocations: 434.8 kB / 0.8586 GB, free: 19.77 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5066, allocations: 0 / 0.8586 GB, free: 19.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005262/0.5071, allocations: 0.5495 MB / 0.8591 GB, free: 19.53 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.74e-05/0.5072, allocations: 93.31 kB / 0.8592 GB, free: 19.44 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.5072, allocations: 8.656 kB / 0.8592 GB, free: 19.44 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.5072, allocations: 5.688 kB / 0.8592 GB, free: 19.44 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.5074, allocations: 78.38 kB / 0.8593 GB, free: 19.44 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.5074, allocations: 14.19 kB / 0.8593 GB, free: 19.44 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.5076, allocations: 24.14 kB / 0.8593 GB, free: 19.44 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.5076, allocations: 17.34 kB / 0.8593 GB, free: 19.44 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.0002123/0.5078, allocations: 218.7 kB / 0.8595 GB, free: 19.25 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.5078, allocations: 33.61 kB / 0.8596 GB, free: 19.24 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.5079, allocations: 35 kB / 0.8596 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5079, allocations: 2.5 kB / 0.8596 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5079, allocations: 1.797 kB / 0.8596 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5079, allocations: 4.594 kB / 0.8596 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007805/0.5087, allocations: 0.7594 MB / 0.8604 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.5087, allocations: 0.5625 kB / 0.8604 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.5088, allocations: 57.75 kB / 0.8604 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.5088, allocations: 3.969 kB / 0.8604 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.5089, allocations: 8.609 kB / 0.8604 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5089, allocations: 3.625 kB / 0.8604 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5089, allocations: 3.938 kB / 0.8604 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.5095, allocations: 0.7338 MB / 0.8611 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.5095, allocations: 21.67 kB / 0.8612 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.5095, allocations: 9.562 kB / 0.8612 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.5096, allocations: 18.25 kB / 0.8612 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-05/0.5097, allocations: 34.75 kB / 0.8612 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.5098, allocations: 12.75 kB / 0.8612 GB, free: 18.5 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000119/0.5099, allocations: 179.6 kB / 0.8614 GB, free: 18.42 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5099, allocations: 2.516 kB / 0.8614 GB, free: 18.42 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002308/0.5101, allocations: 84.47 kB / 0.8615 GB, free: 18.42 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.0001205/0.5102, allocations: 124.6 kB / 0.8616 GB, free: 18.34 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004971/0.5107, allocations: 0.5653 MB / 0.8622 GB, free: 17.99 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5107, allocations: 0.5938 kB / 0.8622 GB, free: 17.99 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.511, allocations: 296.5 kB / 0.8624 GB, free: 17.8 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.5113, allocations: 88.27 kB / 0.8625 GB, free: 17.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.5127, allocations: 0.9707 MB / 0.8635 GB, free: 17.33 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.5128, allocations: 161.7 kB / 0.8636 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.5129, allocations: 28.41 kB / 0.8637 GB, free: 17.24 MB / 490.8 MB Notification: Performance of SimCode: time 1.072e-06/0.5129, allocations: 0 / 0.8637 GB, free: 17.24 MB / 490.8 MB Notification: Performance of Templates: time 0.006236/0.5191, allocations: 4.021 MB / 0.8676 GB, free: 16.89 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 > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BC05_Gemcitabine.Gemcitabine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.464802923612297]