Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep.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.001815/0.001815, 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.002145/0.002145, allocations: 218.4 kB / 22.25 MB, free: 3.57 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.787/1.787, allocations: 230.6 MB / 256 MB, free: 9.609 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.452/1.452, allocations: 316.7 MB / 0.6144 GB, free: 93.1 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_sheep,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep") [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.004002/0.004002, allocations: 77.88 kB / 0.775 GB, free: 14.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1881, allocations: 73.99 MB / 0.8472 GB, free: 4.945 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep): time 0.004094/0.1922, allocations: 1.821 MB / 0.849 GB, free: 3.125 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1936, allocations: 0.5408 MB / 0.8495 GB, free: 2.582 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.1936, allocations: 0 / 0.8495 GB, free: 2.582 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.1937, allocations: 11.86 kB / 0.8495 GB, free: 2.57 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.1941, allocations: 69.06 kB / 0.8496 GB, free: 2.504 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.1943, allocations: 66.66 kB / 0.8497 GB, free: 2.445 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.1946, allocations: 163.3 kB / 0.8498 GB, free: 2.285 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.207e-05/0.1947, allocations: 9.297 kB / 0.8498 GB, free: 2.277 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1948, allocations: 71.7 kB / 0.8499 GB, free: 2.207 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.1951, allocations: 84.41 kB / 0.85 GB, free: 2.125 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.1951, allocations: 4 kB / 0.85 GB, free: 2.121 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.976e-05/0.1952, allocations: 10.28 kB / 0.85 GB, free: 2.113 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.1952, allocations: 35.83 kB / 0.85 GB, free: 2.078 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.599e-05/0.1953, allocations: 47.78 kB / 0.8501 GB, free: 2.031 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1955, allocations: 95.58 kB / 0.8502 GB, free: 1.938 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1955, allocations: 0 / 0.8502 GB, free: 1.938 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1955, allocations: 0 / 0.8502 GB, free: 1.938 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1955, allocations: 2.688 kB / 0.8502 GB, free: 1.938 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.001197/0.1967, allocations: 391.5 kB / 0.8505 GB, free: 1.52 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1968, allocations: 19.88 kB / 0.8506 GB, free: 1.5 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.1968, allocations: 12.84 kB / 0.8506 GB, free: 1.488 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.1971, allocations: 151.6 kB / 0.8507 GB, free: 1.316 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1971, allocations: 4.375 kB / 0.8507 GB, free: 1.312 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.1972, allocations: 16.62 kB / 0.8507 GB, free: 1.297 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.1975, allocations: 98.2 kB / 0.8508 GB, free: 1.195 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1975, allocations: 0.5938 kB / 0.8508 GB, free: 1.195 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1975, allocations: 4.625 kB / 0.8508 GB, free: 1.191 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1975, allocations: 4 kB / 0.8508 GB, free: 1.188 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.1978, allocations: 77.45 kB / 0.8509 GB, free: 1.113 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.1984, allocations: 288.3 kB / 0.8512 GB, free: 0.8008 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.1988, allocations: 135.7 kB / 0.8513 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.199, allocations: 49.58 kB / 0.8514 GB, free: 0.6094 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.199, allocations: 4 kB / 0.8514 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/0.1993, allocations: 120.4 kB / 0.8515 GB, free: 488 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.1993, allocations: 0 / 0.8515 GB, free: 488 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006196/0.1999, allocations: 195.3 kB / 0.8517 GB, free: 288 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.2, allocations: 55.41 kB / 0.8517 GB, free: 220 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.2002, allocations: 163 kB / 0.8519 GB, free: 48 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.2002, allocations: 26.3 kB / 0.8519 GB, free: 16 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.2003, allocations: 108.1 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.2004, allocations: 44.19 kB / 0.852 GB, free: 15.86 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.114e-05/0.2005, allocations: 42.33 kB / 0.8521 GB, free: 15.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.2006, allocations: 322.8 kB / 0.8524 GB, free: 15.49 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.2008, allocations: 86.23 kB / 0.8525 GB, free: 15.4 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.2011, allocations: 205.6 kB / 0.8527 GB, free: 15.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.2015, allocations: 143 kB / 0.8528 GB, free: 15.02 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2015, allocations: 0.75 kB / 0.8528 GB, free: 15.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004936/0.202, allocations: 240.6 kB / 0.853 GB, free: 14.77 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.202, allocations: 33.69 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.202, allocations: 0.625 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.2021, allocations: 4.594 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.2022, allocations: 23.98 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2022, allocations: 4.656 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.2024, allocations: 24.44 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.2024, allocations: 4.625 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.0003169/0.2027, allocations: 130.4 kB / 0.8533 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.2028, allocations: 7.953 kB / 0.8533 GB, free: 14.53 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.2032, allocations: 178.4 kB / 0.8534 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.2033, allocations: 8.75 kB / 0.8534 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2033, allocations: 3.938 kB / 0.8534 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2033, allocations: 4.438 kB / 0.8534 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.2035, allocations: 149.2 kB / 0.8536 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2035, allocations: 0.5938 kB / 0.8536 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.2036, allocations: 28.58 kB / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2036, allocations: 0.5938 kB / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.2036, allocations: 0 / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.2036, allocations: 4.547 kB / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2036, allocations: 0.625 kB / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.2043, allocations: 262 kB / 0.8539 GB, free: 13.86 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.2043, allocations: 11.92 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.2043, allocations: 0.5625 kB / 0.8539 GB, free: 13.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.2045, allocations: 16.64 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.2045, allocations: 16.72 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.2046, allocations: 4 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001184/0.2047, allocations: 123.9 kB / 0.854 GB, free: 13.69 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.2047, allocations: 0 / 0.854 GB, free: 13.69 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002207/0.2049, allocations: 32 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.0001742/0.2051, allocations: 99.23 kB / 0.8542 GB, free: 13.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004928/0.2056, allocations: 215.9 kB / 0.8544 GB, free: 13.33 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2056, allocations: 0 / 0.8544 GB, free: 13.33 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.2058, 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.0003198/0.2061, allocations: 40.97 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.0008217/0.2069, allocations: 331.2 kB / 0.8548 GB, free: 12.88 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.207, allocations: 98.95 kB / 0.8549 GB, free: 12.76 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000107/0.2071, allocations: 32.41 kB / 0.8549 GB, free: 12.73 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.2072, allocations: 15.44 kB / 0.8549 GB, free: 12.72 MB / 490.8 MB Notification: Performance of SimCode: time 8.72e-07/0.2072, allocations: 0.5938 kB / 0.8549 GB, free: 12.72 MB / 490.8 MB Notification: Performance of Templates: time 0.3743/0.5815, allocations: 2.63 MB / 0.8575 GB, free: 28.21 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Plutonium239.Plutonium239_Watts1975_sheep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.549132137093693]