Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002067/0.002067, allocations: 196 kB / 16.14 MB, free: 6.688 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 64.83 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3495, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06504/0.4146, allocations: 69.49 MB / 1.135 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02392/0.4386, allocations: 14.68 MB / 1.15 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003363/0.442, allocations: 67.56 kB / 1.15 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.4449, allocations: 0.7459 MB / 1.15 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007257/0.4521, allocations: 2.36 MB / 1.153 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004907/0.4571, allocations: 1.774 MB / 1.155 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007294/0.4644, allocations: 5.85 MB / 1.16 GB, free: 11.61 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002/0.4664, allocations: 1.332 MB / 1.162 GB, free: 10.24 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/0.4699, allocations: 1.482 MB / 1.163 GB, free: 8.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002441/0.4724, allocations: 1.244 MB / 1.164 GB, free: 7.5 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002665/0.4727, allocations: 88 kB / 1.164 GB, free: 7.414 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/0.477, allocations: 1.758 MB / 1.166 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004677/0.4775, allocations: 358.5 kB / 1.166 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.479, allocations: 0.9135 MB / 1.167 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005492/0.4845, allocations: 3.401 MB / 1.171 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4845, allocations: 0 / 1.171 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4845, allocations: 4 kB / 1.171 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.6e-05/0.4846, allocations: 0 / 1.171 GB, free: 0.9688 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004583/0.4891, allocations: 2.298 MB / 1.173 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4892, allocations: 11.97 kB / 1.173 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005306/0.4945, allocations: 0.6543 MB / 1.173 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.4969, allocations: 1.552 MB / 1.175 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.4971, allocations: 132 kB / 1.175 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.4973, allocations: 120 kB / 1.175 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003869/0.5011, allocations: 1.622 MB / 1.177 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.5012, allocations: 3.938 kB / 1.177 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.5014, allocations: 52 kB / 1.177 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/0.5014, allocations: 35.92 kB / 1.177 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004751/0.5062, allocations: 1.417 MB / 1.178 GB, free: 8.844 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/0.5169, allocations: 7.183 MB / 1.185 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.5193, allocations: 0.7902 MB / 1.186 GB, free: 492 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.5209, allocations: 488.5 kB / 1.187 GB, free: 0 / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.5223, allocations: 1.263 MB / 1.188 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.5223, allocations: 54.97 kB / 1.188 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=68): time 2.064e-06/0.5223, allocations: 0 / 1.188 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=68): time 0.01008/0.5324, allocations: 2.111 MB / 1.19 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.5325, allocations: 111.4 kB / 1.19 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002371/0.5349, allocations: 1.363 MB / 1.191 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.5351, allocations: 41.7 kB / 1.191 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000658/0.5357, allocations: 0.6803 MB / 1.192 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/0.5361, allocations: 248.5 kB / 1.192 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003955/0.5365, allocations: 222.3 kB / 1.192 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5367, allocations: 337.9 kB / 1.193 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.5387, allocations: 496.4 kB / 1.193 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.5409, allocations: 0.7433 MB / 1.194 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003665/0.5446, allocations: 1.094 MB / 1.195 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.597e-06/0.5446, allocations: 4 kB / 1.195 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005116/0.5497, allocations: 1.492 MB / 1.197 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.5498, allocations: 11.94 kB / 1.197 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/0.5498, allocations: 8 kB / 1.197 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.5514, allocations: 442.9 kB / 1.197 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.5529, allocations: 255.6 kB / 1.197 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.5547, allocations: 1.064 MB / 1.198 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/0.5572, allocations: 246.6 kB / 1.198 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.5573, allocations: 55.94 kB / 1.199 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002513/0.5598, allocations: 0.7729 MB / 1.199 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002177/0.562, allocations: 0.7354 MB / 1.2 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003687/0.5657, allocations: 1.097 MB / 1.201 GB, free: 284 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.484e-06/0.5658, allocations: 7.938 kB / 1.201 GB, free: 276 kB / 0.9512 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005398/0.5712, allocations: 1.495 MB / 1.203 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5712, allocations: 8 kB / 1.203 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.5712, allocations: 4 kB / 1.203 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/0.5728, allocations: 452.3 kB / 1.203 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.5743, allocations: 239.6 kB / 1.203 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.5758, allocations: 1.072 MB / 1.204 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/0.5783, allocations: 215.2 kB / 1.204 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.5784, allocations: 55.89 kB / 1.205 GB, free: 12.71 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0003639/0.5788, allocations: 244.4 kB / 1.205 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/0.5793, allocations: 142.2 kB / 1.205 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004424/0.5837, allocations: 1.28 MB / 1.206 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.5837, allocations: 11.94 kB / 1.206 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.5837, allocations: 0 / 1.206 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003615/0.5873, allocations: 1.08 MB / 1.207 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008133/0.5955, allocations: 3.375 MB / 1.21 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.5955, allocations: 4 kB / 1.21 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.5965, allocations: 144.1 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/0.5981, allocations: 440.8 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/0.5982, allocations: 23.97 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.5998, allocations: 1.056 MB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.5998, allocations: 7.938 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004304/0.6041, allocations: 1.35 MB / 1.213 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000748/0.6049, allocations: 351 kB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003476/0.6052, allocations: 23.94 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.6072, allocations: 143.8 kB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.6073, allocations: 48.25 kB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/0.6075, allocations: 47.95 kB / 1.214 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001799/0.6093, allocations: 0.9615 MB / 1.215 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6093, allocations: 0 / 1.215 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002602/0.6119, allocations: 0.885 MB / 1.216 GB, free: 0.7383 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001329/0.6132, allocations: 0.5476 MB / 1.216 GB, free: 200 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006886/0.6201, allocations: 1.775 MB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.6202, allocations: 0 / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.6221, allocations: 0.5093 MB / 1.219 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00395/0.6261, allocations: 0.7752 MB / 1.219 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00628/0.6324, allocations: 3.065 MB / 1.222 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009927/0.6334, allocations: 1.207 MB / 1.224 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001814/0.6352, allocations: 348.1 kB / 1.224 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.6355, allocations: 115.4 kB / 1.224 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/0.6355, allocations: 0 / 1.224 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of Templates: time 0.5646/1.2, allocations: 36.91 MB / 1.26 GB, free: 165.6 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)