Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_dog.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.002556/0.002556, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.003084/0.003084, 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.819/1.819, allocations: 230.6 MB / 256 MB, free: 9.582 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.486/1.486, allocations: 316.7 MB / 0.6144 GB, free: 93.35 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.Plutonium239.Plutonium239_Watts1975_dog,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_dog") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_dog,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_dog") [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.005407/0.005407, allocations: 73.2 kB / 0.775 GB, free: 14.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.183, allocations: 74 MB / 0.8472 GB, free: 4.941 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_dog): time 0.003958/0.1869, allocations: 1.815 MB / 0.849 GB, free: 3.129 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.1882, allocations: 0.5416 MB / 0.8495 GB, free: 2.586 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.1883, allocations: 0.625 kB / 0.8495 GB, free: 2.586 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.1884, allocations: 15.86 kB / 0.8496 GB, free: 2.57 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.1888, allocations: 61.42 kB / 0.8496 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.189, allocations: 65.55 kB / 0.8497 GB, free: 2.449 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.1893, allocations: 160 kB / 0.8498 GB, free: 2.293 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.755e-05/0.1893, allocations: 13.23 kB / 0.8498 GB, free: 2.281 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.1895, allocations: 72.45 kB / 0.8499 GB, free: 2.211 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.1898, allocations: 80.55 kB / 0.85 GB, free: 2.133 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.1898, allocations: 11.94 kB / 0.85 GB, free: 2.121 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.423e-05/0.1898, allocations: 8.594 kB / 0.85 GB, free: 2.113 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.1899, allocations: 35.89 kB / 0.85 GB, free: 2.078 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.001e-05/0.19, allocations: 44.39 kB / 0.8501 GB, free: 2.035 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.1902, allocations: 91.58 kB / 0.8502 GB, free: 1.945 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1902, allocations: 0.875 kB / 0.8502 GB, free: 1.945 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1902, allocations: 0 / 0.8502 GB, free: 1.945 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.1902, allocations: 0.6875 kB / 0.8502 GB, free: 1.945 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009864/0.1912, allocations: 396.8 kB / 0.8505 GB, free: 1.523 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1913, allocations: 16.48 kB / 0.8506 GB, free: 1.508 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.1913, allocations: 20.84 kB / 0.8506 GB, free: 1.488 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.1916, allocations: 152.1 kB / 0.8507 GB, free: 1.316 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1916, allocations: 4.375 kB / 0.8507 GB, free: 1.312 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.1917, allocations: 16.06 kB / 0.8507 GB, free: 1.297 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.192, allocations: 102.1 kB / 0.8508 GB, free: 1.195 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.192, allocations: 4 kB / 0.8508 GB, free: 1.191 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.192, allocations: 4.906 kB / 0.8509 GB, free: 1.188 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.192, allocations: 0 / 0.8509 GB, free: 1.188 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.1923, allocations: 77.42 kB / 0.8509 GB, free: 1.113 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.1929, allocations: 280.3 kB / 0.8512 GB, free: 0.8086 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.1933, allocations: 145 kB / 0.8513 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.1935, allocations: 52.81 kB / 0.8514 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1935, allocations: 0 / 0.8514 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.1938, allocations: 115.3 kB / 0.8515 GB, free: 492 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.1938, allocations: 1.125 kB / 0.8515 GB, free: 492 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006561/0.1944, allocations: 199.4 kB / 0.8517 GB, free: 288 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.1945, allocations: 55.39 kB / 0.8517 GB, free: 220 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1947, allocations: 154.5 kB / 0.8519 GB, free: 56 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.1947, allocations: 33.7 kB / 0.8519 GB, free: 16 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1948, allocations: 104.8 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.163e-05/0.1949, allocations: 39.64 kB / 0.8521 GB, free: 15.87 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.195, allocations: 42.8 kB / 0.8521 GB, free: 15.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1952, allocations: 330.8 kB / 0.8524 GB, free: 15.49 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.1954, allocations: 82.16 kB / 0.8525 GB, free: 15.41 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.1957, allocations: 198.6 kB / 0.8527 GB, free: 15.18 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.196, allocations: 146.2 kB / 0.8528 GB, free: 15.03 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.196, allocations: 0 / 0.8528 GB, free: 15.03 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004843/0.1965, allocations: 242 kB / 0.853 GB, free: 14.77 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.1966, allocations: 34.33 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1966, allocations: 0 / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1966, allocations: 0.5 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.1968, allocations: 28.83 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.1968, allocations: 0 / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.1969, allocations: 32.44 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.197, allocations: 8.719 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0001242/0.1971, allocations: 122.9 kB / 0.8533 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.1971, allocations: 12.67 kB / 0.8533 GB, free: 14.53 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004723/0.1976, allocations: 179 kB / 0.8534 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1976, allocations: 4.531 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1976, allocations: 0 / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1976, allocations: 0.625 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.1978, allocations: 153.2 kB / 0.8536 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1978, allocations: 0.6875 kB / 0.8536 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.198, allocations: 28.48 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.198, allocations: 0.625 kB / 0.8536 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.198, allocations: 8 kB / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.198, allocations: 0.5625 kB / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.198, allocations: 0 / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.1986, allocations: 261.2 kB / 0.8539 GB, free: 13.86 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.1987, allocations: 11.92 kB / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.1987, allocations: 4.594 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.1988, allocations: 12.61 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.1989, allocations: 17.06 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.1989, allocations: 4 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001184/0.199, allocations: 121.9 kB / 0.854 GB, free: 13.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.199, allocations: 1.344 kB / 0.854 GB, free: 13.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002188/0.1993, allocations: 31.98 kB / 0.8541 GB, free: 13.66 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001499/0.1994, allocations: 104.5 kB / 0.8542 GB, free: 13.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005143/0.1999, allocations: 212.9 kB / 0.8544 GB, free: 13.33 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1999, allocations: 1.75 kB / 0.8544 GB, free: 13.33 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.2001, allocations: 63.89 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.2004, allocations: 39.78 kB / 0.8545 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008014/0.2012, allocations: 330.7 kB / 0.8548 GB, free: 12.88 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.2013, allocations: 100.1 kB / 0.8549 GB, free: 12.77 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.2014, allocations: 23.34 kB / 0.8549 GB, free: 12.75 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.2015, allocations: 16.03 kB / 0.8549 GB, free: 12.73 MB / 490.8 MB Notification: Performance of SimCode: time 3.11e-07/0.2015, allocations: 0 / 0.8549 GB, free: 12.73 MB / 490.8 MB Notification: Performance of Templates: time 0.2901/0.4916, allocations: 2.63 MB / 0.8575 GB, free: 28.14 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_dog.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_dog.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_dog.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_dog.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_dog.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_dog -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_dog.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.724864793010056]