Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.573/1.573, allocations: 252 MB / 267.6 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001328/0.001328, allocations: 176.4 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008726/0.0008726, allocations: 101.5 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 9.5 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2521, allocations: 106.4 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.04712/0.2993, allocations: 64.46 MB / 0.9638 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02128/0.3206, allocations: 13.73 MB / 0.9772 GB, free: 1.504 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/0.3237, allocations: 59.56 kB / 0.9772 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002618/0.3263, allocations: 0.6405 MB / 0.9779 GB, free: 0.8008 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008007/0.3343, allocations: 1.99 MB / 0.9798 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005642/0.34, allocations: 1.45 MB / 0.9812 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007943/0.348, allocations: 5.013 MB / 0.9861 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002398/0.3504, allocations: 1.125 MB / 0.9872 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/0.354, allocations: 1.365 MB / 0.9886 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002588/0.3566, allocations: 1.12 MB / 0.9897 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.357, allocations: 68 kB / 0.9897 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00518/0.3622, allocations: 1.515 MB / 0.9912 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005794/0.3628, allocations: 306.6 kB / 0.9915 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.364, allocations: 392.8 kB / 0.9919 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005126/0.3691, allocations: 2.615 MB / 0.9944 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.3692, allocations: 4 kB / 0.9944 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3692, allocations: 0 / 0.9944 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.291e-05/0.3693, allocations: 3.938 kB / 0.9944 GB, free: 15.79 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.00478/0.3741, allocations: 1.983 MB / 0.9964 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.3741, allocations: 8.031 kB / 0.9964 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005181/0.3793, allocations: 0.6964 MB / 0.997 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/0.3823, allocations: 1.487 MB / 0.9985 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.3825, allocations: 128 kB / 0.9986 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.3827, allocations: 119.9 kB / 0.9987 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004007/0.3867, allocations: 1.619 MB / 1 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.3867, allocations: 4 kB / 1 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.3869, allocations: 55.98 kB / 1 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.366e-05/0.3869, allocations: 39.92 kB / 1 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004646/0.3916, allocations: 1.46 MB / 1.002 GB, free: 7.957 MB / 0.6511 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.01068/0.4023, allocations: 7.191 MB / 1.009 GB, free: 400 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/0.4047, allocations: 0.8144 MB / 1.01 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.4064, allocations: 0.4949 MB / 1.01 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/0.4079, allocations: 1.274 MB / 1.011 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/0.408, allocations: 43.12 kB / 1.011 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 2.965e-06/0.408, allocations: 0 / 1.011 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.01005/0.418, allocations: 2.209 MB / 1.014 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/0.4182, allocations: 119.4 kB / 1.014 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.4208, allocations: 1.347 MB / 1.015 GB, free: 9.727 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.421, allocations: 45.7 kB / 1.015 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006538/0.4217, allocations: 0.6802 MB / 1.016 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.422, allocations: 244.6 kB / 1.016 GB, free: 8.746 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.422, allocations: 16 kB / 1.016 GB, free: 8.73 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4222, allocations: 341.9 kB / 1.016 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.4241, allocations: 0.4899 MB / 1.017 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/0.4261, allocations: 0.7744 MB / 1.018 GB, free: 7.012 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.4281, allocations: 0.5535 MB / 1.018 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4282, allocations: 0 / 1.018 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005005/0.4332, allocations: 1.543 MB / 1.02 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002555/0.4335, allocations: 284.5 kB / 1.02 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.4335, allocations: 4 kB / 1.02 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001625/0.4351, allocations: 443 kB / 1.02 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.4365, allocations: 255.5 kB / 1.021 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.4381, allocations: 1.079 MB / 1.022 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/0.4407, allocations: 271 kB / 1.022 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.4409, allocations: 55.95 kB / 1.022 GB, free: 2.43 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4409, allocations: 4 kB / 1.022 GB, free: 2.426 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004808/0.4457, allocations: 1.394 MB / 1.023 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.4458, allocations: 7.984 kB / 1.023 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.4474, allocations: 443.5 kB / 1.024 GB, free: 0.5859 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.4489, allocations: 259.6 kB / 1.024 GB, free: 340 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.4508, allocations: 1.079 MB / 1.025 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/0.4534, allocations: 242.8 kB / 1.025 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.4536, allocations: 55.95 kB / 1.025 GB, free: 14.93 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.001063/0.4546, allocations: 448.8 kB / 1.026 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005305/0.4552, allocations: 146.2 kB / 1.026 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004566/0.4598, allocations: 1.313 MB / 1.027 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.4598, allocations: 8 kB / 1.027 GB, free: 13 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.4598, allocations: 3.953 kB / 1.027 GB, free: 13 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003713/0.4635, allocations: 1.131 MB / 1.028 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00937/0.4729, allocations: 3.406 MB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.473, allocations: 4 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009568/0.474, allocations: 164 kB / 1.032 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.4755, allocations: 433.4 kB / 1.032 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.948e-05/0.4756, allocations: 23.97 kB / 1.032 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.4772, allocations: 1.072 MB / 1.033 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.4772, allocations: 7.984 kB / 1.033 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004351/0.4816, allocations: 1.397 MB / 1.035 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.4828, allocations: 383 kB / 1.035 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005339/0.4833, allocations: 19.95 kB / 1.035 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/0.4855, allocations: 167.7 kB / 1.035 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.4856, allocations: 40.38 kB / 1.035 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.4858, allocations: 43.95 kB / 1.035 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002361/0.4881, allocations: 0.9535 MB / 1.036 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4881, allocations: 3.938 kB / 1.036 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003899/0.492, allocations: 0.9279 MB / 1.037 GB, free: 2.488 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.001806/0.4939, allocations: 0.5706 MB / 1.038 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006813/0.5007, allocations: 1.838 MB / 1.039 GB, free: 88 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/0.5007, allocations: 4.062 kB / 1.039 GB, free: 84 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001955/0.5027, allocations: 0.5369 MB / 1.04 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006197/0.5089, allocations: 0.7822 MB / 1.041 GB, free: 14.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007747/0.5167, allocations: 3.027 MB / 1.044 GB, free: 11.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.5179, allocations: 1.211 MB / 1.045 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005954/0.5185, allocations: 139.3 kB / 1.045 GB, free: 10.29 MB / 0.698 GB Notification: Performance of SimCode: time 1.363e-06/0.5185, allocations: 0 / 1.045 GB, free: 10.29 MB / 0.698 GB Notification: Performance of Templates: time 0.509/1.028, allocations: 35.52 MB / 1.08 GB, free: 134.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)