Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.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.00248/0.00248, 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.002572/0.002572, allocations: 218.4 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.665/1.665, allocations: 230.6 MB / 256 MB, free: 9.625 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.458/1.458, allocations: 316.7 MB / 0.6144 GB, free: 93.07 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241") [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.004157/0.004157, allocations: 73.61 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1639, allocations: 73.99 MB / 0.8473 GB, free: 4.859 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241): time 0.00404/0.1679, allocations: 1.828 MB / 0.849 GB, free: 3.031 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1693, allocations: 0.5461 MB / 0.8496 GB, free: 2.484 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.1693, allocations: 0 / 0.8496 GB, free: 2.484 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.895e-05/0.1694, allocations: 20.48 kB / 0.8496 GB, free: 2.465 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.1698, allocations: 62.98 kB / 0.8496 GB, free: 2.406 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.17, allocations: 63.83 kB / 0.8497 GB, free: 2.344 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.1703, allocations: 167.3 kB / 0.8499 GB, free: 2.18 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.1703, allocations: 6.094 kB / 0.8499 GB, free: 2.176 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1705, allocations: 75.75 kB / 0.8499 GB, free: 2.102 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.1707, allocations: 76.59 kB / 0.85 GB, free: 2.027 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.1707, allocations: 8.562 kB / 0.85 GB, free: 2.02 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.373e-05/0.1708, allocations: 8 kB / 0.85 GB, free: 2.012 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.1709, allocations: 40.36 kB / 0.8501 GB, free: 1.973 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.386e-05/0.1709, allocations: 51.78 kB / 0.8501 GB, free: 1.922 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.1711, allocations: 92.14 kB / 0.8502 GB, free: 1.832 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1711, allocations: 0.625 kB / 0.8502 GB, free: 1.832 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1711, allocations: 0 / 0.8502 GB, free: 1.832 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.1711, allocations: 0.5938 kB / 0.8502 GB, free: 1.832 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.00123/0.1724, allocations: 392.8 kB / 0.8506 GB, free: 1.414 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1724, allocations: 8.656 kB / 0.8506 GB, free: 1.406 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.1724, allocations: 17.38 kB / 0.8506 GB, free: 1.391 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1727, allocations: 150.8 kB / 0.8508 GB, free: 1.219 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.1727, allocations: 12.91 kB / 0.8508 GB, free: 1.207 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.1727, allocations: 12.67 kB / 0.8508 GB, free: 1.195 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.173, allocations: 102.1 kB / 0.8509 GB, free: 1.09 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.173, allocations: 0.625 kB / 0.8509 GB, free: 1.09 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.173, allocations: 0 / 0.8509 GB, free: 1.09 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.173, allocations: 0.5312 kB / 0.8509 GB, free: 1.09 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.1733, allocations: 85.31 kB / 0.851 GB, free: 1.008 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.1739, allocations: 276.3 kB / 0.8512 GB, free: 0.707 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.1743, allocations: 135.7 kB / 0.8514 GB, free: 0.5664 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.1745, allocations: 57.47 kB / 0.8514 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.1745, allocations: 0 / 0.8514 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.1748, allocations: 112.6 kB / 0.8515 GB, free: 396 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.1748, allocations: 0 / 0.8515 GB, free: 396 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006334/0.1754, allocations: 212.1 kB / 0.8517 GB, free: 184 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.1755, allocations: 55.41 kB / 0.8518 GB, free: 116 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.1757, allocations: 153.3 kB / 0.8519 GB, free: 15.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.1757, allocations: 33.7 kB / 0.8519 GB, free: 15.92 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.1758, allocations: 104.1 kB / 0.852 GB, free: 15.81 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.1759, allocations: 47.64 kB / 0.8521 GB, free: 15.77 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.214e-05/0.176, allocations: 34.3 kB / 0.8521 GB, free: 15.73 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1761, allocations: 332.1 kB / 0.8524 GB, free: 15.39 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.1763, allocations: 81.66 kB / 0.8525 GB, free: 15.31 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.1766, allocations: 198.8 kB / 0.8527 GB, free: 15.08 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.177, allocations: 141.5 kB / 0.8528 GB, free: 14.93 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.177, allocations: 4 kB / 0.8529 GB, free: 14.93 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004848/0.1775, allocations: 238.5 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.926e-05/0.1775, allocations: 37.7 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1775, allocations: 2 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1775, allocations: 224 / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.1777, allocations: 27.97 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1777, allocations: 11.88 kB / 0.8532 GB, free: 14.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.1779, allocations: 23.81 kB / 0.8532 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.1779, allocations: 8.906 kB / 0.8532 GB, free: 14.57 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.0001193/0.178, allocations: 119.9 kB / 0.8533 GB, free: 14.44 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.178, allocations: 15.94 kB / 0.8533 GB, free: 14.43 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000467/0.1785, allocations: 166.4 kB / 0.8535 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1785, allocations: 7.922 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1785, allocations: 0.5 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1785, allocations: 0.5 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.1787, allocations: 153.8 kB / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1787, allocations: 0 / 0.8536 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.1789, allocations: 24.61 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1789, allocations: 0.5938 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.1789, allocations: 12.03 kB / 0.8537 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1789, allocations: 4.5 kB / 0.8537 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1789, allocations: 4.547 kB / 0.8537 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/0.1796, allocations: 252.6 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.1796, allocations: 16.53 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.1796, allocations: 8 kB / 0.8539 GB, free: 13.74 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.1798, allocations: 8.578 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.1799, allocations: 20.78 kB / 0.854 GB, free: 13.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.1799, allocations: 0 / 0.854 GB, free: 13.71 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000123/0.18, allocations: 120 kB / 0.8541 GB, free: 13.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.18, allocations: 0 / 0.8541 GB, free: 13.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002167/0.1802, allocations: 32.56 kB / 0.8541 GB, free: 13.57 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.0001313/0.1803, allocations: 100 kB / 0.8542 GB, free: 13.46 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004871/0.1808, allocations: 220.7 kB / 0.8544 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1808, allocations: 0.5 kB / 0.8544 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.181, allocations: 63.45 kB / 0.8545 GB, free: 13.17 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.1813, allocations: 45.62 kB / 0.8545 GB, free: 13.13 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007749/0.1821, allocations: 323.2 kB / 0.8548 GB, free: 12.79 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.1822, allocations: 98.88 kB / 0.8549 GB, free: 12.67 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001/0.1823, allocations: 28.42 kB / 0.8549 GB, free: 12.65 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.1824, allocations: 15.44 kB / 0.855 GB, free: 12.63 MB / 490.8 MB Notification: Performance of SimCode: time 3.41e-07/0.1824, allocations: 4.562 kB / 0.855 GB, free: 12.63 MB / 490.8 MB Notification: Performance of Templates: time 0.2648/0.4472, allocations: 2.626 MB / 0.8575 GB, free: 28.18 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Americium241.Americium241.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.433957198169082]