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.005617/0.005617, allocations: 102 kB / 15.73 MB, free: 6.051 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.001214/0.001214, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7758/0.7758, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 64.22 kB / 0.5813 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1723, allocations: 80.21 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002546/0.1749, allocations: 1.484 MB / 0.6611 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1762, allocations: 0.8069 MB / 0.6619 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.1763, allocations: 0 / 0.6619 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.866e-05/0.1764, allocations: 3.938 kB / 0.6619 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.538e-05/0.1764, allocations: 15.86 kB / 0.6619 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.177, allocations: 135.4 kB / 0.662 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.911e-05/0.1772, allocations: 51.8 kB / 0.6621 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1773, allocations: 15.97 kB / 0.6621 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.1773, allocations: 19.92 kB / 0.6621 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.1774, allocations: 23.92 kB / 0.6622 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1774, allocations: 4 kB / 0.6622 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.1777, allocations: 175.8 kB / 0.6623 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.1778, allocations: 11.92 kB / 0.6623 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.1778, allocations: 23.81 kB / 0.6624 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.1781, allocations: 151.6 kB / 0.6625 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1781, allocations: 4 kB / 0.6625 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1781, allocations: 0 / 0.6625 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1781, allocations: 0 / 0.6625 GB, free: 7.324 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.0005733/0.1787, allocations: 391.2 kB / 0.6629 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1788, allocations: 12.03 kB / 0.6629 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.1788, allocations: 12.83 kB / 0.6629 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.1789, allocations: 168.3 kB / 0.6631 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.179, allocations: 384 / 0.6631 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.179, allocations: 8.312 kB / 0.6631 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.1792, allocations: 74.2 kB / 0.6631 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1792, allocations: 192 / 0.6631 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1793, allocations: 7.938 kB / 0.6632 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1793, allocations: 0 / 0.6632 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.1795, allocations: 71.92 kB / 0.6632 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.1799, allocations: 288.6 kB / 0.6635 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1801, allocations: 58.55 kB / 0.6636 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.1803, allocations: 40.91 kB / 0.6636 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.1805, allocations: 89.09 kB / 0.6637 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1805, allocations: 34.56 kB / 0.6637 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.1805, allocations: 3.938 kB / 0.6637 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004995/0.181, allocations: 133.5 kB / 0.6638 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.1811, allocations: 51.41 kB / 0.6639 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.1812, allocations: 121.8 kB / 0.664 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1812, allocations: 25.7 kB / 0.664 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.1812, allocations: 88.14 kB / 0.6641 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.1813, allocations: 15.8 kB / 0.6641 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.1813, allocations: 17.72 kB / 0.6641 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.1814, allocations: 314.8 kB / 0.6644 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1815, allocations: 31.95 kB / 0.6645 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.1817, allocations: 31.97 kB / 0.6645 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.1819, allocations: 72.78 kB / 0.6646 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1819, allocations: 3.938 kB / 0.6646 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000277/0.1822, allocations: 97.56 kB / 0.6647 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1822, allocations: 4 kB / 0.6647 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1822, allocations: 4 kB / 0.6647 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1823, allocations: 0 / 0.6647 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1824, allocations: 23.97 kB / 0.6647 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.1824, allocations: 0 / 0.6647 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.02e-05/0.1825, allocations: 15.98 kB / 0.6647 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1825, allocations: 0 / 0.6647 GB, free: 4.812 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.488e-05/0.1826, allocations: 113.8 kB / 0.6648 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.1826, allocations: 3.906 kB / 0.6648 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.1829, allocations: 113.8 kB / 0.6649 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.1829, allocations: 8.031 kB / 0.6649 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1829, allocations: 0 / 0.6649 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.183, allocations: 0 / 0.6649 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.1831, allocations: 177.5 kB / 0.6651 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1831, allocations: 0 / 0.6651 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.631e-05/0.1832, allocations: 19.98 kB / 0.6651 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1832, allocations: 3.984 kB / 0.6651 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1832, allocations: 0 / 0.6651 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1832, allocations: 0 / 0.6651 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1833, allocations: 0 / 0.6651 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.1836, allocations: 203.3 kB / 0.6653 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1837, allocations: 77.11 kB / 0.6654 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1837, allocations: 0 / 0.6654 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.944e-05/0.1838, allocations: 15.97 kB / 0.6654 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.1839, allocations: 4 kB / 0.6654 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.1839, allocations: 7.938 kB / 0.6654 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.1839, allocations: 93.67 kB / 0.6655 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1839, allocations: 0 / 0.6655 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003368/0.1843, allocations: 31.94 kB / 0.6656 GB, free: 3.848 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.0001858/0.1845, allocations: 143.2 kB / 0.6657 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003045/0.1848, allocations: 63.92 kB / 0.6657 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1848, allocations: 0 / 0.6657 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.1849, allocations: 39.97 kB / 0.6658 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.1852, allocations: 15.91 kB / 0.6658 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.1855, allocations: 155 kB / 0.666 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.1858, allocations: 0.6807 MB / 0.6666 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.127e-05/0.1858, allocations: 8 kB / 0.6666 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.1858, allocations: 11.44 kB / 0.6666 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1858, allocations: 4 kB / 0.6666 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of Templates: time 0.004084/0.1899, allocations: 1.366 MB / 0.668 GB, free: 1.32 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)