Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008243/0.0008243, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.006304/0.006304, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.439/1.439, 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.823/2.823, allocations: 473.4 MB / 0.7469 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 8.062 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3642, allocations: 162.2 MB / 1.074 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.131/0.4952, allocations: 128 MB / 1.199 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.05097/0.5463, allocations: 24.95 MB / 1.223 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006133/0.5524, allocations: 123.2 kB / 1.224 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005311/0.5578, allocations: 1.41 MB / 1.225 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01427/0.5721, allocations: 4.16 MB / 1.229 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009725/0.5818, allocations: 3.202 MB / 1.232 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01428/0.5961, allocations: 11.44 MB / 1.243 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005441/0.6016, allocations: 2.534 MB / 1.246 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007165/0.6088, allocations: 2.757 MB / 1.248 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00497/0.6138, allocations: 2.313 MB / 1.251 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.615, allocations: 132 kB / 1.251 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7648/1.38, allocations: 2.46 MB / 1.253 GB, free: 52.49 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001843/1.382, allocations: 0.6206 MB / 1.254 GB, free: 52.49 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005091/1.387, allocations: 1.721 MB / 1.256 GB, free: 52.46 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01439/1.401, allocations: 6.046 MB / 1.261 GB, free: 52.31 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/1.401, allocations: 0 / 1.261 GB, free: 52.31 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.646e-06/1.401, allocations: 0.8438 kB / 1.261 GB, free: 52.31 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002228/1.402, allocations: 0 / 1.261 GB, free: 52.31 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.01063/1.412, allocations: 3.369 MB / 1.265 GB, free: 50.63 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/1.412, allocations: 14.44 kB / 1.265 GB, free: 50.63 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/1.424, allocations: 1.455 MB / 1.266 GB, free: 50.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006937/1.431, allocations: 2.94 MB / 1.269 GB, free: 49.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/1.431, allocations: 262 kB / 1.269 GB, free: 49.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005385/1.432, allocations: 241.7 kB / 1.27 GB, free: 49.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009243/1.441, allocations: 3.234 MB / 1.273 GB, free: 49.26 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.109e-05/1.441, allocations: 5.938 kB / 1.273 GB, free: 49.26 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003878/1.442, allocations: 106.3 kB / 1.273 GB, free: 49.26 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/1.442, allocations: 68.88 kB / 1.273 GB, free: 49.26 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/1.452, allocations: 2.903 MB / 1.276 GB, free: 49.19 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.02275/1.475, allocations: 13.46 MB / 1.289 GB, free: 43.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004549/1.48, allocations: 1.526 MB / 1.29 GB, free: 43.19 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003303/1.483, allocations: 0.9628 MB / 1.291 GB, free: 43.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/1.485, allocations: 1.784 MB / 1.293 GB, free: 41.19 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004072/1.489, allocations: 1.244 MB / 1.294 GB, free: 40.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=130): time 4.438e-06/1.489, allocations: 0 / 1.294 GB, free: 40.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=130): time 0.04406/1.533, allocations: 6.032 MB / 1.3 GB, free: 40.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/1.533, allocations: 0.5736 MB / 1.301 GB, free: 39.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005358/1.538, allocations: 2.517 MB / 1.303 GB, free: 39.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005579/1.539, allocations: 60.42 kB / 1.303 GB, free: 39.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001214/1.54, allocations: 1.337 MB / 1.305 GB, free: 38.95 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005974/1.541, allocations: 460.7 kB / 1.305 GB, free: 38.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/1.541, allocations: 147.6 kB / 1.305 GB, free: 38.65 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.827e-05/1.541, allocations: 306 kB / 1.305 GB, free: 38.35 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004078/1.545, allocations: 1.033 MB / 1.306 GB, free: 38.33 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004666/1.55, allocations: 1.618 MB / 1.308 GB, free: 37.67 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00727/1.557, allocations: 2.336 MB / 1.31 GB, free: 37.14 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/1.557, allocations: 3.375 kB / 1.31 GB, free: 37.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02443/1.582, allocations: 4.23 MB / 1.314 GB, free: 36.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000289/1.582, allocations: 468.6 kB / 1.315 GB, free: 36.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/1.582, allocations: 16.66 kB / 1.315 GB, free: 36.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003409/1.586, allocations: 0.9649 MB / 1.316 GB, free: 36.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/1.589, allocations: 0.5062 MB / 1.316 GB, free: 36.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/1.592, allocations: 2 MB / 1.318 GB, free: 35.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005829/1.597, allocations: 0.5159 MB / 1.319 GB, free: 34.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/1.598, allocations: 107.8 kB / 1.319 GB, free: 34.94 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/1.598, allocations: 3.156 kB / 1.319 GB, free: 34.94 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0231/1.621, allocations: 3.939 MB / 1.323 GB, free: 34.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.789e-05/1.621, allocations: 15.81 kB / 1.323 GB, free: 34.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003437/1.624, allocations: 0.957 MB / 1.324 GB, free: 34.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/1.628, allocations: 0.496 MB / 1.324 GB, free: 34.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/1.631, allocations: 1.991 MB / 1.326 GB, free: 33.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005507/1.636, allocations: 469.1 kB / 1.327 GB, free: 33.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003852/1.637, allocations: 103.9 kB / 1.327 GB, free: 33.46 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.002034/1.639, allocations: 0.704 MB / 1.327 GB, free: 33.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000854/1.64, allocations: 277.8 kB / 1.328 GB, free: 33.13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.651, allocations: 2.583 MB / 1.33 GB, free: 32.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.172e-05/1.651, allocations: 18.78 kB / 1.33 GB, free: 32.72 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/1.651, allocations: 3.5 kB / 1.33 GB, free: 32.72 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01015/1.661, allocations: 2.188 MB / 1.332 GB, free: 32.03 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02732/1.689, allocations: 7.575 MB / 1.34 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-05/1.689, allocations: 8.531 kB / 1.34 GB, free: 28.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/1.691, allocations: 299.9 kB / 1.34 GB, free: 28.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003286/1.694, allocations: 0.9379 MB / 1.341 GB, free: 28.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002625/1.694, allocations: 55.31 kB / 1.341 GB, free: 28.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003021/1.697, allocations: 1.983 MB / 1.343 GB, free: 27.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/1.697, allocations: 12.97 kB / 1.343 GB, free: 27.37 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/1.71, allocations: 3.726 MB / 1.347 GB, free: 26.22 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002475/1.712, allocations: 0.6712 MB / 1.347 GB, free: 25.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009074/1.713, allocations: 43.23 kB / 1.347 GB, free: 25.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003904/1.717, allocations: 293.2 kB / 1.347 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/1.717, allocations: 129.1 kB / 1.348 GB, free: 25.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/1.717, allocations: 71.17 kB / 1.348 GB, free: 25.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003067/1.721, allocations: 1.758 MB / 1.349 GB, free: 25.24 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.721, allocations: 3.688 kB / 1.349 GB, free: 25.24 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00594/1.726, allocations: 1.676 MB / 1.351 GB, free: 24.99 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.002298/1.729, allocations: 0.801 MB / 1.352 GB, free: 24.69 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01249/1.741, allocations: 3.786 MB / 1.356 GB, free: 23.19 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/1.741, allocations: 3.469 kB / 1.356 GB, free: 23.19 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003682/1.745, allocations: 1.11 MB / 1.357 GB, free: 22.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01054/1.756, allocations: 1.446 MB / 1.358 GB, free: 22.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/1.767, allocations: 6.261 MB / 1.364 GB, free: 17.15 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009879/1.768, allocations: 1.719 MB / 1.366 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0037/1.771, allocations: 0.6866 MB / 1.366 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006485/1.772, allocations: 242.1 kB / 1.367 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/1.772, allocations: 4 kB / 1.367 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.1186/1.891, allocations: 70.51 MB / 1.436 GB, free: 9.094 MB / 1.061 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)