Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_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.001857/0.001857, allocations: 109.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.002035/0.002035, allocations: 219.6 kB / 22.25 MB, free: 3.578 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.705/1.705, 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.44/1.44, allocations: 316.7 MB / 0.6144 GB, free: 92.9 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.Cesium137.Cesium137_Pan2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_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.003907/0.003907, allocations: 77.5 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1717, allocations: 74 MB / 0.8473 GB, free: 4.883 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference): time 0.003306/0.175, allocations: 1.816 MB / 0.849 GB, free: 3.066 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1762, allocations: 0.5414 MB / 0.8496 GB, free: 2.523 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.1762, allocations: 0.75 kB / 0.8496 GB, free: 2.523 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 8.354e-05/0.1763, allocations: 11.86 kB / 0.8496 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.1766, allocations: 64.83 kB / 0.8496 GB, free: 2.449 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.1768, allocations: 66.23 kB / 0.8497 GB, free: 2.387 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.177, allocations: 159.3 kB / 0.8499 GB, free: 2.23 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.1771, allocations: 5.812 kB / 0.8499 GB, free: 2.227 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1772, allocations: 72.44 kB / 0.8499 GB, free: 2.156 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.1775, allocations: 88.41 kB / 0.85 GB, free: 2.07 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.1776, allocations: 8 kB / 0.85 GB, free: 2.062 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.189e-05/0.1776, allocations: 4.562 kB / 0.85 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.503e-05/0.1777, allocations: 43.81 kB / 0.8501 GB, free: 2.016 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.33e-05/0.1778, allocations: 40.95 kB / 0.8501 GB, free: 1.977 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.1779, allocations: 99.56 kB / 0.8502 GB, free: 1.879 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1779, allocations: 0 / 0.8502 GB, free: 1.879 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1779, allocations: 0.9375 kB / 0.8502 GB, free: 1.879 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1779, allocations: 0 / 0.8502 GB, free: 1.879 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.0008432/0.1788, allocations: 393.6 kB / 0.8506 GB, free: 1.461 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1788, allocations: 12.03 kB / 0.8506 GB, free: 1.449 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.1789, allocations: 16.83 kB / 0.8506 GB, free: 1.434 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1791, allocations: 156.5 kB / 0.8508 GB, free: 1.258 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1791, allocations: 384 / 0.8508 GB, free: 1.258 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.1791, allocations: 16.12 kB / 0.8508 GB, free: 1.242 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.1794, allocations: 93.62 kB / 0.8509 GB, free: 1.145 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1794, allocations: 5.266 kB / 0.8509 GB, free: 1.141 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.1794, allocations: 4 kB / 0.8509 GB, free: 1.137 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1794, allocations: 4 kB / 0.8509 GB, free: 1.133 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.1798, allocations: 82.5 kB / 0.8509 GB, free: 1.055 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.1803, allocations: 284.3 kB / 0.8512 GB, free: 0.7461 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.1807, allocations: 138.3 kB / 0.8514 GB, free: 0.6016 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.1808, allocations: 49.61 kB / 0.8514 GB, free: 0.5508 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1809, allocations: 5.125 kB / 0.8514 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.1811, allocations: 122.6 kB / 0.8515 GB, free: 428 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.1812, allocations: 0.5625 kB / 0.8515 GB, free: 428 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005986/0.1817, allocations: 198.9 kB / 0.8517 GB, free: 224 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.1818, allocations: 52 kB / 0.8518 GB, free: 160 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.182, allocations: 157.6 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.182, allocations: 38.23 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.1821, allocations: 104.1 kB / 0.852 GB, free: 15.85 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.1821, allocations: 40.23 kB / 0.8521 GB, free: 15.81 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.1822, allocations: 42.2 kB / 0.8521 GB, free: 15.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1824, allocations: 327.4 kB / 0.8524 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.1826, allocations: 82.2 kB / 0.8525 GB, free: 15.35 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.1829, allocations: 205 kB / 0.8527 GB, free: 15.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.1833, allocations: 143.7 kB / 0.8528 GB, free: 14.96 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1833, allocations: 0 / 0.8528 GB, free: 14.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005017/0.1838, allocations: 242 kB / 0.8531 GB, free: 14.71 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.1838, allocations: 33.69 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1838, allocations: 4 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1838, allocations: 0 / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.184, allocations: 23.98 kB / 0.8531 GB, free: 14.65 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.184, allocations: 6.734 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.1842, allocations: 27.88 kB / 0.8532 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1842, allocations: 0 / 0.8532 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.0001286/0.1843, allocations: 133.7 kB / 0.8533 GB, free: 14.48 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.1843, allocations: 11.95 kB / 0.8533 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006475/0.185, allocations: 167.8 kB / 0.8535 GB, free: 14.3 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.185, allocations: 4 kB / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.185, allocations: 0 / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.185, allocations: 9.844 kB / 0.8535 GB, free: 14.29 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.1852, allocations: 149.2 kB / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1852, allocations: 224 / 0.8536 GB, free: 14.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.1853, allocations: 31.97 kB / 0.8537 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1853, allocations: 4.562 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1853, allocations: 0 / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1853, allocations: 2.031 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1853, allocations: 4 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.186, allocations: 252.8 kB / 0.8539 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.186, allocations: 16.36 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.186, allocations: 0.7188 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.1862, allocations: 15.98 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.1862, allocations: 12.5 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.1862, allocations: 8.562 kB / 0.854 GB, free: 13.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1864, allocations: 119.8 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1864, allocations: 0 / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002209/0.1866, allocations: 32.62 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.0001241/0.1867, allocations: 104.4 kB / 0.8542 GB, free: 13.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000494/0.1872, allocations: 216.4 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1872, allocations: 0.5 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.1874, allocations: 64.52 kB / 0.8545 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.0003013/0.1877, allocations: 37.97 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.0007681/0.1885, allocations: 330.7 kB / 0.8548 GB, free: 12.82 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.1886, allocations: 95.17 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.1887, allocations: 32.44 kB / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.1888, allocations: 16.03 kB / 0.855 GB, free: 12.67 MB / 490.8 MB Notification: Performance of SimCode: time 4.41e-07/0.1888, allocations: 3.938 kB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of Templates: time 0.2855/0.4742, allocations: 2.63 MB / 0.8575 GB, free: 28.12 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cesium137.Cesium137_Pan2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.282612253911793]