Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001086/0.001086, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001084/0.001084, allocations: 189.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 70.25 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2081, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.4348/0.6429, allocations: 130.8 MB / 0.9126 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03453/0.6774, allocations: 24.87 MB / 0.9368 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004859/0.6823, allocations: 135.2 kB / 0.937 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004761/0.6871, allocations: 1.731 MB / 0.9387 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.6999, allocations: 4.485 MB / 0.943 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008859/0.7088, allocations: 3.515 MB / 0.9465 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01219/0.721, allocations: 8.989 MB / 0.9552 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004786/0.7258, allocations: 3.2 MB / 0.9584 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007427/0.7333, allocations: 3.456 MB / 0.9617 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003976/0.7373, allocations: 2.468 MB / 0.9642 GB, free: 2.602 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007436/0.738, allocations: 392 kB / 0.9645 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006333/0.7444, allocations: 2.89 MB / 0.9674 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0009387/0.7453, allocations: 0.8877 MB / 0.9682 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002516/0.7479, allocations: 1.987 MB / 0.9702 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008905/0.7568, allocations: 6.345 MB / 0.9764 GB, free: 6.078 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.7568, allocations: 0 / 0.9764 GB, free: 6.078 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7568, allocations: 0 / 0.9764 GB, free: 6.078 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.34e-05/0.7569, allocations: 0 / 0.9764 GB, free: 6.078 MB / 0.7637 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.007092/0.764, allocations: 4.074 MB / 0.9803 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.7641, allocations: 8.031 kB / 0.9803 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.7743, allocations: 1.283 MB / 0.9816 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005227/0.7795, allocations: 2.949 MB / 0.9845 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002474/0.7798, allocations: 251.9 kB / 0.9847 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/0.7802, allocations: 232 kB / 0.9849 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007705/0.7879, allocations: 3.127 MB / 0.988 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.035e-05/0.788, allocations: 7.938 kB / 0.988 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/0.7883, allocations: 96 kB / 0.9881 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.336e-05/0.7884, allocations: 71.98 kB / 0.9882 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008838/0.7972, allocations: 2.71 MB / 0.9908 GB, free: 6.883 MB / 0.7794 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.02018/0.8174, allocations: 13.25 MB / 1.004 GB, free: 9.016 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004144/0.8216, allocations: 1.381 MB / 1.005 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00301/0.8246, allocations: 0.8659 MB / 1.006 GB, free: 6.754 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001841/0.8265, allocations: 1.777 MB / 1.008 GB, free: 4.59 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003618/0.8301, allocations: 1.138 MB / 1.009 GB, free: 3.387 MB / 0.795 GB Notification: Performance of pre-optimization done (n=126): time 6.281e-06/0.8301, allocations: 3.984 kB / 1.009 GB, free: 3.383 MB / 0.795 GB Notification: Performance of matching and sorting (n=126): time 0.02123/0.8514, allocations: 4.066 MB / 1.013 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002378/0.8516, allocations: 0.5766 MB / 1.013 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004364/0.856, allocations: 2.524 MB / 1.016 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002777/0.8563, allocations: 69.7 kB / 1.016 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.8575, allocations: 1.341 MB / 1.017 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004561/0.858, allocations: 437.7 kB / 1.018 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008001/0.8588, allocations: 470.9 kB / 1.018 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.8589, allocations: 301.1 kB / 1.018 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003639/0.8626, allocations: 0.9455 MB / 1.019 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004158/0.8667, allocations: 1.528 MB / 1.021 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007084/0.8738, allocations: 2.152 MB / 1.023 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.8739, allocations: 7.188 kB / 1.023 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01176/0.8856, allocations: 3.019 MB / 1.026 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.8857, allocations: 39.27 kB / 1.026 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.8857, allocations: 19.92 kB / 1.026 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002564/0.8883, allocations: 0.7036 MB / 1.027 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/0.891, allocations: 499.1 kB / 1.027 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.8934, allocations: 1.775 MB / 1.029 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/0.8977, allocations: 425.4 kB / 1.029 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/0.8979, allocations: 99.91 kB / 1.029 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004533/0.9025, allocations: 1.445 MB / 1.031 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004024/0.9065, allocations: 1.511 MB / 1.032 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006707/0.9132, allocations: 2.129 MB / 1.034 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.929e-06/0.9133, allocations: 0 / 1.034 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=223) (initialization_lambda0): time 0.01136/0.9246, allocations: 2.988 MB / 1.037 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.9247, allocations: 37.7 kB / 1.037 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.9247, allocations: 16.61 kB / 1.037 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002524/0.9272, allocations: 0.7029 MB / 1.038 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/0.9299, allocations: 495.2 kB / 1.038 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.9323, allocations: 1.776 MB / 1.04 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00438/0.9367, allocations: 371.5 kB / 1.04 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/0.9369, allocations: 107.9 kB / 1.041 GB, free: 1.668 MB / 0.8262 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.0005623/0.9375, allocations: 303.1 kB / 1.041 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008088/0.9383, allocations: 264.8 kB / 1.041 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/0.9499, allocations: 2.501 MB / 1.044 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01039/0.9603, allocations: 2.127 MB / 1.046 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.9603, allocations: 4 kB / 1.046 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/0.9618, allocations: 0.5678 MB / 1.046 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007159/0.9625, allocations: 32.55 kB / 1.046 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003104/0.9657, allocations: 194.5 kB / 1.046 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.9659, allocations: 96.81 kB / 1.046 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01052/0.9764, allocations: 2.955 MB / 1.049 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01011/0.9865, allocations: 3.579 MB / 1.053 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00298/0.9895, allocations: 0.8313 MB / 1.054 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003518/0.9931, allocations: 1.754 MB / 1.055 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of Backend: time 1.132e-06/0.9931, allocations: 0 / 1.055 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01567/1.009, allocations: 3.893 MB / 1.059 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of SimCode: time 0.01397/1.023, allocations: 6.205 MB / 1.065 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of Templates: time 0.4616/1.484, allocations: 86.82 MB / 1.15 GB, free: 297.7 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)