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.002566/0.002566, 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.002391/0.002391, allocations: 225.1 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.847/1.847, 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.638/1.638, allocations: 316.7 MB / 0.6144 GB, free: 93.12 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.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: 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.0058/0.0058, allocations: 77.84 kB / 0.7751 GB, free: 14.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1816, allocations: 73.99 MB / 0.8473 GB, free: 4.84 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab): time 0.005694/0.1873, allocations: 3.448 MB / 0.8507 GB, free: 1.383 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.1894, allocations: 0.7857 MB / 0.8515 GB, free: 0.6094 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.1895, allocations: 4 kB / 0.8515 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.1897, allocations: 55.42 kB / 0.8515 GB, free: 0.5508 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0006757/0.1904, allocations: 156.2 kB / 0.8517 GB, free: 408 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1907, allocations: 108.5 kB / 0.8518 GB, free: 300 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006721/0.1914, allocations: 0.5219 MB / 0.8523 GB, free: 15.77 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.1916, allocations: 84.69 kB / 0.8524 GB, free: 15.69 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.1919, allocations: 187.4 kB / 0.8525 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003698/0.1923, allocations: 189 kB / 0.8527 GB, free: 15.32 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 6.802e-05/0.1923, allocations: 40 kB / 0.8528 GB, free: 15.28 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.21e-05/0.1924, allocations: 40 kB / 0.8528 GB, free: 15.24 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 9.318e-05/0.1925, allocations: 83.69 kB / 0.8529 GB, free: 15.16 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.1927, allocations: 196.1 kB / 0.8531 GB, free: 14.97 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005971/0.1933, allocations: 442.3 kB / 0.8535 GB, free: 14.54 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1934, allocations: 3.938 kB / 0.8535 GB, free: 14.53 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1934, allocations: 2.062 kB / 0.8535 GB, free: 14.53 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1934, allocations: 0 / 0.8535 GB, free: 14.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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001442/0.1948, allocations: 0.7213 MB / 0.8542 GB, free: 13.75 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1948, allocations: 11.89 kB / 0.8542 GB, free: 13.74 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.1949, allocations: 48.66 kB / 0.8542 GB, free: 13.7 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.1954, allocations: 241.4 kB / 0.8545 GB, free: 13.43 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.1954, allocations: 21.03 kB / 0.8545 GB, free: 13.41 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.1955, allocations: 43.89 kB / 0.8545 GB, free: 13.37 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007431/0.1962, allocations: 398.9 kB / 0.8549 GB, free: 12.96 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.1963, allocations: 4.594 kB / 0.8549 GB, free: 12.95 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.1963, allocations: 12.59 kB / 0.8549 GB, free: 12.94 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.1963, allocations: 8 kB / 0.8549 GB, free: 12.93 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006873/0.197, allocations: 336.8 kB / 0.8553 GB, free: 12.59 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3557/0.5527, allocations: 0.8749 MB / 0.8561 GB, free: 28.35 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/0.5534, allocations: 337.2 kB / 0.8564 GB, free: 28.23 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.5537, allocations: 214 kB / 0.8566 GB, free: 28.13 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.5537, allocations: 2.312 kB / 0.8566 GB, free: 28.13 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005699/0.5543, allocations: 0.4942 MB / 0.8571 GB, free: 27.79 MB / 490.8 MB Notification: Performance of pre-optimization done (n=45): time 3.066e-06/0.5543, allocations: 0 / 0.8571 GB, free: 27.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=48): time 0.00232/0.5566, allocations: 1.5 MB / 0.8586 GB, free: 27.08 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.5567, allocations: 305.7 kB / 0.8589 GB, free: 26.73 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.5569, allocations: 283.2 kB / 0.8592 GB, free: 26.63 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.557, allocations: 45.66 kB / 0.8592 GB, free: 26.6 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.5571, allocations: 182.9 kB / 0.8594 GB, free: 26.49 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.915e-05/0.5572, allocations: 159.2 kB / 0.8595 GB, free: 26.41 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.5573, allocations: 93.45 kB / 0.8596 GB, free: 26.4 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.583e-05/0.5574, allocations: 355.7 kB / 0.86 GB, free: 26.08 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.5577, allocations: 288.8 kB / 0.8602 GB, free: 25.95 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.5581, allocations: 416.1 kB / 0.8606 GB, free: 25.66 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.5587, allocations: 0.5964 MB / 0.8612 GB, free: 25.3 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.5587, allocations: 0 / 0.8612 GB, free: 25.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000898/0.5596, allocations: 0.7406 MB / 0.8619 GB, free: 24.96 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.5597, allocations: 116.9 kB / 0.862 GB, free: 24.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5597, allocations: 6.406 kB / 0.8621 GB, free: 24.84 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.5597, allocations: 7.5 kB / 0.8621 GB, free: 24.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.5601, allocations: 109.5 kB / 0.8622 GB, free: 24.83 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.5601, allocations: 11.42 kB / 0.8622 GB, free: 24.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.5604, allocations: 30.55 kB / 0.8622 GB, free: 24.83 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.5604, allocations: 26.16 kB / 0.8622 GB, free: 24.82 MB / 490.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.000246/0.5606, allocations: 279.4 kB / 0.8625 GB, free: 24.61 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.5607, allocations: 41.55 kB / 0.8625 GB, free: 24.59 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.877e-05/0.5608, allocations: 42.62 kB / 0.8626 GB, free: 24.58 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5608, allocations: 2 kB / 0.8626 GB, free: 24.58 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.5608, allocations: 2.25 kB / 0.8626 GB, free: 24.58 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5608, allocations: 2.641 kB / 0.8626 GB, free: 24.58 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.5621, allocations: 1.043 MB / 0.8636 GB, free: 24.14 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5621, allocations: 3.109 kB / 0.8636 GB, free: 24.14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.5625, allocations: 79.61 kB / 0.8637 GB, free: 24.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5625, allocations: 2.031 kB / 0.8637 GB, free: 24.14 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.5626, allocations: 12.88 kB / 0.8637 GB, free: 24.14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.5626, allocations: 5.844 kB / 0.8637 GB, free: 24.14 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5626, allocations: 4.094 kB / 0.8637 GB, free: 24.14 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.5639, allocations: 0.9976 MB / 0.8647 GB, free: 23.68 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.5641, allocations: 69.11 kB / 0.8647 GB, free: 23.66 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/0.5641, allocations: 19.66 kB / 0.8648 GB, free: 23.66 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.5644, allocations: 25.88 kB / 0.8648 GB, free: 23.66 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.5645, allocations: 43.28 kB / 0.8648 GB, free: 23.66 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.5645, allocations: 20.03 kB / 0.8648 GB, free: 23.66 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000221/0.5648, allocations: 205.1 kB / 0.865 GB, free: 23.58 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.5648, allocations: 0 / 0.865 GB, free: 23.58 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004505/0.5652, allocations: 120.8 kB / 0.8652 GB, free: 23.58 MB / 490.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.000144/0.5654, allocations: 132.7 kB / 0.8653 GB, free: 23.48 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0009608/0.5663, allocations: 0.7825 MB / 0.866 GB, free: 22.99 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5663, allocations: 1.844 kB / 0.866 GB, free: 22.99 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004859/0.5668, allocations: 451.2 kB / 0.8665 GB, free: 22.7 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006815/0.5675, allocations: 125.2 kB / 0.8666 GB, free: 22.69 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.5696, allocations: 1.316 MB / 0.8679 GB, free: 21.93 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.5698, allocations: 196.4 kB / 0.8681 GB, free: 21.84 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0002032/0.57, allocations: 45.27 kB / 0.8681 GB, free: 21.83 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.165e-05/0.5701, allocations: 37.22 kB / 0.8681 GB, free: 21.82 MB / 490.8 MB Notification: Performance of SimCode: time 7.52e-07/0.5701, allocations: 0 / 0.8681 GB, free: 21.82 MB / 490.8 MB Notification: Performance of Templates: time 0.01589/0.586, allocations: 6.633 MB / 0.8746 GB, free: 21.09 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Infliximab.Infliximab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 15.757303406950086]