Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.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.002063/0.002063, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.003057/0.003057, allocations: 220.1 kB / 22.25 MB, free: 3.688 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.792/1.792, allocations: 230.6 MB / 256 MB, free: 9.578 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.531/1.531, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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.SelenicAcid.SelenicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid") [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.004123/0.004123, allocations: 77.34 kB / 0.775 GB, free: 14.63 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1542, allocations: 74 MB / 0.8473 GB, free: 4.777 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid): time 0.003784/0.158, allocations: 1.817 MB / 0.8491 GB, free: 2.961 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1592, allocations: 0.5458 MB / 0.8496 GB, free: 2.414 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.1593, allocations: 0 / 0.8496 GB, free: 2.414 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.1594, allocations: 12.58 kB / 0.8496 GB, free: 2.402 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.1598, allocations: 64.86 kB / 0.8497 GB, free: 2.34 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.16, allocations: 61.92 kB / 0.8497 GB, free: 2.281 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.1603, allocations: 163.3 kB / 0.8499 GB, free: 2.121 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.1603, allocations: 13.83 kB / 0.8499 GB, free: 2.109 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1604, allocations: 67.77 kB / 0.85 GB, free: 2.043 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.1607, allocations: 80.38 kB / 0.85 GB, free: 1.965 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.1608, allocations: 8.625 kB / 0.85 GB, free: 1.957 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.278e-05/0.1608, allocations: 11.94 kB / 0.8501 GB, free: 1.945 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.445e-05/0.1609, allocations: 37.22 kB / 0.8501 GB, free: 1.91 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.162e-05/0.161, allocations: 43.8 kB / 0.8501 GB, free: 1.867 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.1611, allocations: 91.58 kB / 0.8502 GB, free: 1.777 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1611, allocations: 5.094 kB / 0.8502 GB, free: 1.773 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1611, allocations: 0 / 0.8502 GB, free: 1.773 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1611, allocations: 3.938 kB / 0.8502 GB, free: 1.77 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.0009454/0.1621, allocations: 397.4 kB / 0.8506 GB, free: 1.348 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1621, allocations: 8.031 kB / 0.8506 GB, free: 1.34 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.1622, allocations: 17.41 kB / 0.8506 GB, free: 1.324 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1624, allocations: 153.3 kB / 0.8508 GB, free: 1.152 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1625, allocations: 4.375 kB / 0.8508 GB, free: 1.148 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.1625, allocations: 24.05 kB / 0.8508 GB, free: 1.125 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.1628, allocations: 97.61 kB / 0.8509 GB, free: 1.023 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1628, allocations: 0 / 0.8509 GB, free: 1.023 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1628, allocations: 4 kB / 0.8509 GB, free: 1.02 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1628, allocations: 1.969 kB / 0.8509 GB, free: 1.02 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.1631, allocations: 79.92 kB / 0.851 GB, free: 0.9414 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.1638, allocations: 280.3 kB / 0.8512 GB, free: 0.6367 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.1642, allocations: 135.7 kB / 0.8514 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.1644, allocations: 57.95 kB / 0.8514 GB, free: 448 kB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1644, allocations: 0 / 0.8514 GB, free: 448 kB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003248/0.1647, allocations: 115.2 kB / 0.8515 GB, free: 324 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.1647, allocations: 0.6875 kB / 0.8515 GB, free: 324 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006287/0.1653, allocations: 198.8 kB / 0.8517 GB, free: 120 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.1654, allocations: 59.39 kB / 0.8518 GB, free: 48 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.1656, allocations: 162.1 kB / 0.8519 GB, free: 15.88 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.1657, allocations: 26.42 kB / 0.852 GB, free: 15.85 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.377e-05/0.1657, allocations: 104.1 kB / 0.8521 GB, free: 15.75 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.1658, allocations: 44.45 kB / 0.8521 GB, free: 15.7 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.1659, allocations: 37.7 kB / 0.8521 GB, free: 15.66 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.1661, allocations: 327.3 kB / 0.8525 GB, free: 15.33 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.1663, allocations: 86.17 kB / 0.8525 GB, free: 15.24 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.1666, allocations: 198.7 kB / 0.8527 GB, free: 15.01 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.1669, allocations: 150.1 kB / 0.8529 GB, free: 14.86 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.167, allocations: 4 kB / 0.8529 GB, free: 14.86 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004992/0.1675, allocations: 234 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.1675, allocations: 38.19 kB / 0.8531 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1675, allocations: 0.5625 kB / 0.8531 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1675, allocations: 0 / 0.8531 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.1677, allocations: 24.73 kB / 0.8532 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1677, allocations: 8.656 kB / 0.8532 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.1679, allocations: 28.41 kB / 0.8532 GB, free: 14.51 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.1679, allocations: 7.984 kB / 0.8532 GB, free: 14.5 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.0001305/0.168, allocations: 129.6 kB / 0.8533 GB, free: 14.37 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.168, allocations: 11.89 kB / 0.8533 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.1685, allocations: 176.5 kB / 0.8535 GB, free: 14.18 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1685, allocations: 0 / 0.8535 GB, free: 14.18 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1685, allocations: 4 kB / 0.8535 GB, free: 14.18 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1686, allocations: 0 / 0.8535 GB, free: 14.18 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.1687, allocations: 153.2 kB / 0.8537 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1687, allocations: 0 / 0.8537 GB, free: 14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.1689, allocations: 24.8 kB / 0.8537 GB, free: 13.97 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1689, allocations: 0 / 0.8537 GB, free: 13.97 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1689, allocations: 4.625 kB / 0.8537 GB, free: 13.97 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1689, allocations: 0 / 0.8537 GB, free: 13.97 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1689, allocations: 0.9688 kB / 0.8537 GB, free: 13.97 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006592/0.1696, allocations: 257.8 kB / 0.8539 GB, free: 13.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.1696, allocations: 13.02 kB / 0.8539 GB, free: 13.69 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.1696, allocations: 4 kB / 0.8539 GB, free: 13.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.1698, allocations: 11.98 kB / 0.854 GB, free: 13.67 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.1699, allocations: 20.47 kB / 0.854 GB, free: 13.65 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1699, allocations: 5.719 kB / 0.854 GB, free: 13.65 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001235/0.17, allocations: 117.9 kB / 0.8541 GB, free: 13.54 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.17, allocations: 4 kB / 0.8541 GB, free: 13.53 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002204/0.1702, allocations: 28 kB / 0.8541 GB, free: 13.5 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.0001642/0.1704, allocations: 106.6 kB / 0.8542 GB, free: 13.39 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005111/0.1709, allocations: 216.5 kB / 0.8544 GB, free: 13.17 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1709, allocations: 0.625 kB / 0.8544 GB, free: 13.17 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.1711, allocations: 64.48 kB / 0.8545 GB, free: 13.11 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1714, allocations: 49.67 kB / 0.8545 GB, free: 13.06 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008799/0.1723, allocations: 330.6 kB / 0.8549 GB, free: 12.71 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.1724, allocations: 99.14 kB / 0.855 GB, free: 12.59 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.1725, allocations: 28.28 kB / 0.855 GB, free: 12.57 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.1726, allocations: 16.09 kB / 0.855 GB, free: 12.55 MB / 490.8 MB Notification: Performance of SimCode: time 7.61e-07/0.1726, allocations: 4.656 kB / 0.855 GB, free: 12.55 MB / 490.8 MB Notification: Performance of Templates: time 0.293/0.4656, allocations: 2.614 MB / 0.8576 GB, free: 28.07 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SelenicAcid.SelenicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.461406629066914]