Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001331/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001698/0.001698, allocations: 192.1 kB / 16.13 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001182, allocations: 64 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3388, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.06817/0.407, allocations: 69.5 MB / 1.135 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02293/0.43, allocations: 14.66 MB / 1.15 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003529/0.4335, allocations: 71.56 kB / 1.15 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003205/0.4368, allocations: 0.7537 MB / 1.15 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007913/0.4447, allocations: 2.364 MB / 1.153 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006794/0.4516, allocations: 1.778 MB / 1.155 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007948/0.4595, allocations: 5.854 MB / 1.16 GB, free: 11.68 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002883/0.4625, allocations: 1.328 MB / 1.162 GB, free: 10.32 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003968/0.4665, allocations: 1.478 MB / 1.163 GB, free: 8.836 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002678/0.4692, allocations: 1.24 MB / 1.164 GB, free: 7.59 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00072/0.4699, allocations: 92 kB / 1.164 GB, free: 7.5 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005615/0.4756, allocations: 1.762 MB / 1.166 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008948/0.4765, allocations: 358.5 kB / 1.166 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002472/0.479, allocations: 0.9135 MB / 1.167 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007097/0.4861, allocations: 3.401 MB / 1.171 GB, free: 1.059 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4861, allocations: 4 kB / 1.171 GB, free: 1.055 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4861, allocations: 0 / 1.171 GB, free: 1.055 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001259/0.4863, allocations: 0 / 1.171 GB, free: 1.055 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.007212/0.4935, allocations: 2.31 MB / 1.173 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4936, allocations: 8.031 kB / 1.173 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005747/0.4993, allocations: 0.6504 MB / 1.173 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/0.5029, allocations: 1.552 MB / 1.175 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.5032, allocations: 124 kB / 1.175 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004459/0.5036, allocations: 116 kB / 1.175 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004955/0.5086, allocations: 1.622 MB / 1.177 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.5087, allocations: 0 / 1.177 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002335/0.5089, allocations: 52 kB / 1.177 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.559e-05/0.509, allocations: 43.88 kB / 1.177 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005036/0.514, allocations: 1.417 MB / 1.178 GB, free: 8.93 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.011/0.525, allocations: 7.183 MB / 1.185 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.5275, allocations: 0.7873 MB / 1.186 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.5291, allocations: 486.8 kB / 1.187 GB, free: 92 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/0.5306, allocations: 1.267 MB / 1.188 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.5307, allocations: 43.12 kB / 1.188 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=68): time 2.895e-06/0.5307, allocations: 4 kB / 1.188 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=68): time 0.0101/0.5408, allocations: 2.115 MB / 1.19 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.5409, allocations: 115.4 kB / 1.19 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.5435, allocations: 1.363 MB / 1.191 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.5436, allocations: 45.69 kB / 1.191 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006743/0.5443, allocations: 0.6842 MB / 1.192 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.5446, allocations: 240.6 kB / 1.192 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000416/0.545, allocations: 222.3 kB / 1.192 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.5452, allocations: 338 kB / 1.193 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.5471, allocations: 492.4 kB / 1.193 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/0.5492, allocations: 0.7472 MB / 1.194 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003533/0.5527, allocations: 1.094 MB / 1.195 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.5528, allocations: 0 / 1.195 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005174/0.5579, allocations: 1.503 MB / 1.197 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.558, allocations: 12.5 kB / 1.197 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.558, allocations: 12 kB / 1.197 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.5596, allocations: 436.5 kB / 1.197 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.5611, allocations: 243.6 kB / 1.197 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.5627, allocations: 1.064 MB / 1.198 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/0.5653, allocations: 262.8 kB / 1.198 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.5655, allocations: 55.89 kB / 1.199 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002614/0.5681, allocations: 0.7634 MB / 1.199 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002134/0.5703, allocations: 0.7433 MB / 1.2 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003634/0.5739, allocations: 1.09 MB / 1.201 GB, free: 368 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.261e-06/0.574, allocations: 0 / 1.201 GB, free: 368 kB / 0.9512 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.00527/0.5792, allocations: 1.492 MB / 1.203 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.5793, allocations: 12 kB / 1.203 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5793, allocations: 4 kB / 1.203 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/0.5808, allocations: 447.2 kB / 1.203 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.5822, allocations: 255.5 kB / 1.203 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.5838, allocations: 1.068 MB / 1.204 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/0.5863, allocations: 216.7 kB / 1.204 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.5864, allocations: 59.92 kB / 1.205 GB, free: 12.79 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.0004363/0.5869, allocations: 240 kB / 1.205 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005672/0.5874, allocations: 146.2 kB / 1.205 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004183/0.5916, allocations: 1.271 MB / 1.206 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.5916, allocations: 7.938 kB / 1.206 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5917, allocations: 4 kB / 1.206 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003448/0.5951, allocations: 1.084 MB / 1.207 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008281/0.6034, allocations: 3.367 MB / 1.21 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/0.6035, allocations: 4 kB / 1.21 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009415/0.6044, allocations: 151.8 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.6059, allocations: 441.5 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.74e-05/0.606, allocations: 23.97 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.6075, allocations: 1.056 MB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.6075, allocations: 4 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004148/0.6116, allocations: 1.35 MB / 1.213 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009528/0.6126, allocations: 354.9 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004596/0.6131, allocations: 20 kB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/0.6152, allocations: 139.7 kB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.6154, allocations: 60.3 kB / 1.214 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.6155, allocations: 43.95 kB / 1.214 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001881/0.6174, allocations: 0.9615 MB / 1.215 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6174, allocations: 0 / 1.215 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00307/0.6205, allocations: 0.8889 MB / 1.216 GB, free: 0.8203 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.001342/0.6218, allocations: 0.5452 MB / 1.216 GB, free: 284 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006396/0.6282, allocations: 1.767 MB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.6283, allocations: 4 kB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.6301, allocations: 0.5139 MB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004089/0.6342, allocations: 0.7747 MB / 1.219 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006572/0.6408, allocations: 3.061 MB / 1.222 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000941/0.6418, allocations: 1.207 MB / 1.224 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002012/0.6438, allocations: 342.4 kB / 1.224 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/0.6442, allocations: 127.3 kB / 1.224 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of SimCode: time 8.02e-07/0.6442, allocations: 0 / 1.224 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of Templates: time 0.5821/1.226, allocations: 36.89 MB / 1.26 GB, free: 165.9 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)