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.0008639/0.0008641, allocations: 97.33 kB / 15.36 MB, free: 0.7305 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.001223/0.001223, allocations: 173 kB / 16.27 MB, free: 6.664 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.563/1.563, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.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 1.119/1.119, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 8 kB / 0.5164 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1751, allocations: 83.42 MB / 0.5978 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.005583/0.1808, allocations: 4.363 MB / 0.6021 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002938/0.1837, allocations: 2.683 MB / 0.6047 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.1839, allocations: 3.938 kB / 0.6047 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.1842, allocations: 35.81 kB / 0.6047 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.1844, allocations: 95.47 kB / 0.6048 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1856, allocations: 462.7 kB / 0.6053 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.3489/0.5346, allocations: 298.1 kB / 0.6056 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.124e-05/0.5347, allocations: 19.67 kB / 0.6056 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.5351, allocations: 110.6 kB / 0.6057 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.5352, allocations: 92.45 kB / 0.6058 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.5352, allocations: 9.406 kB / 0.6058 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008303/0.5361, allocations: 373.3 kB / 0.6061 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.678e-05/0.5362, allocations: 37.33 kB / 0.6062 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.931e-05/0.5362, allocations: 108.9 kB / 0.6063 GB, free: 35.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.5367, allocations: 361.7 kB / 0.6066 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5368, allocations: 0 / 0.6066 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5368, allocations: 0 / 0.6066 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.5368, allocations: 2.688 kB / 0.6066 GB, free: 35.88 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005776/0.5374, allocations: 471.5 kB / 0.6071 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.5374, allocations: 8.75 kB / 0.6071 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.5376, allocations: 26.61 kB / 0.6071 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.5377, allocations: 211.3 kB / 0.6073 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.5377, allocations: 11.05 kB / 0.6073 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.5378, allocations: 18.66 kB / 0.6073 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.5381, allocations: 247.1 kB / 0.6076 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.5381, allocations: 4.781 kB / 0.6076 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.5381, allocations: 10.16 kB / 0.6076 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.5382, allocations: 7.188 kB / 0.6076 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.5385, allocations: 425.8 kB / 0.608 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009164/0.5395, allocations: 0.9566 MB / 0.6089 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.5397, allocations: 161 kB / 0.6091 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.192e-05/0.5398, allocations: 65.11 kB / 0.6092 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009331/0.5408, allocations: 1.83 MB / 0.6109 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.5408, allocations: 39.84 kB / 0.611 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.5408, allocations: 0 / 0.611 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003/0.5411, allocations: 142.1 kB / 0.6111 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.5411, allocations: 58.16 kB / 0.6112 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.5413, allocations: 171.1 kB / 0.6113 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.5413, allocations: 34.39 kB / 0.6114 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.5414, allocations: 137.8 kB / 0.6115 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.5414, allocations: 56.08 kB / 0.6116 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.5414, allocations: 28.56 kB / 0.6116 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.849e-05/0.5415, allocations: 320.9 kB / 0.6119 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-05/0.5416, allocations: 35.42 kB / 0.6119 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.101e-05/0.5417, allocations: 142.5 kB / 0.6121 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.5418, allocations: 203.5 kB / 0.6123 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5419, allocations: 2.969 kB / 0.6123 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002639/0.5421, allocations: 211.7 kB / 0.6125 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.5421, allocations: 5.906 kB / 0.6125 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5422, allocations: 7.156 kB / 0.6125 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.5422, allocations: 2.938 kB / 0.6125 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.5423, allocations: 56.94 kB / 0.6125 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.5424, allocations: 12.62 kB / 0.6125 GB, free: 31.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.5425, allocations: 27.28 kB / 0.6126 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.5425, allocations: 12.22 kB / 0.6126 GB, free: 31.34 MB / 0.4981 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 8.82e-05/0.5426, allocations: 137.9 kB / 0.6127 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.5426, allocations: 20.59 kB / 0.6127 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.5429, allocations: 155 kB / 0.6129 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.5429, allocations: 2.812 kB / 0.6129 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5429, allocations: 7.078 kB / 0.6129 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.543, allocations: 2.625 kB / 0.6129 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.5432, allocations: 215.7 kB / 0.6131 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5432, allocations: 1.125 kB / 0.6131 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.5433, allocations: 23.48 kB / 0.6131 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5433, allocations: 0.6562 kB / 0.6131 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.5433, allocations: 10.22 kB / 0.6131 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5433, allocations: 0 / 0.6131 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5433, allocations: 7.875 kB / 0.6131 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.5435, allocations: 228.9 kB / 0.6134 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.5435, allocations: 110.9 kB / 0.6135 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.5436, allocations: 6.625 kB / 0.6135 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.5438, allocations: 25.59 kB / 0.6135 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.5438, allocations: 15.34 kB / 0.6135 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.5439, allocations: 15.06 kB / 0.6135 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.5439, allocations: 118.1 kB / 0.6136 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5439, allocations: 0 / 0.6136 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003779/0.5443, allocations: 78.39 kB / 0.6137 GB, free: 30.62 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 (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.0003126/0.5446, allocations: 183.6 kB / 0.6139 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.5448, allocations: 115.1 kB / 0.614 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.5448, allocations: 4.312 kB / 0.614 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.437e-05/0.5449, allocations: 41.53 kB / 0.614 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.5454, allocations: 56.81 kB / 0.6141 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.546, allocations: 434.3 kB / 0.6145 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.5461, allocations: 0.7164 MB / 0.6152 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.5463, allocations: 50.44 kB / 0.6152 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.5463, allocations: 25.53 kB / 0.6153 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.5463, allocations: 0 / 0.6153 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.006185/0.5525, allocations: 3.401 MB / 0.6186 GB, free: 29.29 MB / 0.4981 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)