Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007765/0.0007766, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0008837/0.0008836, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 263.2 kB / 291.3 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.916/0.916, allocations: 169.5 MB / 0.5 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004223, allocations: 13.16 kB / 0.598 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.164, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001588/0.1657, allocations: 0.9831 MB / 0.6854 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1671, allocations: 0.7728 MB / 0.6862 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.1672, allocations: 4 kB / 0.6862 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.1672, allocations: 7.375 kB / 0.6862 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.893e-05/0.1673, allocations: 3.984 kB / 0.6862 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.1678, allocations: 107.5 kB / 0.6863 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.045e-05/0.1679, allocations: 19.92 kB / 0.6863 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.168, allocations: 4 kB / 0.6863 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.484e-05/0.168, allocations: 11.92 kB / 0.6863 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.1681, allocations: 16.61 kB / 0.6864 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1681, allocations: 4.5 kB / 0.6864 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.1685, allocations: 168.3 kB / 0.6865 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.1685, allocations: 3.984 kB / 0.6865 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.1685, allocations: 38.17 kB / 0.6866 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.1687, allocations: 82.53 kB / 0.6866 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1687, allocations: 0 / 0.6866 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1687, allocations: 0 / 0.6866 GB, free: 13.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1688, allocations: 0 / 0.6866 GB, free: 13.21 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004031/0.1692, allocations: 352.7 kB / 0.687 GB, free: 12.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1692, allocations: 8.781 kB / 0.687 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.1693, allocations: 7.953 kB / 0.687 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.1694, allocations: 167.8 kB / 0.6872 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-05/0.1695, allocations: 29.7 kB / 0.6872 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1695, allocations: 1.531 kB / 0.6872 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1696, allocations: 49.67 kB / 0.6872 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1696, allocations: 4 kB / 0.6872 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1696, allocations: 0.6562 kB / 0.6872 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1697, allocations: 0 / 0.6872 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.705e-05/0.1697, allocations: 25.22 kB / 0.6873 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.1699, allocations: 161.6 kB / 0.6874 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1701, allocations: 45.92 kB / 0.6875 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.1702, allocations: 24.88 kB / 0.6875 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/0.1705, allocations: 178.2 kB / 0.6877 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1705, allocations: 31.25 kB / 0.6877 GB, free: 11.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.1705, allocations: 0.875 kB / 0.6877 GB, free: 11.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002233/0.1707, allocations: 70.33 kB / 0.6878 GB, free: 11.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.1708, allocations: 52.75 kB / 0.6878 GB, free: 11.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.536e-05/0.1709, allocations: 105.8 kB / 0.6879 GB, free: 11.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1709, allocations: 25.7 kB / 0.6879 GB, free: 11.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.949e-05/0.1709, allocations: 84.14 kB / 0.688 GB, free: 11.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.1709, allocations: 15.75 kB / 0.688 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.1709, allocations: 4 kB / 0.688 GB, free: 11.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.171, allocations: 310.8 kB / 0.6883 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.343e-05/0.1711, allocations: 11.98 kB / 0.6883 GB, free: 11.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-05/0.1711, allocations: 8 kB / 0.6883 GB, free: 11.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.744e-05/0.1712, allocations: 15.98 kB / 0.6884 GB, free: 11.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1712, allocations: 0 / 0.6884 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001179/0.1713, allocations: 57.62 kB / 0.6884 GB, free: 11.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1713, allocations: 4 kB / 0.6884 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1714, allocations: 0 / 0.6884 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1714, allocations: 4 kB / 0.6884 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.096e-05/0.1714, allocations: 7.984 kB / 0.6884 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.1714, allocations: 3.984 kB / 0.6884 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/0.1715, allocations: 4 kB / 0.6884 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.1715, allocations: 3.953 kB / 0.6884 GB, free: 11.12 MB / 494.1 MB 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.609e-05/0.1716, allocations: 114.5 kB / 0.6886 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.1716, allocations: 4 kB / 0.6886 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.1718, allocations: 69.53 kB / 0.6886 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1718, allocations: 4 kB / 0.6886 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1718, allocations: 48 / 0.6886 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1718, allocations: 3.984 kB / 0.6886 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.1719, allocations: 161.6 kB / 0.6888 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1719, allocations: 3.984 kB / 0.6888 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/0.172, allocations: 8 kB / 0.6888 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.172, allocations: 4 kB / 0.6888 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.172, allocations: 3.938 kB / 0.6888 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.172, allocations: 0 / 0.6888 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.172, allocations: 0 / 0.6888 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.1722, allocations: 85.06 kB / 0.6889 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.1722, allocations: 85.11 kB / 0.689 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.1723, allocations: 0 / 0.689 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.229e-05/0.1723, allocations: 7.922 kB / 0.689 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.1724, allocations: 8 kB / 0.689 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.1724, allocations: 3.938 kB / 0.689 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.611e-05/0.1724, allocations: 83.27 kB / 0.6891 GB, free: 10.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1724, allocations: 0 / 0.6891 GB, free: 10.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.1726, allocations: 39.94 kB / 0.6891 GB, free: 10.34 MB / 494.1 MB 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000197/0.1728, allocations: 127.2 kB / 0.6892 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.173, allocations: 27.98 kB / 0.6892 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.173, allocations: 0 / 0.6892 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.533e-05/0.173, allocations: 23.92 kB / 0.6893 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.1733, allocations: 8.703 kB / 0.6893 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.1735, allocations: 138.4 kB / 0.6894 GB, free: 9.992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.1737, allocations: 0.677 MB / 0.6901 GB, free: 9.289 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.452e-05/0.1738, allocations: 11.94 kB / 0.6901 GB, free: 9.277 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.1738, allocations: 15.44 kB / 0.6901 GB, free: 9.262 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1738, allocations: 0 / 0.6901 GB, free: 9.262 MB / 494.1 MB Notification: Performance of Templates: time 0.003009/0.1768, allocations: 1.02 MB / 0.6911 GB, free: 8.246 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)