Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.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.002483/0.002483, 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.002154/0.002154, allocations: 211.6 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.733/1.733, allocations: 230.6 MB / 256 MB, free: 9.598 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.429/1.429, allocations: 316.7 MB / 0.6144 GB, free: 92.94 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.SodiumArsenite.SodiumArsenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite") [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.01024/0.01024, allocations: 73.83 kB / 0.775 GB, free: 14.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1615, allocations: 73.99 MB / 0.8473 GB, free: 4.879 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite): time 0.00326/0.1648, allocations: 1.819 MB / 0.849 GB, free: 3.062 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1659, allocations: 0.546 MB / 0.8496 GB, free: 2.516 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.166, allocations: 0 / 0.8496 GB, free: 2.516 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.1661, allocations: 12.61 kB / 0.8496 GB, free: 2.504 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.1665, allocations: 72.81 kB / 0.8496 GB, free: 2.434 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.1667, allocations: 62.36 kB / 0.8497 GB, free: 2.375 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.167, allocations: 159.3 kB / 0.8499 GB, free: 2.219 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.634e-05/0.167, allocations: 17.23 kB / 0.8499 GB, free: 2.203 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1672, allocations: 68.33 kB / 0.8499 GB, free: 2.137 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.1675, allocations: 88.39 kB / 0.85 GB, free: 2.051 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.1675, allocations: 4 kB / 0.85 GB, free: 2.047 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.478e-05/0.1675, allocations: 8.625 kB / 0.85 GB, free: 2.039 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 9.232e-05/0.1676, allocations: 31.89 kB / 0.8501 GB, free: 2.008 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.094e-05/0.1677, allocations: 44.52 kB / 0.8501 GB, free: 1.965 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.1679, allocations: 95.58 kB / 0.8502 GB, free: 1.871 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1679, allocations: 0.5938 kB / 0.8502 GB, free: 1.871 MB / 474.8 MB Notification: Performance of FrontEnd: time 4.568e-06/0.1679, allocations: 4.578 kB / 0.8502 GB, free: 1.867 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.168, allocations: 0 / 0.8502 GB, free: 1.867 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.0009106/0.1689, allocations: 393.4 kB / 0.8506 GB, free: 1.449 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1689, allocations: 8.031 kB / 0.8506 GB, free: 1.441 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.1689, allocations: 17.56 kB / 0.8506 GB, free: 1.426 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.1692, allocations: 152.8 kB / 0.8508 GB, free: 1.254 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.1692, allocations: 8.375 kB / 0.8508 GB, free: 1.246 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.1692, allocations: 16.06 kB / 0.8508 GB, free: 1.23 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.1695, allocations: 104.5 kB / 0.8509 GB, free: 1.125 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1696, allocations: 0 / 0.8509 GB, free: 1.125 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1696, allocations: 5.156 kB / 0.8509 GB, free: 1.121 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1696, allocations: 4 kB / 0.8509 GB, free: 1.117 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.1699, allocations: 76.83 kB / 0.851 GB, free: 1.043 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.1704, allocations: 284.3 kB / 0.8512 GB, free: 0.7344 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.1708, allocations: 136.6 kB / 0.8514 GB, free: 0.5938 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.171, allocations: 56.81 kB / 0.8514 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.171, allocations: 5.938 kB / 0.8514 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003104/0.1713, allocations: 111.3 kB / 0.8515 GB, free: 420 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.1713, allocations: 0 / 0.8515 GB, free: 420 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006407/0.172, allocations: 194.7 kB / 0.8517 GB, free: 220 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.172, allocations: 59.39 kB / 0.8518 GB, free: 148 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.1723, allocations: 164.1 kB / 0.8519 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.1723, allocations: 25.7 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1724, allocations: 108.1 kB / 0.8521 GB, free: 15.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.1724, allocations: 43.64 kB / 0.8521 GB, free: 15.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.732e-05/0.1725, allocations: 37.69 kB / 0.8521 GB, free: 15.75 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1727, allocations: 326.8 kB / 0.8524 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.1729, allocations: 82.28 kB / 0.8525 GB, free: 15.34 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.1732, allocations: 202.7 kB / 0.8527 GB, free: 15.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.1736, allocations: 150.3 kB / 0.8529 GB, free: 14.95 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1736, allocations: 0 / 0.8529 GB, free: 14.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004951/0.1741, allocations: 242.1 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.1741, allocations: 32.05 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1741, allocations: 0.6875 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.1741, allocations: 4.844 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.1743, allocations: 32.14 kB / 0.8532 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1743, allocations: 0.6875 kB / 0.8532 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.1745, allocations: 28.42 kB / 0.8532 GB, free: 14.6 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.1745, allocations: 4 kB / 0.8532 GB, free: 14.6 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.0001297/0.1746, allocations: 126.4 kB / 0.8533 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.1747, allocations: 8.547 kB / 0.8533 GB, free: 14.46 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004804/0.1751, allocations: 175.4 kB / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.1752, allocations: 4.625 kB / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1752, allocations: 0 / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1752, allocations: 0.5938 kB / 0.8535 GB, free: 14.28 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1754, allocations: 157.2 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1754, allocations: 0.5 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.1755, allocations: 20.58 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1755, allocations: 4.625 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1755, allocations: 3.938 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1755, allocations: 0.5625 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1755, allocations: 0.5312 kB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.1762, allocations: 265.1 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.1762, allocations: 12.67 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.1762, allocations: 4 kB / 0.8539 GB, free: 13.78 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.1764, allocations: 12.53 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.1764, allocations: 20.58 kB / 0.854 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.1765, allocations: 4 kB / 0.854 GB, free: 13.74 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000121/0.1766, allocations: 126.5 kB / 0.8541 GB, free: 13.62 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1766, allocations: 0.5 kB / 0.8541 GB, free: 13.62 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002174/0.1768, allocations: 32 kB / 0.8541 GB, free: 13.59 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.0001366/0.1769, allocations: 96.56 kB / 0.8542 GB, free: 13.49 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004907/0.1774, allocations: 213.6 kB / 0.8544 GB, free: 13.26 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1774, allocations: 4.594 kB / 0.8544 GB, free: 13.26 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.1776, allocations: 64.55 kB / 0.8545 GB, free: 13.2 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.1779, allocations: 44.02 kB / 0.8545 GB, free: 13.16 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007989/0.1787, allocations: 323.1 kB / 0.8548 GB, free: 12.82 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.1788, allocations: 98.73 kB / 0.8549 GB, free: 12.7 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.1789, allocations: 24.31 kB / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.179, allocations: 20 kB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of SimCode: time 4.61e-07/0.179, allocations: 1.938 kB / 0.855 GB, free: 12.66 MB / 490.8 MB Notification: Performance of Templates: time 0.2838/0.4628, allocations: 2.625 MB / 0.8575 GB, free: 28.16 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SodiumArsenite.SodiumArsenite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.341679350938648]