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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001748/0.001748, allocations: 110.8 kB / 16.41 MB, free: 6.461 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.002109/0.002109, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.625/2.625, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 63.89 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7879/0.7895, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.06876/0.8583, allocations: 69.98 MB / 1.277 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01985/0.8782, allocations: 14.53 MB / 1.291 GB, free: 8.859 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002436/0.8806, allocations: 75.56 kB / 1.291 GB, free: 8.785 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.8831, allocations: 0.9277 MB / 1.292 GB, free: 7.852 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006869/0.89, allocations: 2.549 MB / 1.294 GB, free: 5.297 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005064/0.8951, allocations: 1.99 MB / 1.296 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006298/0.9014, allocations: 4.73 MB / 1.301 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002369/0.9038, allocations: 1.629 MB / 1.303 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005287/0.9091, allocations: 1.842 MB / 1.304 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003469/0.9126, allocations: 1.284 MB / 1.306 GB, free: 9.789 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.9136, allocations: 196 kB / 1.306 GB, free: 9.598 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007318/0.921, allocations: 1.987 MB / 1.308 GB, free: 7.609 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.9223, allocations: 470.5 kB / 1.308 GB, free: 7.148 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002702/0.925, allocations: 1.038 MB / 1.309 GB, free: 6.105 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009814/0.9348, allocations: 3.539 MB / 1.313 GB, free: 2.559 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.9349, allocations: 3.984 kB / 1.313 GB, free: 2.555 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.063e-06/0.9349, allocations: 0 / 1.313 GB, free: 2.555 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.077e-05/0.935, allocations: 0 / 1.313 GB, free: 2.555 MB / 1.029 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.008642/0.9437, allocations: 2.346 MB / 1.315 GB, free: 140 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.9437, allocations: 12.03 kB / 1.315 GB, free: 128 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009593/0.9534, allocations: 0.6504 MB / 1.316 GB, free: 15.47 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005383/0.9588, allocations: 1.596 MB / 1.317 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/0.9591, allocations: 140 kB / 1.317 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005302/0.9597, allocations: 119.9 kB / 1.317 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007453/0.9672, allocations: 1.629 MB / 1.319 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.37e-05/0.9673, allocations: 7.938 kB / 1.319 GB, free: 11.83 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003112/0.9676, allocations: 48 kB / 1.319 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.703e-05/0.9677, allocations: 35.98 kB / 1.319 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009156/0.9769, allocations: 1.441 MB / 1.321 GB, free: 10.3 MB / 1.045 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.01941/0.9963, allocations: 6.938 MB / 1.327 GB, free: 3.016 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00466/1.001, allocations: 0.7552 MB / 1.328 GB, free: 2.254 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003029/1.004, allocations: 493.2 kB / 1.328 GB, free: 1.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002492/1.007, allocations: 1.274 MB / 1.33 GB, free: 224 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003753/1.01, allocations: 0.6402 MB / 1.33 GB, free: 15.54 MB / 1.061 GB Notification: Performance of pre-optimization done (n=69): time 5.28e-06/1.01, allocations: 0 / 1.33 GB, free: 15.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=69): time 0.0188/1.029, allocations: 2.049 MB / 1.332 GB, free: 13.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002369/1.029, allocations: 325 kB / 1.333 GB, free: 13.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003986/1.034, allocations: 1.403 MB / 1.334 GB, free: 11.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002459/1.034, allocations: 45.7 kB / 1.334 GB, free: 11.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/1.035, allocations: 0.7036 MB / 1.335 GB, free: 10.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/1.035, allocations: 240.6 kB / 1.335 GB, free: 10.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006985/1.036, allocations: 246.3 kB / 1.335 GB, free: 10.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.036, allocations: 341.9 kB / 1.336 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003661/1.04, allocations: 0.5044 MB / 1.336 GB, free: 9.562 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003768/1.044, allocations: 0.8139 MB / 1.337 GB, free: 8.629 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006226/1.05, allocations: 1.158 MB / 1.338 GB, free: 7.383 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.05, allocations: 0 / 1.338 GB, free: 7.383 MB / 1.061 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01152/1.061, allocations: 1.634 MB / 1.34 GB, free: 5.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/1.062, allocations: 33.7 kB / 1.34 GB, free: 5.691 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/1.062, allocations: 11.94 kB / 1.34 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/1.064, allocations: 358.7 kB / 1.34 GB, free: 5.332 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002662/1.067, allocations: 267.5 kB / 1.34 GB, free: 5.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/1.069, allocations: 0.8905 MB / 1.341 GB, free: 4.156 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003915/1.073, allocations: 238.5 kB / 1.341 GB, free: 3.922 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/1.073, allocations: 55.89 kB / 1.341 GB, free: 3.867 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004508/1.078, allocations: 0.8024 MB / 1.342 GB, free: 3.059 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003794/1.081, allocations: 0.8022 MB / 1.343 GB, free: 2.137 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006643/1.088, allocations: 1.158 MB / 1.344 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.193e-06/1.088, allocations: 0 / 1.344 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.008271/1.096, allocations: 1.626 MB / 1.346 GB, free: 15.24 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/1.096, allocations: 34.2 kB / 1.346 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.096, allocations: 7.938 kB / 1.346 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/1.098, allocations: 370.6 kB / 1.346 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/1.099, allocations: 267.5 kB / 1.346 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/1.1, allocations: 0.8958 MB / 1.347 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/1.103, allocations: 191.2 kB / 1.347 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/1.103, allocations: 55.95 kB / 1.347 GB, free: 13.4 MB / 1.076 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.0003548/1.103, allocations: 249.5 kB / 1.348 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/1.104, allocations: 150.2 kB / 1.348 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004243/1.108, allocations: 1.221 MB / 1.349 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003533/1.112, allocations: 1.029 MB / 1.35 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.112, allocations: 0 / 1.35 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007628/1.112, allocations: 351 kB / 1.35 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003148/1.113, allocations: 16 kB / 1.35 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/1.114, allocations: 111.8 kB / 1.35 GB, free: 10.22 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/1.114, allocations: 56.44 kB / 1.351 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00567/1.12, allocations: 1.642 MB / 1.352 GB, free: 8.508 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005586/1.126, allocations: 2.049 MB / 1.354 GB, free: 6.441 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001652/1.127, allocations: 472.4 kB / 1.355 GB, free: 5.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0019/1.129, allocations: 0.9818 MB / 1.356 GB, free: 5 MB / 1.076 GB Notification: Performance of Backend: time 4.41e-07/1.129, allocations: 0 / 1.356 GB, free: 5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.008009/1.137, allocations: 2.277 MB / 1.358 GB, free: 2.707 MB / 1.076 GB Notification: Performance of SimCode: time 0.00661/1.144, allocations: 3.514 MB / 1.361 GB, free: 15.15 MB / 1.092 GB Notification: Performance of Templates: time 0.07532/1.219, allocations: 48.38 MB / 1.408 GB, free: 15.17 MB / 1.139 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)