Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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 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.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.00848/0.00848, allocations: 172.2 kB / 16.27 MB, free: 6.652 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 11.41 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3759, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1299/0.5058, allocations: 128 MB / 1.199 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03999/0.5459, allocations: 24.95 MB / 1.223 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007298/0.5532, allocations: 123.2 kB / 1.224 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005658/0.5589, allocations: 1.41 MB / 1.225 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01468/0.5736, allocations: 4.167 MB / 1.229 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009676/0.5833, allocations: 3.19 MB / 1.232 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01734/0.6007, allocations: 11.45 MB / 1.243 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005269/0.606, allocations: 2.531 MB / 1.246 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007402/0.6134, allocations: 2.765 MB / 1.248 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004723/0.6182, allocations: 2.306 MB / 1.251 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009968/0.6192, allocations: 132 kB / 1.251 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.8002/1.419, allocations: 2.473 MB / 1.253 GB, free: 52.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002121/1.422, allocations: 0.62 MB / 1.254 GB, free: 52.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006426/1.428, allocations: 1.714 MB / 1.256 GB, free: 52.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0152/1.443, allocations: 6.046 MB / 1.261 GB, free: 52.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.443, allocations: 4.625 kB / 1.261 GB, free: 52.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.575e-06/1.443, allocations: 0.8906 kB / 1.261 GB, free: 52.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002581/1.444, allocations: 0 / 1.261 GB, free: 52.07 MB / 0.9981 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.01031/1.454, allocations: 3.374 MB / 1.265 GB, free: 50.39 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.454, allocations: 10.84 kB / 1.265 GB, free: 50.39 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/1.466, allocations: 1.451 MB / 1.266 GB, free: 50.19 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007055/1.473, allocations: 2.946 MB / 1.269 GB, free: 49.58 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003267/1.474, allocations: 257.7 kB / 1.269 GB, free: 49.51 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006393/1.474, allocations: 240.2 kB / 1.27 GB, free: 49.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0093/1.484, allocations: 3.241 MB / 1.273 GB, free: 49.01 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.915e-05/1.484, allocations: 9.094 kB / 1.273 GB, free: 49.01 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003971/1.484, allocations: 98.22 kB / 1.273 GB, free: 49.01 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/1.484, allocations: 71.88 kB / 1.273 GB, free: 49.01 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/1.495, allocations: 2.9 MB / 1.276 GB, free: 48.95 MB / 0.9981 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.02738/1.523, allocations: 13.46 MB / 1.289 GB, free: 43.01 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004966/1.528, allocations: 1.536 MB / 1.29 GB, free: 42.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003615/1.531, allocations: 0.9603 MB / 1.291 GB, free: 42.92 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001617/1.533, allocations: 1.784 MB / 1.293 GB, free: 40.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004437/1.537, allocations: 1.246 MB / 1.294 GB, free: 40.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=130): time 9.117e-06/1.537, allocations: 1.312 kB / 1.294 GB, free: 40.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=130): time 0.04562/1.583, allocations: 6.025 MB / 1.3 GB, free: 40.15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/1.583, allocations: 0.5808 MB / 1.301 GB, free: 39.46 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006468/1.59, allocations: 2.511 MB / 1.303 GB, free: 39.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005767/1.59, allocations: 62.27 kB / 1.303 GB, free: 39.17 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001422/1.592, allocations: 1.336 MB / 1.305 GB, free: 38.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008174/1.593, allocations: 458.7 kB / 1.305 GB, free: 38.42 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005051/1.593, allocations: 149 kB / 1.305 GB, free: 38.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.4e-05/1.593, allocations: 306.8 kB / 1.305 GB, free: 38.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004436/1.598, allocations: 1.03 MB / 1.306 GB, free: 38.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004836/1.602, allocations: 1.62 MB / 1.308 GB, free: 37.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007765/1.61, allocations: 2.336 MB / 1.31 GB, free: 36.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/1.61, allocations: 5.875 kB / 1.31 GB, free: 36.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02547/1.636, allocations: 4.222 MB / 1.314 GB, free: 36.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003076/1.636, allocations: 478.6 kB / 1.315 GB, free: 35.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/1.636, allocations: 9.938 kB / 1.315 GB, free: 35.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003526/1.64, allocations: 0.96 MB / 1.316 GB, free: 35.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/1.643, allocations: 0.5025 MB / 1.316 GB, free: 35.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/1.646, allocations: 2 MB / 1.318 GB, free: 34.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006087/1.652, allocations: 0.5184 MB / 1.319 GB, free: 34.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004944/1.652, allocations: 103.1 kB / 1.319 GB, free: 34.69 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/1.653, allocations: 3.469 kB / 1.319 GB, free: 34.69 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02427/1.677, allocations: 3.94 MB / 1.323 GB, free: 34.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-05/1.677, allocations: 13.38 kB / 1.323 GB, free: 34.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0039/1.681, allocations: 0.9671 MB / 1.324 GB, free: 34.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/1.684, allocations: 0.498 MB / 1.324 GB, free: 34.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/1.688, allocations: 2 MB / 1.326 GB, free: 33.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005643/1.693, allocations: 455.8 kB / 1.327 GB, free: 33.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005886/1.694, allocations: 106.3 kB / 1.327 GB, free: 33.21 MB / 0.9981 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,19), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.002443/1.696, allocations: 0.7057 MB / 1.327 GB, free: 33.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00125/1.698, allocations: 276.9 kB / 1.328 GB, free: 32.88 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.71, allocations: 2.572 MB / 1.33 GB, free: 32.51 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.328e-05/1.71, allocations: 18.7 kB / 1.33 GB, free: 32.51 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.71, allocations: 3.25 kB / 1.33 GB, free: 32.51 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01061/1.721, allocations: 2.193 MB / 1.332 GB, free: 31.81 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02931/1.75, allocations: 7.574 MB / 1.34 GB, free: 28.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-05/1.75, allocations: 11.17 kB / 1.34 GB, free: 28.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/1.752, allocations: 300.3 kB / 1.34 GB, free: 28.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003497/1.756, allocations: 0.9396 MB / 1.341 GB, free: 28.35 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003402/1.756, allocations: 55.06 kB / 1.341 GB, free: 28.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/1.759, allocations: 1.983 MB / 1.343 GB, free: 27.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/1.759, allocations: 9.594 kB / 1.343 GB, free: 27.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.772, allocations: 3.729 MB / 1.347 GB, free: 26.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00224/1.774, allocations: 0.672 MB / 1.347 GB, free: 25.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/1.775, allocations: 37.19 kB / 1.347 GB, free: 25.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004431/1.78, allocations: 296.5 kB / 1.347 GB, free: 25.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/1.78, allocations: 121.5 kB / 1.348 GB, free: 25.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/1.78, allocations: 75.16 kB / 1.348 GB, free: 25.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00403/1.784, allocations: 1.762 MB / 1.349 GB, free: 25.03 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.784, allocations: 4 kB / 1.349 GB, free: 25.03 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00781/1.792, allocations: 1.678 MB / 1.351 GB, free: 24.78 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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,19), (2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00283/1.795, allocations: 0.8026 MB / 1.352 GB, free: 24.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01378/1.809, allocations: 3.781 MB / 1.356 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.158e-05/1.809, allocations: 8.094 kB / 1.356 GB, free: 23.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003978/1.813, allocations: 1.111 MB / 1.357 GB, free: 22.67 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01284/1.826, allocations: 1.432 MB / 1.358 GB, free: 21.99 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.839, allocations: 6.271 MB / 1.364 GB, free: 17.24 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/1.841, allocations: 1.715 MB / 1.366 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004919/1.846, allocations: 0.6911 MB / 1.366 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/1.847, allocations: 243.3 kB / 1.367 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of SimCode: time 1.313e-06/1.847, allocations: 0 / 1.367 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of Templates: time 0.1227/1.97, allocations: 70.5 MB / 1.436 GB, free: 9.191 MB / 1.061 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)