Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009602/0.0009603, allocations: 90.36 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.008523/0.008523, allocations: 173.6 kB / 16.27 MB, free: 6.613 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.81/2.81, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003416, allocations: 10 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2938, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1244/0.4182, allocations: 127.9 MB / 1.199 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03799/0.4562, allocations: 25.03 MB / 1.223 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006314/0.4626, allocations: 119.2 kB / 1.224 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005876/0.4685, allocations: 1.41 MB / 1.225 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01499/0.4835, allocations: 4.172 MB / 1.229 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01062/0.4942, allocations: 3.196 MB / 1.232 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01592/0.5101, allocations: 11.42 MB / 1.243 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005438/0.5156, allocations: 2.527 MB / 1.246 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007318/0.523, allocations: 2.749 MB / 1.248 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004931/0.5279, allocations: 2.302 MB / 1.251 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.5292, allocations: 128 kB / 1.251 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6238/1.153, allocations: 2.474 MB / 1.253 GB, free: 52.2 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002223/1.155, allocations: 0.6199 MB / 1.254 GB, free: 52.2 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006643/1.162, allocations: 1.704 MB / 1.256 GB, free: 52.17 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01327/1.175, allocations: 6.027 MB / 1.261 GB, free: 52.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.175, allocations: 1.562 kB / 1.261 GB, free: 52.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.615e-06/1.175, allocations: 0 / 1.261 GB, free: 52.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001719/1.175, allocations: 0 / 1.261 GB, free: 52.02 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.00992/1.185, allocations: 3.36 MB / 1.265 GB, free: 50.36 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.185, allocations: 8.219 kB / 1.265 GB, free: 50.36 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/1.196, allocations: 1.367 MB / 1.266 GB, free: 50.16 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006045/1.202, allocations: 2.937 MB / 1.269 GB, free: 49.55 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/1.203, allocations: 251 kB / 1.269 GB, free: 49.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000571/1.203, allocations: 238.8 kB / 1.269 GB, free: 49.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009675/1.213, allocations: 3.164 MB / 1.272 GB, free: 48.99 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.25e-05/1.213, allocations: 8.906 kB / 1.272 GB, free: 48.99 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005326/1.214, allocations: 101.8 kB / 1.273 GB, free: 48.99 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/1.214, allocations: 68.77 kB / 1.273 GB, free: 48.99 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/1.225, allocations: 2.791 MB / 1.275 GB, free: 48.93 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.02378/1.249, allocations: 13.3 MB / 1.288 GB, free: 43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004306/1.253, allocations: 1.421 MB / 1.29 GB, free: 42.96 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003132/1.256, allocations: 0.9091 MB / 1.291 GB, free: 42.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/1.258, allocations: 1.779 MB / 1.292 GB, free: 40.96 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003991/1.262, allocations: 1.171 MB / 1.294 GB, free: 40.76 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 5.049e-06/1.262, allocations: 0 / 1.294 GB, free: 40.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126): time 0.02404/1.286, allocations: 4.278 MB / 1.298 GB, free: 40.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002176/1.286, allocations: 0.578 MB / 1.298 GB, free: 39.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005191/1.291, allocations: 2.508 MB / 1.301 GB, free: 39.33 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005216/1.292, allocations: 60.86 kB / 1.301 GB, free: 39.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001226/1.293, allocations: 1.354 MB / 1.302 GB, free: 38.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006119/1.294, allocations: 442.8 kB / 1.303 GB, free: 38.55 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/1.294, allocations: 145.2 kB / 1.303 GB, free: 38.53 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.529e-05/1.294, allocations: 302.3 kB / 1.303 GB, free: 38.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/1.298, allocations: 0.9769 MB / 1.304 GB, free: 38.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004108/1.302, allocations: 1.563 MB / 1.305 GB, free: 37.56 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006968/1.309, allocations: 2.224 MB / 1.308 GB, free: 37.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/1.309, allocations: 3.469 kB / 1.308 GB, free: 37.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01244/1.322, allocations: 3.104 MB / 1.311 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000258/1.322, allocations: 481.2 kB / 1.311 GB, free: 36.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/1.322, allocations: 11.38 kB / 1.311 GB, free: 36.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002592/1.324, allocations: 0.7222 MB / 1.312 GB, free: 36.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/1.327, allocations: 0.4971 MB / 1.312 GB, free: 36.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/1.329, allocations: 1.804 MB / 1.314 GB, free: 35.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005135/1.334, allocations: 0.5141 MB / 1.315 GB, free: 34.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/1.335, allocations: 104.9 kB / 1.315 GB, free: 34.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/1.335, allocations: 3.312 kB / 1.315 GB, free: 34.96 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01011/1.345, allocations: 2.81 MB / 1.317 GB, free: 34.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/1.345, allocations: 20.52 kB / 1.317 GB, free: 34.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/1.347, allocations: 0.7251 MB / 1.318 GB, free: 34.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/1.35, allocations: 0.4967 MB / 1.319 GB, free: 34.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/1.351, allocations: 1.801 MB / 1.32 GB, free: 33.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004851/1.356, allocations: 454 kB / 1.321 GB, free: 33.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003287/1.357, allocations: 103.6 kB / 1.321 GB, free: 33.62 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,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.00198/1.359, allocations: 0.6954 MB / 1.322 GB, free: 33.42 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007586/1.359, allocations: 271.8 kB / 1.322 GB, free: 33.29 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/1.371, allocations: 2.597 MB / 1.324 GB, free: 33.11 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.243e-05/1.371, allocations: 18.81 kB / 1.324 GB, free: 33.11 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.371, allocations: 3.25 kB / 1.324 GB, free: 33.11 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009968/1.381, allocations: 2.218 MB / 1.327 GB, free: 32.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/1.398, allocations: 6.504 MB / 1.333 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/1.398, allocations: 8.188 kB / 1.333 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/1.4, allocations: 304.1 kB / 1.333 GB, free: 31.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/1.402, allocations: 0.7048 MB / 1.334 GB, free: 30.96 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/1.402, allocations: 51.41 kB / 1.334 GB, free: 30.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/1.404, allocations: 1.796 MB / 1.336 GB, free: 29.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/1.404, allocations: 12.38 kB / 1.336 GB, free: 29.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/1.419, allocations: 3.576 MB / 1.339 GB, free: 28.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002763/1.422, allocations: 0.6499 MB / 1.34 GB, free: 28.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009085/1.423, allocations: 43.94 kB / 1.34 GB, free: 28.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003813/1.427, allocations: 279.9 kB / 1.34 GB, free: 28.21 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/1.427, allocations: 116 kB / 1.34 GB, free: 28.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/1.427, allocations: 73.42 kB / 1.34 GB, free: 28.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004845/1.432, allocations: 1.766 MB / 1.342 GB, free: 27.72 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.6e-07/1.432, allocations: 2.625 kB / 1.342 GB, free: 27.72 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008525/1.441, allocations: 1.668 MB / 1.344 GB, free: 27.46 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,17), (2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002829/1.443, allocations: 0.8002 MB / 1.344 GB, free: 27.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01469/1.458, allocations: 3.626 MB / 1.348 GB, free: 26.39 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.186e-05/1.458, allocations: 4.062 kB / 1.348 GB, free: 26.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003727/1.462, allocations: 1.049 MB / 1.349 GB, free: 26.19 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01077/1.473, allocations: 1.426 MB / 1.35 GB, free: 25.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/1.485, allocations: 6.42 MB / 1.357 GB, free: 21.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.486, allocations: 1.708 MB / 1.358 GB, free: 20.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003978/1.49, allocations: 0.6932 MB / 1.359 GB, free: 19.94 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007439/1.491, allocations: 243.7 kB / 1.359 GB, free: 19.88 MB / 0.9981 GB Notification: Performance of SimCode: time 1.533e-06/1.491, allocations: 0 / 1.359 GB, free: 19.88 MB / 0.9981 GB Notification: Performance of Templates: time 0.1099/1.601, allocations: 67.98 MB / 1.426 GB, free: 3.352 MB / 1.045 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)