Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_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_latest_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_latest_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.001335/0.001335, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001375/0.001375, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.343/1.343, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.619/2.619, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 75.88 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8233/0.8247, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.07317/0.8979, allocations: 70 MB / 1.295 GB, free: 7.273 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02124/0.9192, allocations: 14.51 MB / 1.309 GB, free: 8.723 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004429/0.9237, allocations: 79.5 kB / 1.309 GB, free: 8.645 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003283/0.9271, allocations: 0.9434 MB / 1.31 GB, free: 7.695 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007996/0.9351, allocations: 2.682 MB / 1.312 GB, free: 5.008 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005321/0.9404, allocations: 2.001 MB / 1.314 GB, free: 3.023 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006636/0.9471, allocations: 4.731 MB / 1.319 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00267/0.9498, allocations: 1.618 MB / 1.321 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/0.9537, allocations: 1.843 MB / 1.322 GB, free: 10.78 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.9554, allocations: 1.287 MB / 1.324 GB, free: 9.488 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002852/0.9557, allocations: 196 kB / 1.324 GB, free: 9.297 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00404/0.9598, allocations: 1.981 MB / 1.326 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004796/0.9603, allocations: 474.4 kB / 1.326 GB, free: 6.848 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.9616, allocations: 1.027 MB / 1.327 GB, free: 5.816 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006085/0.9676, allocations: 3.559 MB / 1.331 GB, free: 2.254 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.9677, allocations: 0 / 1.331 GB, free: 2.254 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9677, allocations: 0 / 1.331 GB, free: 2.254 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.002e-05/0.9677, allocations: 0 / 1.331 GB, free: 2.254 MB / 1.045 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.00467/0.9724, allocations: 2.415 MB / 1.333 GB, free: 15.76 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.9725, allocations: 8.031 kB / 1.333 GB, free: 15.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/0.9773, allocations: 0.6592 MB / 1.334 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/0.9799, allocations: 1.613 MB / 1.335 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.9801, allocations: 132 kB / 1.335 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.9803, allocations: 120 kB / 1.336 GB, free: 13.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003758/0.9841, allocations: 1.629 MB / 1.337 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.694e-05/0.9841, allocations: 11.95 kB / 1.337 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.9843, allocations: 52 kB / 1.337 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/0.9843, allocations: 32 kB / 1.337 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004705/0.989, allocations: 1.441 MB / 1.339 GB, free: 9.91 MB / 1.061 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.009781/0.9988, allocations: 6.978 MB / 1.345 GB, free: 2.586 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/1.001, allocations: 0.754 MB / 1.346 GB, free: 1.824 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/1.003, allocations: 490.2 kB / 1.347 GB, free: 1.344 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/1.004, allocations: 1.267 MB / 1.348 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001943/1.006, allocations: 0.644 MB / 1.349 GB, free: 15.11 MB / 1.076 GB Notification: Performance of pre-optimization done (n=69): time 3.266e-06/1.006, allocations: 0 / 1.349 GB, free: 15.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=69): time 0.01016/1.016, allocations: 2.05 MB / 1.351 GB, free: 13.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/1.016, allocations: 325 kB / 1.351 GB, free: 12.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/1.019, allocations: 1.395 MB / 1.352 GB, free: 11.24 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/1.019, allocations: 45.7 kB / 1.352 GB, free: 11.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006439/1.02, allocations: 0.7205 MB / 1.353 GB, free: 10.46 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/1.02, allocations: 245.9 kB / 1.353 GB, free: 10.22 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000458/1.02, allocations: 254.4 kB / 1.353 GB, free: 9.965 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.02, allocations: 345.9 kB / 1.354 GB, free: 9.621 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/1.022, allocations: 0.5122 MB / 1.354 GB, free: 9.105 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/1.024, allocations: 0.81 MB / 1.355 GB, free: 8.176 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003652/1.028, allocations: 1.162 MB / 1.356 GB, free: 6.918 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/1.028, allocations: 4 kB / 1.356 GB, free: 6.914 MB / 1.076 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00649/1.035, allocations: 1.631 MB / 1.358 GB, free: 5.266 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.603e-05/1.035, allocations: 33.7 kB / 1.358 GB, free: 5.227 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.035, allocations: 11.94 kB / 1.358 GB, free: 5.215 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/1.036, allocations: 359.8 kB / 1.358 GB, free: 4.867 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/1.038, allocations: 267.5 kB / 1.358 GB, free: 4.605 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/1.039, allocations: 0.8919 MB / 1.359 GB, free: 3.688 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/1.041, allocations: 238.9 kB / 1.36 GB, free: 3.453 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/1.041, allocations: 59.88 kB / 1.36 GB, free: 3.395 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002476/1.044, allocations: 0.8042 MB / 1.36 GB, free: 2.586 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002168/1.046, allocations: 0.7983 MB / 1.361 GB, free: 1.668 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003625/1.05, allocations: 1.162 MB / 1.362 GB, free: 428 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.35e-06/1.05, allocations: 0 / 1.362 GB, free: 428 kB / 1.076 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.006367/1.056, allocations: 1.627 MB / 1.364 GB, free: 14.77 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/1.056, allocations: 37.69 kB / 1.364 GB, free: 14.73 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.056, allocations: 7.938 kB / 1.364 GB, free: 14.72 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/1.057, allocations: 369.4 kB / 1.364 GB, free: 14.36 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/1.059, allocations: 267.5 kB / 1.365 GB, free: 14.1 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/1.06, allocations: 0.8842 MB / 1.365 GB, free: 13.19 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/1.062, allocations: 195.5 kB / 1.366 GB, free: 13 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/1.063, allocations: 59.89 kB / 1.366 GB, free: 12.94 MB / 1.092 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.0004451/1.063, allocations: 259.9 kB / 1.366 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005012/1.063, allocations: 151.1 kB / 1.366 GB, free: 12.53 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004209/1.068, allocations: 1.223 MB / 1.367 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003409/1.071, allocations: 1.029 MB / 1.368 GB, free: 10.24 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.071, allocations: 0 / 1.368 GB, free: 10.24 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007662/1.072, allocations: 355.8 kB / 1.369 GB, free: 9.871 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003596/1.072, allocations: 19.94 kB / 1.369 GB, free: 9.852 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.074, allocations: 115.8 kB / 1.369 GB, free: 9.738 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/1.074, allocations: 52.48 kB / 1.369 GB, free: 9.684 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005711/1.08, allocations: 1.642 MB / 1.37 GB, free: 8.031 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005762/1.086, allocations: 2.062 MB / 1.372 GB, free: 5.953 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001675/1.087, allocations: 468.1 kB / 1.373 GB, free: 5.496 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002215/1.09, allocations: 0.9818 MB / 1.374 GB, free: 4.516 MB / 1.092 GB Notification: Performance of Backend: time 4.81e-07/1.09, allocations: 0 / 1.374 GB, free: 4.516 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00867/1.098, allocations: 2.3 MB / 1.376 GB, free: 2.199 MB / 1.092 GB Notification: Performance of SimCode: time 0.006942/1.105, allocations: 3.561 MB / 1.38 GB, free: 14.59 MB / 1.107 GB Notification: Performance of Templates: time 0.0785/1.184, allocations: 47.44 MB / 1.426 GB, free: 15.54 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)