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.001091/0.001091, allocations: 113.3 kB / 16.37 MB, free: 6.012 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.001059/0.001059, allocations: 193.8 kB / 17.3 MB, free: 5.613 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00201/0.00201, allocations: 286.4 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8999/0.8999, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 94.17 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1575, allocations: 86.98 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002141/0.1596, allocations: 1.273 MB / 0.6829 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1608, allocations: 0.8193 MB / 0.6837 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.527e-05/0.1608, allocations: 0 / 0.6837 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.1608, allocations: 0 / 0.6837 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.856e-05/0.1609, allocations: 7.922 kB / 0.6837 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.1613, allocations: 135.4 kB / 0.6838 GB, free: 5.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.219e-05/0.1613, allocations: 27.86 kB / 0.6838 GB, free: 5.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.157e-05/0.1614, allocations: 0 / 0.6838 GB, free: 5.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.284e-05/0.1614, allocations: 8 kB / 0.6838 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.1615, allocations: 19.91 kB / 0.6839 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.1615, allocations: 0 / 0.6839 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.1618, allocations: 167.7 kB / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.1618, allocations: 7.969 kB / 0.684 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.1618, allocations: 11.94 kB / 0.684 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1621, allocations: 115.8 kB / 0.6841 GB, free: 4.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1621, allocations: 4 kB / 0.6841 GB, free: 4.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1621, allocations: 0 / 0.6841 GB, free: 4.836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1621, allocations: 0 / 0.6841 GB, free: 4.836 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.0003731/0.1625, allocations: 359.5 kB / 0.6845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.1625, allocations: 8.031 kB / 0.6845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.1625, allocations: 4.938 kB / 0.6845 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.665e-05/0.1626, allocations: 172.3 kB / 0.6847 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.214e-05/0.1627, allocations: 30.27 kB / 0.6847 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.1627, allocations: 4.312 kB / 0.6847 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1628, allocations: 46.25 kB / 0.6847 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1629, allocations: 3.938 kB / 0.6847 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1629, allocations: 8 kB / 0.6848 GB, free: 4.113 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1629, allocations: 0 / 0.6848 GB, free: 4.113 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.537e-05/0.163, allocations: 15.97 kB / 0.6848 GB, free: 4.098 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.1631, allocations: 157.7 kB / 0.6849 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.1633, allocations: 46.55 kB / 0.685 GB, free: 3.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.1634, allocations: 20.8 kB / 0.685 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.1636, allocations: 178.3 kB / 0.6852 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.1637, allocations: 30.56 kB / 0.6852 GB, free: 3.566 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1637, allocations: 3.938 kB / 0.6852 GB, free: 3.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002163/0.1639, allocations: 77.78 kB / 0.6853 GB, free: 3.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.1639, allocations: 51.41 kB / 0.6853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.392e-05/0.164, allocations: 101.8 kB / 0.6854 GB, free: 3.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.164, allocations: 25.7 kB / 0.6854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.1641, allocations: 84.08 kB / 0.6855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.1641, allocations: 19.75 kB / 0.6855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.1641, allocations: 13.72 kB / 0.6855 GB, free: 3.152 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.1642, allocations: 322.8 kB / 0.6858 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.51e-05/0.1643, allocations: 16 kB / 0.6859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.537e-05/0.1643, allocations: 7.984 kB / 0.6859 GB, free: 2.805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.404e-05/0.1644, allocations: 28.84 kB / 0.6859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1644, allocations: 0 / 0.6859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001379/0.1645, allocations: 57.69 kB / 0.686 GB, free: 2.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1646, allocations: 7.938 kB / 0.686 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1646, allocations: 0 / 0.686 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1646, allocations: 0 / 0.686 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.989e-05/0.1646, allocations: 19.92 kB / 0.686 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1647, allocations: 0 / 0.686 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.687e-05/0.1647, allocations: 0 / 0.686 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1647, allocations: 4 kB / 0.686 GB, free: 2.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.666e-05/0.1648, allocations: 105.8 kB / 0.6861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.1648, allocations: 11.84 kB / 0.6861 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.165, allocations: 69.16 kB / 0.6862 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.165, allocations: 4 kB / 0.6862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.165, allocations: 4 kB / 0.6862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.165, allocations: 0 / 0.6862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.049e-05/0.1651, allocations: 153.7 kB / 0.6863 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1651, allocations: 0 / 0.6863 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.1651, allocations: 15.92 kB / 0.6863 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.1651, allocations: 3.938 kB / 0.6863 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1652, allocations: 0 / 0.6863 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1652, allocations: 0 / 0.6863 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1652, allocations: 0 / 0.6863 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.1653, allocations: 85.11 kB / 0.6864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.1654, allocations: 81.11 kB / 0.6865 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.1654, allocations: 3.938 kB / 0.6865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.1654, allocations: 3.984 kB / 0.6865 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.1655, allocations: 8 kB / 0.6865 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1655, allocations: 432 / 0.6865 GB, free: 2.035 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.985e-05/0.1655, allocations: 83.27 kB / 0.6866 GB, free: 1.953 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1655, allocations: 7.938 kB / 0.6866 GB, free: 1.945 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.1657, allocations: 39.86 kB / 0.6866 GB, free: 1.906 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 (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.0001893/0.1659, allocations: 139.2 kB / 0.6868 GB, free: 1.758 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.1661, allocations: 27.92 kB / 0.6868 GB, free: 1.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1661, allocations: 0 / 0.6868 GB, free: 1.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.854e-05/0.1661, allocations: 19.98 kB / 0.6868 GB, free: 1.711 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.1663, allocations: 8 kB / 0.6868 GB, free: 1.703 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.1666, allocations: 123.1 kB / 0.6869 GB, free: 1.559 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.1668, allocations: 0.6768 MB / 0.6876 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.571e-05/0.1668, allocations: 8 kB / 0.6876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.1668, allocations: 11.44 kB / 0.6876 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1669, allocations: 0 / 0.6876 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of Templates: time 0.2311/0.3979, allocations: 1.051 MB / 0.6886 GB, free: 17.68 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)