Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001613, allocations: 107.8 kB / 16.41 MB, free: 6.504 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.00191/0.00191, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.549/2.549, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.12 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.735/0.7363, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1304/0.8667, allocations: 130.9 MB / 1.336 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03614/0.9029, allocations: 25.11 MB / 1.361 GB, free: 1.145 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004939/0.9079, allocations: 143.2 kB / 1.361 GB, free: 1.004 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004866/0.9128, allocations: 1.731 MB / 1.362 GB, free: 15.26 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01208/0.9249, allocations: 4.508 MB / 1.367 GB, free: 10.74 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.008787/0.9337, allocations: 3.503 MB / 1.37 GB, free: 7.262 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0119/0.9456, allocations: 9.028 MB / 1.379 GB, free: 14.21 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005217/0.9509, allocations: 3.203 MB / 1.382 GB, free: 10.95 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007319/0.9582, allocations: 3.455 MB / 1.386 GB, free: 7.492 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004271/0.9625, allocations: 2.474 MB / 1.388 GB, free: 5.008 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.9636, allocations: 392 kB / 1.388 GB, free: 4.625 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006752/0.9704, allocations: 2.886 MB / 1.391 GB, free: 1.734 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.9717, allocations: 0.8877 MB / 1.392 GB, free: 0.8438 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003489/0.9752, allocations: 1.98 MB / 1.394 GB, free: 14.86 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.009964/0.9852, allocations: 6.336 MB / 1.4 GB, free: 8.504 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.9852, allocations: 4 kB / 1.4 GB, free: 8.5 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9852, allocations: 0 / 1.4 GB, free: 8.5 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001635/0.9854, allocations: 0 / 1.4 GB, free: 8.5 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.009178/0.9946, allocations: 4.068 MB / 1.404 GB, free: 4.324 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.9946, allocations: 8.031 kB / 1.404 GB, free: 4.316 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009677/1.004, allocations: 1.288 MB / 1.405 GB, free: 3.023 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005207/1.01, allocations: 2.985 MB / 1.408 GB, free: 15.96 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/1.01, allocations: 243.9 kB / 1.408 GB, free: 15.71 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003602/1.01, allocations: 236 kB / 1.409 GB, free: 15.48 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007154/1.017, allocations: 3.119 MB / 1.412 GB, free: 12.18 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.861e-05/1.017, allocations: 7.938 kB / 1.412 GB, free: 12.17 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002606/1.018, allocations: 107.9 kB / 1.412 GB, free: 12.06 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.348e-05/1.018, allocations: 68 kB / 1.412 GB, free: 12 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008193/1.026, allocations: 2.713 MB / 1.415 GB, free: 9.266 MB / 1.139 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.01826/1.044, allocations: 13.23 MB / 1.428 GB, free: 11.41 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003941/1.048, allocations: 1.384 MB / 1.429 GB, free: 10.02 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002864/1.051, allocations: 0.8698 MB / 1.43 GB, free: 9.145 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001804/1.053, allocations: 1.777 MB / 1.431 GB, free: 6.98 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003434/1.056, allocations: 1.143 MB / 1.433 GB, free: 5.773 MB / 1.154 GB Notification: Performance of pre-optimization done (n=126): time 4.038e-06/1.056, allocations: 0 / 1.433 GB, free: 5.773 MB / 1.154 GB Notification: Performance of matching and sorting (n=126): time 0.02045/1.077, allocations: 4.057 MB / 1.437 GB, free: 1.664 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002307/1.077, allocations: 0.5844 MB / 1.437 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004722/1.082, allocations: 2.536 MB / 1.44 GB, free: 14.39 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002184/1.082, allocations: 61.7 kB / 1.44 GB, free: 14.32 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/1.083, allocations: 1.338 MB / 1.441 GB, free: 12.97 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004812/1.084, allocations: 445.7 kB / 1.441 GB, free: 12.53 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008251/1.085, allocations: 466.8 kB / 1.442 GB, free: 12.07 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/1.085, allocations: 301.1 kB / 1.442 GB, free: 11.77 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003509/1.088, allocations: 0.9456 MB / 1.443 GB, free: 10.82 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003993/1.092, allocations: 1.521 MB / 1.444 GB, free: 9.066 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006675/1.099, allocations: 2.155 MB / 1.447 GB, free: 6.742 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/1.099, allocations: 4 kB / 1.447 GB, free: 6.738 MB / 1.17 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01141/1.11, allocations: 3.015 MB / 1.45 GB, free: 3.699 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.306e-05/1.11, allocations: 41.7 kB / 1.45 GB, free: 3.652 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-05/1.111, allocations: 12 kB / 1.45 GB, free: 3.641 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/1.113, allocations: 0.7052 MB / 1.45 GB, free: 2.938 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/1.116, allocations: 495.2 kB / 1.451 GB, free: 2.453 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/1.118, allocations: 1.783 MB / 1.453 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004383/1.123, allocations: 421.4 kB / 1.453 GB, free: 212 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/1.123, allocations: 103.9 kB / 1.453 GB, free: 108 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004701/1.128, allocations: 1.429 MB / 1.454 GB, free: 14.67 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004037/1.132, allocations: 1.517 MB / 1.456 GB, free: 12.91 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006624/1.138, allocations: 2.129 MB / 1.458 GB, free: 10.61 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.097e-05/1.138, allocations: 4 kB / 1.458 GB, free: 10.61 MB / 1.186 GB Notification: Performance of matching and sorting (n=223) (initialization_lambda0): time 0.0112/1.15, allocations: 2.992 MB / 1.461 GB, free: 7.598 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/1.15, allocations: 37.7 kB / 1.461 GB, free: 7.555 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.15, allocations: 12 kB / 1.461 GB, free: 7.543 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002442/1.152, allocations: 0.7079 MB / 1.462 GB, free: 6.84 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002571/1.155, allocations: 495.2 kB / 1.462 GB, free: 6.355 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/1.157, allocations: 1.773 MB / 1.464 GB, free: 4.535 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004257/1.161, allocations: 362.9 kB / 1.464 GB, free: 4.18 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/1.162, allocations: 99.91 kB / 1.464 GB, free: 4.082 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,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 (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0006451/1.162, allocations: 305.5 kB / 1.465 GB, free: 3.777 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009039/1.163, allocations: 268.8 kB / 1.465 GB, free: 3.512 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/1.174, allocations: 2.489 MB / 1.467 GB, free: 1.008 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009768/1.184, allocations: 2.124 MB / 1.469 GB, free: 14.83 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/1.184, allocations: 3.938 kB / 1.469 GB, free: 14.83 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/1.185, allocations: 0.5716 MB / 1.47 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007338/1.186, allocations: 32 kB / 1.47 GB, free: 14.2 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003213/1.189, allocations: 195.8 kB / 1.47 GB, free: 14.01 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/1.19, allocations: 92.8 kB / 1.47 GB, free: 13.92 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01016/1.2, allocations: 2.962 MB / 1.473 GB, free: 10.94 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009891/1.21, allocations: 3.587 MB / 1.477 GB, free: 7.336 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002822/1.213, allocations: 0.8388 MB / 1.477 GB, free: 6.5 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003581/1.216, allocations: 1.758 MB / 1.479 GB, free: 4.738 MB / 1.201 GB Notification: Performance of Backend: time 7.02e-07/1.216, allocations: 0 / 1.479 GB, free: 4.738 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.014/1.23, allocations: 3.882 MB / 1.483 GB, free: 0.8477 MB / 1.201 GB Notification: Performance of SimCode: time 0.0128/1.243, allocations: 6.204 MB / 1.489 GB, free: 10.62 MB / 1.217 GB Notification: Performance of Templates: time 0.7039/1.947, allocations: 86.32 MB / 1.573 GB, free: 336.5 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)