Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_VariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.com.port_a.T|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.com.port_b.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.com.COP|heaPum.com.y|heaPum.com.isOn",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.com.port_a.T|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.com.port_b.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.com.COP|heaPum.com.y|heaPum.com.isOn",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 107.5 kB / 16.41 MB, free: 6.512 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.00172/0.00172, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.2 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 67.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7044/0.7057, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.07067/0.7764, allocations: 69.97 MB / 1.157 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02177/0.7982, allocations: 14.52 MB / 1.171 GB, free: 8.867 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/0.8015, allocations: 78 kB / 1.171 GB, free: 8.836 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003102/0.8046, allocations: 0.9471 MB / 1.172 GB, free: 8.254 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009212/0.8139, allocations: 2.684 MB / 1.175 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00622/0.8201, allocations: 1.992 MB / 1.177 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008069/0.8282, allocations: 4.737 MB / 1.181 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003123/0.8314, allocations: 1.624 MB / 1.183 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004791/0.8362, allocations: 1.841 MB / 1.185 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/0.839, allocations: 1.291 MB / 1.186 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007155/0.8397, allocations: 198.4 kB / 1.186 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005301/0.845, allocations: 1.983 MB / 1.188 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007973/0.8459, allocations: 473.6 kB / 1.189 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002215/0.8481, allocations: 1.032 MB / 1.19 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00681/0.8549, allocations: 3.533 MB / 1.193 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.855, allocations: 4 kB / 1.193 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.855, allocations: 0 / 1.193 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.914e-05/0.8551, allocations: 0 / 1.193 GB, free: 11.41 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005926/0.861, allocations: 2.36 MB / 1.195 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.861, allocations: 8.938 kB / 1.195 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005418/0.8665, allocations: 0.655 MB / 1.196 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003346/0.8698, allocations: 1.595 MB / 1.198 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.8701, allocations: 129.4 kB / 1.198 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/0.8704, allocations: 121.9 kB / 1.198 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004448/0.8748, allocations: 1.626 MB / 1.199 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/0.8749, allocations: 1.25 kB / 1.199 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.8751, allocations: 52.97 kB / 1.199 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-05/0.8751, allocations: 32.5 kB / 1.199 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004886/0.88, allocations: 1.445 MB / 1.201 GB, free: 6.105 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.01093/0.891, allocations: 6.94 MB / 1.208 GB, free: 116 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.8934, allocations: 0.7516 MB / 1.208 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.8951, allocations: 498.8 kB / 1.209 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001353/0.8965, allocations: 1.273 MB / 1.21 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002105/0.8986, allocations: 0.641 MB / 1.211 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=69): time 4.799e-06/0.8986, allocations: 0 / 1.211 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69): time 0.01074/0.9094, allocations: 2.051 MB / 1.213 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/0.9095, allocations: 321.2 kB / 1.213 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/0.9123, allocations: 1.41 MB / 1.214 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.9125, allocations: 44.17 kB / 1.214 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006772/0.9131, allocations: 0.7015 MB / 1.215 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.9134, allocations: 236.3 kB / 1.215 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004715/0.9139, allocations: 246.2 kB / 1.216 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.9141, allocations: 341.8 kB / 1.216 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/0.916, allocations: 0.5135 MB / 1.216 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.9183, allocations: 0.8063 MB / 1.217 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003746/0.9221, allocations: 1.16 MB / 1.218 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/0.9221, allocations: 4 kB / 1.218 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006741/0.9289, allocations: 1.63 MB / 1.22 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/0.9289, allocations: 41.78 kB / 1.22 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.929, allocations: 8 kB / 1.22 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.9303, allocations: 351.9 kB / 1.22 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.9318, allocations: 267.5 kB / 1.221 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.933, allocations: 0.8918 MB / 1.221 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/0.9356, allocations: 230.6 kB / 1.222 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/0.9358, allocations: 59.95 kB / 1.222 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002549/0.9383, allocations: 0.7985 MB / 1.222 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002264/0.9406, allocations: 0.8044 MB / 1.223 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003737/0.9444, allocations: 1.154 MB / 1.224 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.285e-06/0.9444, allocations: 7.984 kB / 1.224 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.006685/0.9511, allocations: 1.634 MB / 1.226 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.9511, allocations: 33.7 kB / 1.226 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.9512, allocations: 8 kB / 1.226 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.9524, allocations: 365.3 kB / 1.226 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.9539, allocations: 263.5 kB / 1.227 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.9551, allocations: 0.8841 MB / 1.228 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/0.9577, allocations: 207.1 kB / 1.228 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.9579, allocations: 59.89 kB / 1.228 GB, free: 13.91 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: 7 (N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000378/0.9583, allocations: 243.2 kB / 1.228 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005094/0.9588, allocations: 150.2 kB / 1.228 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/0.963, allocations: 1.218 MB / 1.229 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003455/0.9665, allocations: 1.029 MB / 1.23 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.9665, allocations: 4 kB / 1.23 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008719/0.9674, allocations: 358.9 kB / 1.231 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004245/0.9678, allocations: 20 kB / 1.231 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/0.9696, allocations: 111.9 kB / 1.231 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.9697, allocations: 52.48 kB / 1.231 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00573/0.9755, allocations: 1.635 MB / 1.232 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005657/0.9812, allocations: 2.065 MB / 1.234 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001638/0.9828, allocations: 468.3 kB / 1.235 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001821/0.9847, allocations: 0.9855 MB / 1.236 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of Backend: time 4.51e-07/0.9847, allocations: 4 kB / 1.236 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.008295/0.993, allocations: 2.267 MB / 1.238 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of SimCode: time 0.006785/0.9998, allocations: 3.51 MB / 1.242 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.07415/1.074, allocations: 47.46 MB / 1.288 GB, free: 0.6211 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)