Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.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.002002/0.002002, 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.002211/0.002211, allocations: 218.4 kB / 22.25 MB, free: 3.582 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.706/1.706, allocations: 230.6 MB / 256 MB, free: 9.633 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.478/1.478, allocations: 316.7 MB / 0.6144 GB, free: 93.06 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.Americium241.Americium241_Kathren2003_head,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head") [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.005294/0.005294, allocations: 73.66 kB / 0.775 GB, free: 14.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1783, allocations: 74 MB / 0.8472 GB, free: 4.895 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head): time 0.004779/0.1831, allocations: 1.813 MB / 0.849 GB, free: 3.082 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1848, allocations: 0.5471 MB / 0.8495 GB, free: 2.535 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.221e-05/0.1849, allocations: 0 / 0.8495 GB, free: 2.535 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.185, allocations: 11.86 kB / 0.8495 GB, free: 2.523 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.1855, allocations: 64.61 kB / 0.8496 GB, free: 2.461 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.1858, allocations: 65.36 kB / 0.8497 GB, free: 2.398 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.1862, allocations: 159.3 kB / 0.8498 GB, free: 2.242 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.523e-05/0.1862, allocations: 9.891 kB / 0.8498 GB, free: 2.234 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.1864, allocations: 72.39 kB / 0.8499 GB, free: 2.164 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000343/0.1867, allocations: 87.69 kB / 0.85 GB, free: 2.078 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.1868, allocations: 8.5 kB / 0.85 GB, free: 2.07 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.143e-05/0.1868, allocations: 4.688 kB / 0.85 GB, free: 2.066 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1869, allocations: 39.84 kB / 0.85 GB, free: 2.027 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.187, allocations: 40.36 kB / 0.8501 GB, free: 1.988 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.1873, allocations: 100.3 kB / 0.8502 GB, free: 1.891 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1873, allocations: 0 / 0.8502 GB, free: 1.891 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1873, allocations: 0.625 kB / 0.8502 GB, free: 1.891 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1873, allocations: 0 / 0.8502 GB, free: 1.891 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.001209/0.1885, allocations: 393.2 kB / 0.8505 GB, free: 1.473 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.1886, allocations: 16.48 kB / 0.8506 GB, free: 1.457 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.1886, allocations: 16.84 kB / 0.8506 GB, free: 1.441 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.189, allocations: 151.5 kB / 0.8507 GB, free: 1.27 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.189, allocations: 5 kB / 0.8507 GB, free: 1.266 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.293e-05/0.1891, allocations: 16.06 kB / 0.8507 GB, free: 1.25 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.1895, allocations: 102.3 kB / 0.8508 GB, free: 1.145 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1895, allocations: 4.438 kB / 0.8508 GB, free: 1.141 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.1895, allocations: 8.625 kB / 0.8509 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1895, allocations: 3.984 kB / 0.8509 GB, free: 1.129 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004647/0.19, allocations: 77.2 kB / 0.8509 GB, free: 1.055 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.1907, allocations: 280.3 kB / 0.8512 GB, free: 0.75 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.1914, allocations: 139.6 kB / 0.8513 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.1916, allocations: 45.45 kB / 0.8514 GB, free: 0.5586 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.1917, allocations: 5.031 kB / 0.8514 GB, free: 0.5547 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004298/0.1921, allocations: 120.9 kB / 0.8515 GB, free: 436 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.1921, allocations: 0 / 0.8515 GB, free: 436 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0009652/0.193, allocations: 201.4 kB / 0.8517 GB, free: 232 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.1931, allocations: 55.98 kB / 0.8517 GB, free: 164 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.1934, allocations: 157.3 kB / 0.8519 GB, free: 0 / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 7.189e-05/0.1935, allocations: 34.48 kB / 0.8519 GB, free: 15.96 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1936, allocations: 100.1 kB / 0.852 GB, free: 15.86 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.1936, allocations: 44.92 kB / 0.8521 GB, free: 15.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.1938, allocations: 41.7 kB / 0.8521 GB, free: 15.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002357/0.194, allocations: 330.8 kB / 0.8524 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.1943, allocations: 78.94 kB / 0.8525 GB, free: 15.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/0.1948, allocations: 202.1 kB / 0.8527 GB, free: 15.12 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/0.1953, allocations: 145.9 kB / 0.8528 GB, free: 14.97 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1953, allocations: 0 / 0.8528 GB, free: 14.97 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007867/0.1961, allocations: 238.8 kB / 0.853 GB, free: 14.72 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.836e-05/0.1962, allocations: 33.69 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1962, allocations: 4 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1962, allocations: 2.5 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.1965, allocations: 23.98 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1965, allocations: 0 / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.1968, allocations: 32.03 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.1968, allocations: 3.984 kB / 0.8531 GB, free: 14.62 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.0001756/0.197, allocations: 126.3 kB / 0.8533 GB, free: 14.49 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.197, allocations: 12.55 kB / 0.8533 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.198, allocations: 175.1 kB / 0.8534 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.198, allocations: 4.438 kB / 0.8534 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.198, allocations: 0 / 0.8534 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.198, allocations: 0.5938 kB / 0.8534 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.1983, allocations: 153.7 kB / 0.8536 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1983, allocations: 3.938 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.1986, allocations: 24.64 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1986, allocations: 0.625 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.1986, allocations: 4.625 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.1986, allocations: 7.984 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1986, allocations: 0.625 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009933/0.1996, allocations: 261 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.1996, allocations: 11.92 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.1997, allocations: 0.6875 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.1999, allocations: 20.61 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-05/0.2, allocations: 11.97 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.2, allocations: 4.625 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000177/0.2002, allocations: 119.2 kB / 0.854 GB, free: 13.64 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2002, allocations: 0.5 kB / 0.854 GB, free: 13.64 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004215/0.2006, allocations: 36.52 kB / 0.8541 GB, free: 13.61 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.0001677/0.2008, allocations: 99.91 kB / 0.8542 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007631/0.2015, allocations: 216.8 kB / 0.8544 GB, free: 13.28 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2015, allocations: 0.5312 kB / 0.8544 GB, free: 13.28 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.2018, allocations: 64.5 kB / 0.8544 GB, free: 13.21 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.2023, allocations: 49.22 kB / 0.8545 GB, free: 13.17 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.2034, allocations: 326.8 kB / 0.8548 GB, free: 12.83 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.2035, allocations: 94.7 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.2037, allocations: 36.56 kB / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.2038, allocations: 16.03 kB / 0.8549 GB, free: 12.67 MB / 490.8 MB Notification: Performance of SimCode: time 4.51e-07/0.2038, allocations: 0 / 0.8549 GB, free: 12.67 MB / 490.8 MB Notification: Performance of Templates: time 0.2888/0.4925, allocations: 2.619 MB / 0.8575 GB, free: 28.23 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241_Kathren2003_head.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.5014367590192705]