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.0009348/0.0009349, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00716/0.00716, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9744/0.9744, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 15.98 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1655, allocations: 82.3 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001818/0.1674, allocations: 1.211 MB / 0.5891 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1689, allocations: 0.8071 MB / 0.5899 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.1689, allocations: 4 kB / 0.5899 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.1689, allocations: 3.938 kB / 0.5899 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.779e-05/0.169, allocations: 11.92 kB / 0.59 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.1694, allocations: 103.6 kB / 0.5901 GB, free: 480 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1696, allocations: 59.73 kB / 0.5901 GB, free: 420 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.644e-05/0.1697, allocations: 15.98 kB / 0.5901 GB, free: 404 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.1697, allocations: 15.92 kB / 0.5901 GB, free: 388 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.42e-05/0.1698, allocations: 19.92 kB / 0.5902 GB, free: 368 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.1698, allocations: 0 / 0.5902 GB, free: 368 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.1701, allocations: 175.7 kB / 0.5903 GB, free: 192 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.1702, allocations: 7.984 kB / 0.5903 GB, free: 184 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.1702, allocations: 41.58 kB / 0.5904 GB, free: 136 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.1705, allocations: 151.8 kB / 0.5905 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1705, allocations: 0 / 0.5905 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1705, allocations: 0 / 0.5905 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.1706, allocations: 4 kB / 0.5905 GB, free: 15.98 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.0005377/0.1711, allocations: 395.3 kB / 0.5909 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1712, allocations: 12.03 kB / 0.5909 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.1712, allocations: 4.844 kB / 0.5909 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.1713, allocations: 180.2 kB / 0.5911 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1713, allocations: 4.375 kB / 0.5911 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1714, allocations: 4.375 kB / 0.5911 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.1717, allocations: 82.2 kB / 0.5912 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.1717, allocations: 4.188 kB / 0.5912 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1717, allocations: 7.938 kB / 0.5912 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1718, allocations: 0 / 0.5912 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.1721, allocations: 91.86 kB / 0.5913 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.1725, allocations: 296.6 kB / 0.5916 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.1727, allocations: 70.53 kB / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.1729, allocations: 52.86 kB / 0.5917 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.1731, allocations: 93.09 kB / 0.5918 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.1731, allocations: 30.56 kB / 0.5918 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1731, allocations: 0 / 0.5918 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006045/0.1737, allocations: 169.5 kB / 0.592 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.1738, allocations: 51.41 kB / 0.592 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.786e-05/0.1739, allocations: 121.8 kB / 0.5921 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1739, allocations: 25.7 kB / 0.5921 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.1739, allocations: 92.12 kB / 0.5922 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.174, allocations: 11.81 kB / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.174, allocations: 9.719 kB / 0.5923 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1741, allocations: 318.8 kB / 0.5926 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.1743, allocations: 43.95 kB / 0.5926 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.1745, allocations: 39.97 kB / 0.5926 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.1748, allocations: 92.78 kB / 0.5927 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1748, allocations: 4 kB / 0.5927 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003694/0.1751, allocations: 121.6 kB / 0.5928 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1752, allocations: 4 kB / 0.5928 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1752, allocations: 0 / 0.5928 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1752, allocations: 3.984 kB / 0.5929 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1753, allocations: 19.98 kB / 0.5929 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1753, allocations: 0 / 0.5929 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-05/0.1754, allocations: 23.98 kB / 0.5929 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1754, allocations: 4 kB / 0.5929 GB, free: 13.3 MB / 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 8.875e-05/0.1755, allocations: 109.8 kB / 0.593 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.1756, allocations: 7.906 kB / 0.593 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.176, allocations: 133.5 kB / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.176, allocations: 3.984 kB / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.176, allocations: 0 / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1761, allocations: 0 / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.1762, allocations: 169.6 kB / 0.5933 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1762, allocations: 4 kB / 0.5933 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.1763, allocations: 23.97 kB / 0.5933 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1764, allocations: 3.938 kB / 0.5933 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.1764, allocations: 4 kB / 0.5933 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1764, allocations: 0 / 0.5933 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1764, allocations: 0 / 0.5933 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.1768, allocations: 227.3 kB / 0.5936 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.1769, allocations: 85.03 kB / 0.5936 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.1769, allocations: 7.938 kB / 0.5936 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.177, allocations: 15.98 kB / 0.5937 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.1771, allocations: 4 kB / 0.5937 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1771, allocations: 3.984 kB / 0.5937 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.044e-05/0.1772, allocations: 91.28 kB / 0.5938 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1772, allocations: 4 kB / 0.5938 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002729/0.1774, allocations: 27.98 kB / 0.5938 GB, free: 12.29 MB / 0.4981 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.0002166/0.1777, allocations: 131.2 kB / 0.5939 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.178, allocations: 92.34 kB / 0.594 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.178, allocations: 0 / 0.594 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.1782, allocations: 55.89 kB / 0.594 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.1785, allocations: 7.938 kB / 0.5941 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.1788, allocations: 178.6 kB / 0.5942 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.1791, allocations: 0.6848 MB / 0.5949 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.522e-05/0.1791, allocations: 7.969 kB / 0.5949 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.1791, allocations: 11.44 kB / 0.5949 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1791, allocations: 0 / 0.5949 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.003445/0.1826, allocations: 1.211 MB / 0.5961 GB, free: 9.871 MB / 0.4981 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)