Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001163/0.001163, allocations: 195.2 kB / 16.14 MB, free: 6.688 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 60.36 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3555, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.132/0.4875, allocations: 130 MB / 1.194 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.04217/0.5297, allocations: 25.31 MB / 1.219 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005623/0.5354, allocations: 127.2 kB / 1.219 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005389/0.5408, allocations: 1.414 MB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0133/0.5542, allocations: 4.203 MB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009637/0.5638, allocations: 3.198 MB / 1.228 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01943/0.5833, allocations: 11.43 MB / 1.239 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00599/0.5893, allocations: 2.631 MB / 1.242 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007113/0.5964, allocations: 2.862 MB / 1.244 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004453/0.6009, allocations: 2.438 MB / 1.247 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009434/0.6019, allocations: 172 kB / 1.247 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006742/0.6086, allocations: 2.515 MB / 1.249 GB, free: 68 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.6246/1.233, allocations: 0.6828 MB / 1.25 GB, free: 53.36 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004754/1.238, allocations: 1.783 MB / 1.252 GB, free: 53.36 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0126/1.251, allocations: 6.192 MB / 1.258 GB, free: 53.14 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.251, allocations: 1.859 kB / 1.258 GB, free: 53.14 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/1.251, allocations: 0 / 1.258 GB, free: 53.14 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001777/1.251, allocations: 0 / 1.258 GB, free: 53.14 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01011/1.261, allocations: 4.095 MB / 1.262 GB, free: 51.36 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/1.261, allocations: 11.34 kB / 1.262 GB, free: 51.36 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/1.272, allocations: 1.284 MB / 1.263 GB, free: 51.18 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007385/1.279, allocations: 2.937 MB / 1.266 GB, free: 50.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/1.28, allocations: 251.9 kB / 1.266 GB, free: 50.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004974/1.28, allocations: 236.2 kB / 1.266 GB, free: 50.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00818/1.288, allocations: 3.173 MB / 1.27 GB, free: 50 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.371e-05/1.288, allocations: 6.656 kB / 1.27 GB, free: 50 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00034/1.289, allocations: 103.7 kB / 1.27 GB, free: 50 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/1.289, allocations: 71.03 kB / 1.27 GB, free: 50 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009636/1.299, allocations: 2.749 MB / 1.272 GB, free: 49.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.02268/1.321, allocations: 13.57 MB / 1.286 GB, free: 43.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004147/1.325, allocations: 1.407 MB / 1.287 GB, free: 43.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002937/1.328, allocations: 0.8489 MB / 1.288 GB, free: 43.64 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/1.33, allocations: 1.78 MB / 1.29 GB, free: 41.67 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003701/1.334, allocations: 1.124 MB / 1.291 GB, free: 41.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 3.496e-06/1.334, allocations: 0.875 kB / 1.291 GB, free: 41.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.03721/1.371, allocations: 9.546 MB / 1.3 GB, free: 37.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002189/1.371, allocations: 0.5775 MB / 1.301 GB, free: 37.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005006/1.376, allocations: 2.606 MB / 1.303 GB, free: 36.83 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005522/1.377, allocations: 66.7 kB / 1.303 GB, free: 36.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/1.378, allocations: 1.347 MB / 1.304 GB, free: 36.35 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004658/1.378, allocations: 468.1 kB / 1.305 GB, free: 36.06 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007251/1.379, allocations: 465.2 kB / 1.305 GB, free: 36.03 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.702e-05/1.379, allocations: 304 kB / 1.306 GB, free: 35.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00356/1.383, allocations: 0.9318 MB / 1.307 GB, free: 35.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003993/1.387, allocations: 1.526 MB / 1.308 GB, free: 35.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00658/1.393, allocations: 2.159 MB / 1.31 GB, free: 34.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/1.393, allocations: 3.031 kB / 1.31 GB, free: 34.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.0116/1.405, allocations: 3.1 MB / 1.313 GB, free: 34.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/1.405, allocations: 40.64 kB / 1.313 GB, free: 34.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/1.405, allocations: 14.56 kB / 1.313 GB, free: 34.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002919/1.408, allocations: 0.9088 MB / 1.314 GB, free: 34.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/1.411, allocations: 467.9 kB / 1.315 GB, free: 34.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/1.413, allocations: 2.174 MB / 1.317 GB, free: 33.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005647/1.419, allocations: 375.2 kB / 1.317 GB, free: 33.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003704/1.419, allocations: 113.6 kB / 1.317 GB, free: 33.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004933/1.424, allocations: 1.424 MB / 1.319 GB, free: 32.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004128/1.428, allocations: 1.512 MB / 1.32 GB, free: 32.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006646/1.435, allocations: 2.131 MB / 1.322 GB, free: 31.74 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-05/1.435, allocations: 2.719 kB / 1.322 GB, free: 31.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.0123/1.447, allocations: 3.064 MB / 1.325 GB, free: 31.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/1.448, allocations: 40.52 kB / 1.325 GB, free: 31.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/1.448, allocations: 10.5 kB / 1.325 GB, free: 31.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003116/1.451, allocations: 0.916 MB / 1.326 GB, free: 31.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/1.453, allocations: 468.5 kB / 1.327 GB, free: 31.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/1.456, allocations: 2.159 MB / 1.329 GB, free: 30.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005726/1.462, allocations: 385.5 kB / 1.329 GB, free: 30.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/1.462, allocations: 104.3 kB / 1.329 GB, free: 30.26 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (170): * Single equations (assignments): 167 * 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 {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0009239/1.463, allocations: 304.5 kB / 1.329 GB, free: 30.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/1.465, allocations: 286.8 kB / 1.33 GB, free: 29.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008168/1.473, allocations: 2.239 MB / 1.332 GB, free: 29.78 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/1.473, allocations: 14.41 kB / 1.332 GB, free: 29.78 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/1.473, allocations: 5.156 kB / 1.332 GB, free: 29.78 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006243/1.479, allocations: 1.856 MB / 1.334 GB, free: 29.49 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/1.496, allocations: 6.202 MB / 1.34 GB, free: 27.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.189e-05/1.496, allocations: 5.312 kB / 1.34 GB, free: 27.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/1.498, allocations: 286.2 kB / 1.34 GB, free: 27.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002646/1.5, allocations: 0.7753 MB / 1.341 GB, free: 27.33 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/1.5, allocations: 58.69 kB / 1.341 GB, free: 27.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/1.503, allocations: 1.929 MB / 1.343 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/1.503, allocations: 12.53 kB / 1.343 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/1.515, allocations: 3.459 MB / 1.346 GB, free: 23.74 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002435/1.517, allocations: 0.5726 MB / 1.347 GB, free: 23.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001496/1.519, allocations: 37.97 kB / 1.347 GB, free: 23.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004708/1.523, allocations: 259.1 kB / 1.347 GB, free: 23.12 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000261/1.524, allocations: 123.9 kB / 1.347 GB, free: 23.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002423/1.524, allocations: 75.61 kB / 1.347 GB, free: 23.03 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004358/1.528, allocations: 1.834 MB / 1.349 GB, free: 22.04 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.11e-07/1.528, allocations: 0 / 1.349 GB, free: 22.04 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008182/1.536, allocations: 1.479 MB / 1.35 GB, free: 21.84 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (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 (86): * Single equations (assignments): 80 * 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), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002749/1.539, allocations: 0.8045 MB / 1.351 GB, free: 21.51 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01254/1.552, allocations: 3.576 MB / 1.355 GB, free: 19.85 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/1.552, allocations: 448 / 1.355 GB, free: 19.85 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003633/1.555, allocations: 1.041 MB / 1.356 GB, free: 19.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009078/1.565, allocations: 1.493 MB / 1.357 GB, free: 18.69 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.578, allocations: 6.149 MB / 1.363 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/1.58, allocations: 1.728 MB / 1.365 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004443/1.584, allocations: 0.66 MB / 1.365 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008843/1.585, allocations: 231.3 kB / 1.366 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/1.585, allocations: 4 kB / 1.366 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of Templates: time 0.1171/1.702, allocations: 71.23 MB / 1.435 GB, free: 5.852 MB / 1.061 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)