Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab.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.0009428/0.0009428, allocations: 92.42 kB / 19.94 MB, free: 4.594 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.0009268/0.0009268, allocations: 165.2 kB / 23.21 MB, free: 1.32 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 0.9278/0.9278, allocations: 177.2 MB / 203.5 MB, free: 5.727 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.7283/0.7283, allocations: 291.2 MB / 0.5382 GB, free: 51.88 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.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5443200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5443200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.6975 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.485e-05, allocations: 2.281 kB / 0.6975 GB, free: 10.33 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab): time 0.003415/0.00343, allocations: 3.457 MB / 0.7008 GB, free: 6.848 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.004516, allocations: 0.7759 MB / 0.7016 GB, free: 6.07 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.004654, allocations: 7.938 kB / 0.7016 GB, free: 6.062 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.004784, allocations: 51.48 kB / 0.7016 GB, free: 6.012 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.005053, allocations: 166.6 kB / 0.7018 GB, free: 5.848 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.005278, allocations: 107.8 kB / 0.7019 GB, free: 5.742 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.00566, allocations: 0.5402 MB / 0.7024 GB, free: 5.199 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.005817, allocations: 88.67 kB / 0.7025 GB, free: 5.113 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.006056, allocations: 287.4 kB / 0.7028 GB, free: 4.832 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.006293, allocations: 167.5 kB / 0.703 GB, free: 4.668 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.006343, allocations: 40 kB / 0.703 GB, free: 4.629 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.584e-05/0.006399, allocations: 47.88 kB / 0.703 GB, free: 4.582 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.006447, allocations: 75.67 kB / 0.7031 GB, free: 4.508 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.00658, allocations: 163.6 kB / 0.7033 GB, free: 4.348 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.006926, allocations: 458.6 kB / 0.7037 GB, free: 3.898 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.006928, allocations: 4 kB / 0.7037 GB, free: 3.895 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006929, allocations: 0 / 0.7037 GB, free: 3.895 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.006935, allocations: 0 / 0.7037 GB, free: 3.895 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008833/0.007818, allocations: 0.711 MB / 0.7044 GB, free: 3.125 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.00785, allocations: 15.89 kB / 0.7044 GB, free: 3.109 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/0.007928, allocations: 40.7 kB / 0.7045 GB, free: 3.07 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.008226, allocations: 260.5 kB / 0.7047 GB, free: 2.793 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.008247, allocations: 21.03 kB / 0.7047 GB, free: 2.773 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.008299, allocations: 36.33 kB / 0.7048 GB, free: 2.738 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.008812, allocations: 402.4 kB / 0.7051 GB, free: 2.32 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.008833, allocations: 4 kB / 0.7051 GB, free: 2.316 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.00886, allocations: 8 kB / 0.7052 GB, free: 2.309 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.008867, allocations: 8 kB / 0.7052 GB, free: 2.301 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.009367, allocations: 335.5 kB / 0.7055 GB, free: 1.953 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.01058, allocations: 0.8731 MB / 0.7063 GB, free: 1.035 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005621/0.01115, allocations: 344.2 kB / 0.7067 GB, free: 0.6758 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.0114, allocations: 221.9 kB / 0.7069 GB, free: 448 kB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.01141, allocations: 4 kB / 0.7069 GB, free: 444 kB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004362/0.01185, allocations: 495.3 kB / 0.7074 GB, free: 15.88 MB / 426.8 MB Notification: Performance of pre-optimization done (n=45): time 2.234e-06/0.01185, allocations: 0 / 0.7074 GB, free: 15.88 MB / 426.8 MB Notification: Performance of matching and sorting (n=48): time 0.002189/0.01404, allocations: 1.503 MB / 0.7088 GB, free: 14.25 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.01414, allocations: 310.4 kB / 0.7091 GB, free: 13.88 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.01438, allocations: 288.1 kB / 0.7094 GB, free: 13.59 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.01441, allocations: 45.64 kB / 0.7094 GB, free: 13.54 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.098e-05/0.01451, allocations: 181 kB / 0.7096 GB, free: 13.36 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.399e-05/0.0146, allocations: 162.7 kB / 0.7098 GB, free: 13.2 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.01471, allocations: 94.27 kB / 0.7099 GB, free: 13.11 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.01491, allocations: 354.8 kB / 0.7102 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.01522, allocations: 286.2 kB / 0.7105 GB, free: 12.44 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.01557, allocations: 418 kB / 0.7109 GB, free: 11.95 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.01616, allocations: 0.5917 MB / 0.7114 GB, free: 11.27 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01616, allocations: 0 / 0.7114 GB, free: 11.27 MB / 426.8 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007367/0.0169, allocations: 0.7486 MB / 0.7122 GB, free: 10.46 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/0.01695, allocations: 114.8 kB / 0.7123 GB, free: 10.32 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.01695, allocations: 4 kB / 0.7123 GB, free: 10.32 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.01697, allocations: 8.469 kB / 0.7123 GB, free: 10.31 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.01723, allocations: 115.8 kB / 0.7124 GB, free: 10.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.01724, allocations: 11.94 kB / 0.7124 GB, free: 10.19 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.01738, allocations: 27.98 kB / 0.7124 GB, free: 10.16 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.01741, allocations: 23.98 kB / 0.7125 GB, free: 10.14 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 16 * Number of states: 0 () * Number of discrete variables: 29 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.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,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 4 * 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.0004393/0.01785, allocations: 280.5 kB / 0.7127 GB, free: 9.84 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/0.01793, allocations: 43.75 kB / 0.7128 GB, free: 9.797 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.739e-05/0.018, allocations: 39.69 kB / 0.7128 GB, free: 9.762 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.01801, allocations: 4 kB / 0.7128 GB, free: 9.758 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.01802, allocations: 3.938 kB / 0.7128 GB, free: 9.754 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.01802, allocations: 0 / 0.7128 GB, free: 9.754 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.01913, allocations: 1.035 MB / 0.7138 GB, free: 8.648 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.01913, allocations: 0 / 0.7138 GB, free: 8.648 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.01935, allocations: 79.89 kB / 0.7139 GB, free: 8.57 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.01936, allocations: 3.938 kB / 0.7139 GB, free: 8.566 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.01938, allocations: 15.94 kB / 0.7139 GB, free: 8.551 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.01939, allocations: 11.98 kB / 0.7139 GB, free: 8.539 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01939, allocations: 0 / 0.7139 GB, free: 8.539 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009173/0.02031, allocations: 1.004 MB / 0.7149 GB, free: 7.461 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.02044, allocations: 71.64 kB / 0.715 GB, free: 7.391 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.02049, allocations: 20 kB / 0.715 GB, free: 7.371 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.02062, allocations: 23.98 kB / 0.715 GB, free: 7.348 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/0.02072, allocations: 43.92 kB / 0.7151 GB, free: 7.305 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.02074, allocations: 12 kB / 0.7151 GB, free: 7.293 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001653/0.0209, allocations: 207.1 kB / 0.7153 GB, free: 7.09 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.8e-07/0.0209, allocations: 0 / 0.7153 GB, free: 7.09 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003206/0.02122, allocations: 120 kB / 0.7154 GB, free: 6.973 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC,peripheral.C,peripheral.AUC) * Number of discrete variables: 18 ($whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 16 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition6,peripheral.Cmax,$whenCondition5,peripheral.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition4,periodicDose.route.absorptionLumen.Cmax,$whenCondition3,periodicDose.route.absorptionLumen.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 3 * 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.0001342/0.02136, allocations: 121.3 kB / 0.7155 GB, free: 6.844 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007018/0.02206, allocations: 0.7857 MB / 0.7163 GB, free: 5.965 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02206, allocations: 0 / 0.7163 GB, free: 5.965 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.02239, allocations: 451.5 kB / 0.7167 GB, free: 5.469 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.0228, allocations: 124.7 kB / 0.7168 GB, free: 5.352 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.0242, allocations: 1.119 MB / 0.7179 GB, free: 4.176 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.02432, allocations: 199.8 kB / 0.7181 GB, free: 3.957 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.038e-05/0.02441, allocations: 40.48 kB / 0.7181 GB, free: 3.914 MB / 426.8 MB Notification: Performance of SimCode: time 9.52e-07/0.02441, allocations: 0 / 0.7181 GB, free: 3.914 MB / 426.8 MB Notification: Performance of Templates: time 0.2035/0.2279, allocations: 5.445 MB / 0.7235 GB, free: 36.41 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.774031545035541]