Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 101.5 kB / 16.41 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 185.7 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8712/0.8712, allocations: 135.2 MB / 426.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 73 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1656, allocations: 80.92 MB / 0.6653 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00279/0.1684, allocations: 1.477 MB / 0.6668 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.1698, allocations: 0.8069 MB / 0.6676 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.1698, allocations: 4 kB / 0.6676 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.1699, allocations: 7.922 kB / 0.6676 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.1699, allocations: 11.86 kB / 0.6676 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.1704, allocations: 131.4 kB / 0.6677 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.742e-05/0.1705, allocations: 55.78 kB / 0.6678 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.1706, allocations: 8 kB / 0.6678 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.144e-05/0.1706, allocations: 19.92 kB / 0.6678 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.1707, allocations: 31.91 kB / 0.6678 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1707, allocations: 4 kB / 0.6678 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003455/0.171, allocations: 171.7 kB / 0.668 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.171, allocations: 11.94 kB / 0.668 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.1711, allocations: 23.86 kB / 0.668 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.1714, allocations: 143.6 kB / 0.6682 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1714, allocations: 0 / 0.6682 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1714, allocations: 0 / 0.6682 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1714, allocations: 4 kB / 0.6682 GB, free: 2.828 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006358/0.172, allocations: 406.9 kB / 0.6686 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.172, allocations: 9.109 kB / 0.6686 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.1721, allocations: 8.891 kB / 0.6686 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.1722, allocations: 176.3 kB / 0.6687 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1722, allocations: 8.297 kB / 0.6688 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.1723, allocations: 4.375 kB / 0.6688 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.1725, allocations: 70.22 kB / 0.6688 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1725, allocations: 4.188 kB / 0.6688 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1725, allocations: 7.938 kB / 0.6688 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1725, allocations: 0 / 0.6688 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.1728, allocations: 67.92 kB / 0.6689 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.1733, allocations: 280.7 kB / 0.6692 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.1735, allocations: 62.53 kB / 0.6692 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.1737, allocations: 32.92 kB / 0.6693 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/0.1739, allocations: 89.09 kB / 0.6693 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1739, allocations: 30.56 kB / 0.6694 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1739, allocations: 7.938 kB / 0.6694 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005689/0.1745, allocations: 141.5 kB / 0.6695 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.1745, allocations: 51.41 kB / 0.6696 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.1746, allocations: 117.8 kB / 0.6697 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1747, allocations: 33.7 kB / 0.6697 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.1747, allocations: 88.12 kB / 0.6698 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.1747, allocations: 15.84 kB / 0.6698 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.1748, allocations: 13.72 kB / 0.6698 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1749, allocations: 318.8 kB / 0.6701 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1751, allocations: 31.95 kB / 0.6702 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1752, allocations: 35.97 kB / 0.6702 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.1755, allocations: 64.78 kB / 0.6703 GB, free: 468 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1755, allocations: 3.938 kB / 0.6703 GB, free: 464 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003277/0.1758, allocations: 101.6 kB / 0.6704 GB, free: 356 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1759, allocations: 8 kB / 0.6704 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1759, allocations: 3.984 kB / 0.6704 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1759, allocations: 0 / 0.6704 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.176, allocations: 15.98 kB / 0.6704 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.176, allocations: 0 / 0.6704 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.413e-05/0.1761, allocations: 11.98 kB / 0.6704 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1761, allocations: 4.328 kB / 0.6704 GB, free: 312 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 9.756e-05/0.1762, allocations: 113.8 kB / 0.6705 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.1762, allocations: 7.953 kB / 0.6705 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/0.1766, allocations: 117.4 kB / 0.6706 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1766, allocations: 0 / 0.6706 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1766, allocations: 0 / 0.6706 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1766, allocations: 0 / 0.6706 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.1768, allocations: 173.6 kB / 0.6708 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1768, allocations: 4 kB / 0.6708 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.1769, allocations: 15.97 kB / 0.6708 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1769, allocations: 0 / 0.6708 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1769, allocations: 4 kB / 0.6708 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.177, allocations: 0 / 0.6708 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.177, allocations: 0 / 0.6708 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.1773, allocations: 199.4 kB / 0.671 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.1774, allocations: 89.09 kB / 0.6711 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.1774, allocations: 0 / 0.6711 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1775, allocations: 7.984 kB / 0.6711 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.1776, allocations: 11.94 kB / 0.6711 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.1776, allocations: 3.984 kB / 0.6711 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.1776, allocations: 91.28 kB / 0.6712 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1776, allocations: 4 kB / 0.6712 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002865/0.1779, allocations: 35.8 kB / 0.6712 GB, free: 15.34 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002287/0.1782, allocations: 135.1 kB / 0.6714 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003494/0.1785, allocations: 67.92 kB / 0.6714 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1785, allocations: 4 kB / 0.6714 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.1787, allocations: 35.95 kB / 0.6715 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.179, allocations: 7.938 kB / 0.6715 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.1794, allocations: 196.5 kB / 0.6717 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1797, allocations: 0.6846 MB / 0.6723 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.1797, allocations: 11.44 kB / 0.6723 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.1797, allocations: 0 / 0.6723 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.003242/0.183, allocations: 1.218 MB / 0.6735 GB, free: 12.93 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)