Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001564/0.001564, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001815/0.001816, allocations: 183 kB / 17.34 MB, free: 5.766 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.772/0.772, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 62.59 kB / 0.582 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1594, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003128/0.1626, allocations: 1.491 MB / 0.6618 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.164, allocations: 0.8108 MB / 0.6626 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.1641, allocations: 0 / 0.6626 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.1641, allocations: 3.938 kB / 0.6626 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.593e-05/0.1642, allocations: 15.86 kB / 0.6626 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.1647, allocations: 127.5 kB / 0.6627 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.841e-05/0.1648, allocations: 55.78 kB / 0.6628 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1649, allocations: 11.94 kB / 0.6628 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.289e-05/0.165, allocations: 23.92 kB / 0.6628 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.1651, allocations: 27.84 kB / 0.6628 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1651, allocations: 8 kB / 0.6628 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.1655, allocations: 167.8 kB / 0.663 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.1655, allocations: 15.94 kB / 0.663 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.1655, allocations: 19.86 kB / 0.663 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.1659, allocations: 147.6 kB / 0.6632 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1659, allocations: 0 / 0.6632 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.417e-06/0.1659, allocations: 0 / 0.6632 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.1659, allocations: 7.938 kB / 0.6632 GB, free: 7.352 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.0005943/0.1665, allocations: 395.2 kB / 0.6635 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1665, allocations: 8.031 kB / 0.6635 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.1666, allocations: 8.844 kB / 0.6636 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.1667, allocations: 172.3 kB / 0.6637 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1667, allocations: 384 / 0.6637 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.1668, allocations: 8.375 kB / 0.6637 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.167, allocations: 74.2 kB / 0.6638 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1671, allocations: 192 / 0.6638 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1671, allocations: 3.938 kB / 0.6638 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1671, allocations: 4 kB / 0.6638 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.1674, allocations: 67.86 kB / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.1678, allocations: 288.7 kB / 0.6641 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.1681, allocations: 58.53 kB / 0.6642 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.1682, allocations: 36.92 kB / 0.6642 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.1684, allocations: 89.09 kB / 0.6643 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.1685, allocations: 38.5 kB / 0.6644 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1685, allocations: 0 / 0.6644 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005752/0.1691, allocations: 129.7 kB / 0.6645 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.1691, allocations: 51.41 kB / 0.6645 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1692, allocations: 124.8 kB / 0.6647 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1692, allocations: 25.7 kB / 0.6647 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.1693, allocations: 96.12 kB / 0.6648 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.1693, allocations: 11.81 kB / 0.6648 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.1694, allocations: 13.72 kB / 0.6648 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1695, allocations: 322.8 kB / 0.6651 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.1697, allocations: 27.97 kB / 0.6651 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.1698, allocations: 39.88 kB / 0.6652 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.1701, allocations: 76.72 kB / 0.6652 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1701, allocations: 4 kB / 0.6652 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003445/0.1705, allocations: 93.62 kB / 0.6653 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1705, allocations: 13.7 kB / 0.6653 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1705, allocations: 0 / 0.6653 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1705, allocations: 0 / 0.6653 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.1707, allocations: 15.98 kB / 0.6654 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1707, allocations: 0 / 0.6654 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/0.1708, allocations: 11.98 kB / 0.6654 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1708, allocations: 0 / 0.6654 GB, free: 4.848 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 7.543e-05/0.1708, allocations: 121.7 kB / 0.6655 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.1709, allocations: 7.906 kB / 0.6655 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003832/0.1713, allocations: 109.5 kB / 0.6656 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1713, allocations: 0 / 0.6656 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.1713, allocations: 8 kB / 0.6656 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1713, allocations: 0 / 0.6656 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.1715, allocations: 173.5 kB / 0.6658 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1715, allocations: 3.984 kB / 0.6658 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.892e-05/0.1716, allocations: 19.98 kB / 0.6658 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1716, allocations: 0 / 0.6658 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.1716, allocations: 0 / 0.6658 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1716, allocations: 0 / 0.6658 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1716, allocations: 0 / 0.6658 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.172, allocations: 203.2 kB / 0.666 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.1721, allocations: 81.11 kB / 0.6661 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.1721, allocations: 4 kB / 0.6661 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1722, allocations: 11.98 kB / 0.6661 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.1723, allocations: 3.984 kB / 0.6661 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.1723, allocations: 4 kB / 0.6661 GB, free: 4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.71e-05/0.1723, allocations: 87.28 kB / 0.6662 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1723, allocations: 0 / 0.6662 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002786/0.1726, allocations: 39.98 kB / 0.6662 GB, free: 3.875 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.000214/0.1728, allocations: 127.2 kB / 0.6663 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003527/0.1732, allocations: 71.86 kB / 0.6664 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1732, allocations: 0 / 0.6664 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.1734, allocations: 43.95 kB / 0.6664 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.1737, allocations: 12.36 kB / 0.6665 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.1741, allocations: 180.7 kB / 0.6666 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1743, allocations: 0.6807 MB / 0.6673 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.1744, allocations: 15.44 kB / 0.6673 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.1744, allocations: 0 / 0.6673 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of Templates: time 0.003085/0.1775, allocations: 1.216 MB / 0.6685 GB, free: 1.469 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)