Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_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.002683/0.002683, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.003139/0.003139, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.701/1.701, allocations: 230.6 MB / 256 MB, free: 9.602 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.419/1.419, 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.Crotoxin.Crotoxin_Cura2002_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference") [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.003883/0.003883, allocations: 78.03 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1738, allocations: 73.98 MB / 0.8472 GB, free: 4.961 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference): time 0.004324/0.1781, allocations: 2.338 MB / 0.8495 GB, free: 2.621 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1796, allocations: 0.5874 MB / 0.8501 GB, free: 2.039 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1797, allocations: 7.938 kB / 0.8501 GB, free: 2.031 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.1798, allocations: 24.38 kB / 0.8501 GB, free: 2.008 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.1801, allocations: 76.2 kB / 0.8502 GB, free: 1.934 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.1803, allocations: 56.44 kB / 0.8502 GB, free: 1.879 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.1806, allocations: 255.4 kB / 0.8505 GB, free: 1.629 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.1808, allocations: 32.58 kB / 0.8505 GB, free: 1.598 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.1809, allocations: 108.2 kB / 0.8506 GB, free: 1.492 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.1812, allocations: 92.17 kB / 0.8507 GB, free: 1.402 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.874e-05/0.1812, allocations: 19.94 kB / 0.8507 GB, free: 1.383 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.668e-05/0.1813, allocations: 17.34 kB / 0.8508 GB, free: 1.367 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.1813, allocations: 35.84 kB / 0.8508 GB, free: 1.332 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.1814, allocations: 91.59 kB / 0.8509 GB, free: 1.242 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.1817, allocations: 200.2 kB / 0.8511 GB, free: 1.047 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.1817, allocations: 4 kB / 0.8511 GB, free: 1.043 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1817, allocations: 0 / 0.8511 GB, free: 1.043 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1818, allocations: 1.844 kB / 0.8511 GB, free: 1.043 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001015/0.1828, allocations: 496.8 kB / 0.8515 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1828, allocations: 8.656 kB / 0.8516 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.198e-05/0.1829, allocations: 24.8 kB / 0.8516 GB, free: 492 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.1832, allocations: 185.6 kB / 0.8518 GB, free: 280 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.1832, allocations: 12.61 kB / 0.8518 GB, free: 268 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.1832, allocations: 19.89 kB / 0.8518 GB, free: 248 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.1837, allocations: 189.9 kB / 0.852 GB, free: 44 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.1837, allocations: 3.984 kB / 0.852 GB, free: 40 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.1837, allocations: 9.844 kB / 0.852 GB, free: 32 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1837, allocations: 4 kB / 0.852 GB, free: 28 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.1841, allocations: 146.2 kB / 0.8521 GB, free: 15.88 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009568/0.1851, allocations: 490.7 kB / 0.8526 GB, free: 15.37 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/0.1856, allocations: 173.8 kB / 0.8528 GB, free: 15.18 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.1858, allocations: 94.53 kB / 0.8528 GB, free: 15.08 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.1858, allocations: 0.5938 kB / 0.8528 GB, free: 15.08 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004297/0.1863, allocations: 235 kB / 0.8531 GB, free: 14.82 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.1863, allocations: 0.625 kB / 0.8531 GB, free: 14.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001641/0.1879, allocations: 0.701 MB / 0.8538 GB, free: 14.06 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.188, allocations: 136.5 kB / 0.8539 GB, free: 13.9 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.1883, allocations: 215.5 kB / 0.8541 GB, free: 13.68 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.1883, allocations: 33.7 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.1885, allocations: 133 kB / 0.8542 GB, free: 13.51 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.072e-05/0.1885, allocations: 76.11 kB / 0.8543 GB, free: 13.43 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-05/0.1886, allocations: 53.66 kB / 0.8544 GB, free: 13.38 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.1888, allocations: 339.3 kB / 0.8547 GB, free: 13.04 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.1891, allocations: 145.5 kB / 0.8548 GB, free: 12.88 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.1895, allocations: 222.4 kB / 0.855 GB, free: 12.61 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3342/0.5237, allocations: 280.5 kB / 0.8553 GB, free: 28.28 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5237, allocations: 0 / 0.8553 GB, free: 28.28 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009019/0.5246, allocations: 391.4 kB / 0.8557 GB, free: 28.12 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.5247, allocations: 69.33 kB / 0.8558 GB, free: 28.06 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.5247, allocations: 2 kB / 0.8558 GB, free: 28.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.5247, allocations: 2.75 kB / 0.8558 GB, free: 28.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.525, allocations: 51.97 kB / 0.8558 GB, free: 28.06 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.525, allocations: 2.562 kB / 0.8558 GB, free: 28.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.5253, allocations: 17.62 kB / 0.8558 GB, free: 28.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.5253, allocations: 13.44 kB / 0.8558 GB, free: 28.06 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0002131/0.5255, allocations: 173.4 kB / 0.856 GB, free: 27.91 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.5256, allocations: 26.45 kB / 0.856 GB, free: 27.91 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.799e-05/0.5256, allocations: 23.66 kB / 0.8561 GB, free: 27.91 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.5256, allocations: 4.078 kB / 0.8561 GB, free: 27.91 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5256, allocations: 0 / 0.8561 GB, free: 27.91 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5257, allocations: 1.562 kB / 0.8561 GB, free: 27.91 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009484/0.5266, allocations: 0.5341 MB / 0.8566 GB, free: 27.61 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5266, allocations: 1.516 kB / 0.8566 GB, free: 27.61 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.5269, allocations: 40.86 kB / 0.8566 GB, free: 27.61 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5269, allocations: 0.7188 kB / 0.8566 GB, free: 27.61 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.5269, allocations: 10.94 kB / 0.8566 GB, free: 27.61 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.5269, allocations: 4.438 kB / 0.8566 GB, free: 27.61 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5269, allocations: 0.875 kB / 0.8566 GB, free: 27.61 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009162/0.5278, allocations: 0.4947 MB / 0.8571 GB, free: 27.38 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.5279, allocations: 18.16 kB / 0.8571 GB, free: 27.38 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.448e-05/0.5279, allocations: 7.891 kB / 0.8571 GB, free: 27.38 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.5282, allocations: 17.64 kB / 0.8572 GB, free: 27.38 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.5283, allocations: 22.77 kB / 0.8572 GB, free: 27.38 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.5283, allocations: 8.594 kB / 0.8572 GB, free: 27.38 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001579/0.5284, allocations: 155.3 kB / 0.8573 GB, free: 27.3 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5284, allocations: 0.5 kB / 0.8573 GB, free: 27.3 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004897/0.5289, allocations: 59.34 kB / 0.8574 GB, free: 27.3 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001075/0.529, allocations: 114.5 kB / 0.8575 GB, free: 27.21 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006739/0.5297, allocations: 376.9 kB / 0.8579 GB, free: 27 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5297, allocations: 3.5 kB / 0.8579 GB, free: 27 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.53, allocations: 170.1 kB / 0.858 GB, free: 26.9 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006636/0.5307, allocations: 68.72 kB / 0.8581 GB, free: 26.9 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.5321, allocations: 0.6763 MB / 0.8588 GB, free: 26.63 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.5322, allocations: 123.2 kB / 0.8589 GB, free: 26.55 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001268/0.5323, allocations: 25.09 kB / 0.8589 GB, free: 26.55 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.5324, allocations: 20.41 kB / 0.8589 GB, free: 26.54 MB / 490.8 MB Notification: Performance of SimCode: time 3.8e-07/0.5324, allocations: 4.156 kB / 0.8589 GB, free: 26.54 MB / 490.8 MB Notification: Performance of Templates: time 0.009526/0.5419, allocations: 3.633 MB / 0.8625 GB, free: 26.21 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.579974636202678]