Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.637/2.637, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002047/0.002046, allocations: 184.4 kB / 326.3 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.319/2.319, allocations: 205.4 MB / 0.5772 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009738/0.0009734, allocations: 105.6 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006775/0.0006777, allocations: 12.06 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.253, allocations: 106.3 MB / 0.8995 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.2656/0.5187, allocations: 120.8 MB / 1.017 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.05059/0.5693, allocations: 23.56 MB / 1.04 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005142/0.5745, allocations: 115.2 kB / 1.041 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005947/0.5805, allocations: 1.18 MB / 1.042 GB, free: 15.99 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01523/0.5958, allocations: 3.508 MB / 1.045 GB, free: 12.47 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01187/0.6077, allocations: 2.453 MB / 1.048 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01828/0.626, allocations: 9.89 MB / 1.057 GB, free: 136 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7011/1.327, allocations: 2.408 MB / 1.06 GB, free: 42.56 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01064/1.338, allocations: 2.644 MB / 1.062 GB, free: 42.56 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008531/1.346, allocations: 2.171 MB / 1.064 GB, free: 42.55 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002129/1.349, allocations: 128.5 kB / 1.064 GB, free: 42.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01391/1.363, allocations: 2.05 MB / 1.066 GB, free: 42.55 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002633/1.365, allocations: 0.5742 MB / 1.067 GB, free: 42.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003648/1.369, allocations: 0.729 MB / 1.068 GB, free: 42.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01614/1.385, allocations: 4.783 MB / 1.072 GB, free: 42.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/1.385, allocations: 0.75 kB / 1.072 GB, free: 42.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.116e-06/1.385, allocations: 4 kB / 1.072 GB, free: 42.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002125/1.386, allocations: 0.625 kB / 1.072 GB, free: 42.34 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01647/1.402, allocations: 3.44 MB / 1.076 GB, free: 40.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/1.402, allocations: 8.438 kB / 1.076 GB, free: 40.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02362/1.426, allocations: 1.454 MB / 1.077 GB, free: 40.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/1.438, allocations: 2.821 MB / 1.08 GB, free: 39.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006539/1.439, allocations: 251.4 kB / 1.08 GB, free: 39.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/1.441, allocations: 242 kB / 1.08 GB, free: 39.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/1.463, allocations: 3.189 MB / 1.083 GB, free: 39.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/1.463, allocations: 9.031 kB / 1.083 GB, free: 39.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009627/1.464, allocations: 102.3 kB / 1.084 GB, free: 39.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001991/1.464, allocations: 71.55 kB / 1.084 GB, free: 39.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02759/1.492, allocations: 2.881 MB / 1.086 GB, free: 39.15 MB / 0.698 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.04954/1.541, allocations: 13.43 MB / 1.1 GB, free: 33.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/1.554, allocations: 1.524 MB / 1.101 GB, free: 33.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009561/1.563, allocations: 0.9699 MB / 1.102 GB, free: 33.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003622/1.567, allocations: 1.79 MB / 1.104 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01068/1.578, allocations: 1.205 MB / 1.105 GB, free: 30.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=130): time 1.064e-05/1.578, allocations: 3.094 kB / 1.105 GB, free: 30.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.1102/1.688, allocations: 5.994 MB / 1.111 GB, free: 30.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/1.688, allocations: 0.5721 MB / 1.111 GB, free: 29.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006247/1.695, allocations: 2.481 MB / 1.114 GB, free: 28.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005672/1.695, allocations: 66.19 kB / 1.114 GB, free: 28.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001573/1.697, allocations: 1.344 MB / 1.115 GB, free: 28.15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008159/1.698, allocations: 457.4 kB / 1.116 GB, free: 27.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/1.698, allocations: 34.78 kB / 1.116 GB, free: 27.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.698, allocations: 377.7 kB / 1.116 GB, free: 27.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007356/1.705, allocations: 1.019 MB / 1.117 GB, free: 27.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008044/1.714, allocations: 1.61 MB / 1.119 GB, free: 26.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007691/1.721, allocations: 1.153 MB / 1.12 GB, free: 26.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-05/1.721, allocations: 2.562 kB / 1.12 GB, free: 26.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.04113/1.762, allocations: 4.148 MB / 1.124 GB, free: 25.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003024/1.763, allocations: 478.1 kB / 1.124 GB, free: 24.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/1.763, allocations: 9.562 kB / 1.124 GB, free: 24.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005445/1.768, allocations: 0.9165 MB / 1.125 GB, free: 24.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005378/1.774, allocations: 0.5014 MB / 1.126 GB, free: 24.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005294/1.779, allocations: 1.988 MB / 1.127 GB, free: 22.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009462/1.789, allocations: 0.5266 MB / 1.128 GB, free: 22.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006031/1.789, allocations: 107.2 kB / 1.128 GB, free: 22.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.789, allocations: 3.75 kB / 1.128 GB, free: 22.64 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03964/1.829, allocations: 3.865 MB / 1.132 GB, free: 21.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.85e-05/1.829, allocations: 13.81 kB / 1.132 GB, free: 21.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005146/1.834, allocations: 0.9164 MB / 1.133 GB, free: 21.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00532/1.84, allocations: 0.4958 MB / 1.133 GB, free: 21.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005107/1.845, allocations: 1.997 MB / 1.135 GB, free: 20.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008432/1.853, allocations: 474.9 kB / 1.136 GB, free: 19.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005063/1.854, allocations: 108.4 kB / 1.136 GB, free: 19.87 MB / 0.698 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.002202/1.856, allocations: 0.7001 MB / 1.136 GB, free: 19.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009392/1.857, allocations: 274.4 kB / 1.137 GB, free: 19.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02087/1.878, allocations: 2.573 MB / 1.139 GB, free: 18.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0193/1.897, allocations: 2.182 MB / 1.141 GB, free: 17.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.687e-05/1.897, allocations: 8 kB / 1.141 GB, free: 17.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002585/1.9, allocations: 0.6443 MB / 1.142 GB, free: 16.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001315/1.901, allocations: 32.06 kB / 1.142 GB, free: 16.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00719/1.908, allocations: 294.1 kB / 1.142 GB, free: 16.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004587/1.909, allocations: 96.06 kB / 1.142 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02425/1.933, allocations: 3.407 MB / 1.146 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01968/1.953, allocations: 3.834 MB / 1.149 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006033/1.959, allocations: 0.8894 MB / 1.15 GB, free: 9.953 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005014/1.964, allocations: 1.716 MB / 1.152 GB, free: 8.75 MB / 0.698 GB Notification: Performance of Backend: time 1.303e-06/1.964, allocations: 6.281 kB / 1.152 GB, free: 8.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02593/1.99, allocations: 4.076 MB / 1.156 GB, free: 5.594 MB / 0.698 GB Notification: Performance of SimCode: time 0.021/2.011, allocations: 7.137 MB / 1.163 GB, free: 15 MB / 0.7136 GB Notification: Performance of Templates: time 0.2256/2.237, allocations: 85.44 MB / 1.246 GB, free: 10.63 MB / 0.7917 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)