Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001093/0.001094, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.872/0.872, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.12 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1459, allocations: 82.03 MB / 0.6763 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.006129/0.1521, allocations: 4.735 MB / 0.681 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002884/0.155, allocations: 2.699 MB / 0.6836 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1551, allocations: 4 kB / 0.6836 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1554, allocations: 47.69 kB / 0.6836 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.1558, allocations: 91.34 kB / 0.6837 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.157, allocations: 0.5034 MB / 0.6842 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.1574, allocations: 235.9 kB / 0.6845 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.1575, allocations: 17.55 kB / 0.6845 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.1577, allocations: 119.5 kB / 0.6846 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.1579, allocations: 95.59 kB / 0.6847 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.1579, allocations: 8 kB / 0.6847 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007388/0.1587, allocations: 359.4 kB / 0.685 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/0.1587, allocations: 43.83 kB / 0.6851 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.06e-05/0.1588, allocations: 83.66 kB / 0.6851 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007035/0.1595, allocations: 363 kB / 0.6855 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1596, allocations: 0 / 0.6855 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1596, allocations: 0 / 0.6855 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1596, allocations: 0 / 0.6855 GB, free: 0.9023 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007431/0.1603, allocations: 0.4953 MB / 0.686 GB, free: 364 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1604, allocations: 8.031 kB / 0.686 GB, free: 356 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.1606, allocations: 24.73 kB / 0.686 GB, free: 332 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.1609, allocations: 228.1 kB / 0.6862 GB, free: 64 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1609, allocations: 12.64 kB / 0.6862 GB, free: 52 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.1609, allocations: 16.38 kB / 0.6863 GB, free: 36 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.1613, allocations: 240.3 kB / 0.6865 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1614, allocations: 0 / 0.6865 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.1614, allocations: 8 kB / 0.6865 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.1614, allocations: 12 kB / 0.6865 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/0.1619, allocations: 431.4 kB / 0.6869 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.163, allocations: 0.9565 MB / 0.6878 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.1633, allocations: 162.2 kB / 0.688 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/0.1634, allocations: 60.88 kB / 0.6881 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/0.1648, allocations: 1.829 MB / 0.6898 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1648, allocations: 38.56 kB / 0.6899 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.1648, allocations: 4 kB / 0.6899 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003202/0.1651, allocations: 137.5 kB / 0.69 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.1652, allocations: 59.34 kB / 0.6901 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1653, allocations: 171.9 kB / 0.6902 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.1654, allocations: 33.7 kB / 0.6903 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.1655, allocations: 131.8 kB / 0.6904 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.1655, allocations: 67.17 kB / 0.6905 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.1656, allocations: 49.7 kB / 0.6905 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1657, allocations: 326.8 kB / 0.6908 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.1658, allocations: 35.92 kB / 0.6909 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1659, allocations: 142.5 kB / 0.691 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.1661, allocations: 202.5 kB / 0.6912 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1662, allocations: 0 / 0.6912 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003309/0.1665, allocations: 224.8 kB / 0.6914 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1665, allocations: 4 kB / 0.6914 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.1665, allocations: 4 kB / 0.6914 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1666, allocations: 7.984 kB / 0.6914 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.1667, allocations: 59.86 kB / 0.6915 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.1668, allocations: 4 kB / 0.6915 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1669, allocations: 27.69 kB / 0.6915 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.1669, allocations: 15.94 kB / 0.6915 GB, free: 10 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001243/0.167, allocations: 145.7 kB / 0.6917 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.1671, allocations: 23.81 kB / 0.6917 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.1674, allocations: 147 kB / 0.6918 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.1674, allocations: 3.938 kB / 0.6918 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1674, allocations: 0 / 0.6918 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1674, allocations: 0 / 0.6918 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.1677, allocations: 221.4 kB / 0.692 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1677, allocations: 4 kB / 0.692 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.756e-05/0.1678, allocations: 23.92 kB / 0.6921 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1678, allocations: 7.984 kB / 0.6921 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1678, allocations: 8 kB / 0.6921 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1678, allocations: 3.938 kB / 0.6921 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1678, allocations: 0 / 0.6921 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1681, allocations: 219.4 kB / 0.6923 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.1682, allocations: 104.9 kB / 0.6924 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.1682, allocations: 0 / 0.6924 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.1684, allocations: 19.92 kB / 0.6924 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.1684, allocations: 11.98 kB / 0.6924 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.1685, allocations: 15.98 kB / 0.6924 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.858e-05/0.1685, allocations: 120 kB / 0.6925 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1686, allocations: 0 / 0.6925 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003828/0.1689, allocations: 79.94 kB / 0.6926 GB, free: 8.766 MB / 0.5294 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003261/0.1693, allocations: 175.1 kB / 0.6928 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.1695, allocations: 119.7 kB / 0.6929 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.1695, allocations: 4.938 kB / 0.6929 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.264e-05/0.1696, allocations: 47.86 kB / 0.693 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.1701, allocations: 67.11 kB / 0.693 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.1707, allocations: 372.3 kB / 0.6934 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.171, allocations: 0.709 MB / 0.6941 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.1711, allocations: 31.42 kB / 0.6941 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.1711, allocations: 0 / 0.6941 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of Templates: time 0.005671/0.1768, allocations: 3.293 MB / 0.6973 GB, free: 3.906 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)