Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001035/0.001035, allocations: 90.83 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.00884/0.008841, allocations: 171.8 kB / 16.26 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 10.97 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3077, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1321/0.4399, allocations: 127.9 MB / 1.199 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03655/0.4765, allocations: 25.03 MB / 1.223 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007525/0.4841, allocations: 123.2 kB / 1.224 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005698/0.4898, allocations: 1.418 MB / 1.225 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01356/0.5034, allocations: 4.199 MB / 1.229 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008371/0.5118, allocations: 3.198 MB / 1.232 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01421/0.526, allocations: 11.43 MB / 1.243 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005152/0.5312, allocations: 2.538 MB / 1.246 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006777/0.538, allocations: 2.769 MB / 1.249 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005214/0.5432, allocations: 2.306 MB / 1.251 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001818/0.5451, allocations: 132 kB / 1.251 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6176/1.163, allocations: 2.468 MB / 1.253 GB, free: 52.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001735/1.165, allocations: 0.6244 MB / 1.254 GB, free: 52.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00538/1.17, allocations: 1.722 MB / 1.256 GB, free: 52.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01521/1.185, allocations: 6.048 MB / 1.262 GB, free: 52.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/1.185, allocations: 0.5625 kB / 1.262 GB, free: 52.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.487e-06/1.185, allocations: 3.219 kB / 1.262 GB, free: 52.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001995/1.185, allocations: 0 / 1.262 GB, free: 52.23 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.00836/1.194, allocations: 3.38 MB / 1.265 GB, free: 50.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/1.194, allocations: 11.69 kB / 1.265 GB, free: 50.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/1.204, allocations: 1.368 MB / 1.266 GB, free: 50.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006015/1.21, allocations: 2.938 MB / 1.269 GB, free: 49.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002527/1.21, allocations: 252.9 kB / 1.269 GB, free: 49.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000504/1.211, allocations: 233.2 kB / 1.27 GB, free: 49.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007617/1.218, allocations: 3.217 MB / 1.273 GB, free: 49.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.419e-05/1.219, allocations: 8.906 kB / 1.273 GB, free: 49.17 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003111/1.219, allocations: 104.8 kB / 1.273 GB, free: 49.17 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.924e-05/1.219, allocations: 73.52 kB / 1.273 GB, free: 49.17 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009247/1.228, allocations: 2.829 MB / 1.276 GB, free: 49.11 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.02173/1.25, allocations: 13.62 MB / 1.289 GB, free: 42.87 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004433/1.254, allocations: 1.441 MB / 1.29 GB, free: 42.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003064/1.258, allocations: 0.8876 MB / 1.291 GB, free: 42.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/1.259, allocations: 1.787 MB / 1.293 GB, free: 40.83 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003673/1.263, allocations: 1.162 MB / 1.294 GB, free: 40.63 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 4.418e-06/1.263, allocations: 0 / 1.294 GB, free: 40.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.03469/1.298, allocations: 9.821 MB / 1.304 GB, free: 36.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.298, allocations: 0.5768 MB / 1.304 GB, free: 36.21 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004736/1.302, allocations: 2.617 MB / 1.307 GB, free: 35.96 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004993/1.303, allocations: 65.83 kB / 1.307 GB, free: 35.92 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/1.304, allocations: 1.346 MB / 1.308 GB, free: 35.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005047/1.305, allocations: 459.1 kB / 1.309 GB, free: 35.19 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/1.305, allocations: 145.4 kB / 1.309 GB, free: 35.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.78e-05/1.305, allocations: 304.7 kB / 1.309 GB, free: 34.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003671/1.309, allocations: 0.9629 MB / 1.31 GB, free: 34.86 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003893/1.312, allocations: 1.562 MB / 1.311 GB, free: 34.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00677/1.319, allocations: 2.227 MB / 1.314 GB, free: 33.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/1.319, allocations: 4.609 kB / 1.314 GB, free: 33.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01111/1.33, allocations: 3.197 MB / 1.317 GB, free: 33.36 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002218/1.331, allocations: 489.3 kB / 1.317 GB, free: 32.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.331, allocations: 12.12 kB / 1.317 GB, free: 32.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/1.333, allocations: 0.9173 MB / 1.318 GB, free: 32.74 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/1.336, allocations: 485.4 kB / 1.319 GB, free: 32.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/1.339, allocations: 2.208 MB / 1.321 GB, free: 31.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005193/1.344, allocations: 393.6 kB / 1.321 GB, free: 31.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002691/1.344, allocations: 110 kB / 1.321 GB, free: 31.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/1.344, allocations: 3.312 kB / 1.321 GB, free: 31.61 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01019/1.354, allocations: 2.883 MB / 1.324 GB, free: 31.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/1.355, allocations: 12.72 kB / 1.324 GB, free: 31.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002794/1.357, allocations: 0.9288 MB / 1.325 GB, free: 31.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/1.36, allocations: 476.3 kB / 1.325 GB, free: 31.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/1.363, allocations: 2.206 MB / 1.328 GB, free: 30.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004888/1.368, allocations: 358.1 kB / 1.328 GB, free: 30.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003603/1.368, allocations: 103.5 kB / 1.328 GB, free: 30.31 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.001737/1.37, allocations: 0.7092 MB / 1.329 GB, free: 30.11 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007716/1.371, allocations: 284.5 kB / 1.329 GB, free: 29.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007135/1.378, allocations: 2.307 MB / 1.331 GB, free: 29.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.509e-05/1.378, allocations: 14.34 kB / 1.331 GB, free: 29.81 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/1.378, allocations: 9.781 kB / 1.331 GB, free: 29.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00597/1.384, allocations: 1.932 MB / 1.333 GB, free: 29.51 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/1.398, allocations: 6.276 MB / 1.339 GB, free: 27.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/1.398, allocations: 11.45 kB / 1.339 GB, free: 27.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/1.4, allocations: 296.4 kB / 1.34 GB, free: 27.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002363/1.402, allocations: 0.8044 MB / 1.34 GB, free: 27.54 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/1.402, allocations: 46.33 kB / 1.34 GB, free: 27.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/1.404, allocations: 1.963 MB / 1.342 GB, free: 26.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.404, allocations: 18.42 kB / 1.342 GB, free: 26.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/1.415, allocations: 3.56 MB / 1.346 GB, free: 25.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/1.417, allocations: 0.643 MB / 1.346 GB, free: 24.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00042/1.417, allocations: 39.69 kB / 1.346 GB, free: 24.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003036/1.42, allocations: 282 kB / 1.347 GB, free: 24.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/1.42, allocations: 122.2 kB / 1.347 GB, free: 24.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/1.42, allocations: 72.45 kB / 1.347 GB, free: 24.72 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002748/1.423, allocations: 1.838 MB / 1.349 GB, free: 24.29 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/1.423, allocations: 0 / 1.349 GB, free: 24.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006077/1.429, allocations: 1.486 MB / 1.35 GB, free: 24.18 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.002034/1.431, allocations: 0.7992 MB / 1.351 GB, free: 23.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0114/1.443, allocations: 3.688 MB / 1.355 GB, free: 22.26 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/1.443, allocations: 6.344 kB / 1.355 GB, free: 22.26 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003526/1.446, allocations: 1.07 MB / 1.356 GB, free: 21.78 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01065/1.457, allocations: 1.583 MB / 1.357 GB, free: 21.03 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/1.469, allocations: 6.314 MB / 1.363 GB, free: 16.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.47, allocations: 1.729 MB / 1.365 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003473/1.474, allocations: 0.6598 MB / 1.366 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006459/1.474, allocations: 256 kB / 1.366 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.523e-06/1.474, allocations: 0 / 1.366 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.1252/1.599, allocations: 74.28 MB / 1.438 GB, free: 6.238 MB / 1.061 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)