Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 288.4 MB / 304.3 MB, free: 8.051 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 172.5 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.4 MB / 0.6317 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009689/0.0009689, allocations: 112 kB / 0.7451 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.00039, allocations: 12.59 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2348, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.273, allocations: 422.9 MB / 1.394 GB, free: 6.02 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.273, allocations: 98.27 kB / 1.394 GB, free: 5.969 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.996/3.269, allocations: 0.5409 GB / 1.935 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.764e-06/3.269, allocations: 4.75 kB / 1.935 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001403/3.269, allocations: 43.02 kB / 1.935 GB, free: 186.5 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004672/3.274, allocations: 2.139 MB / 1.937 GB, free: 185 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/3.274, allocations: 6.781 kB / 1.937 GB, free: 185 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/3.278, allocations: 0.6182 MB / 1.937 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/3.282, allocations: 1.787 MB / 1.939 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/3.282, allocations: 129 kB / 1.939 GB, free: 183.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/3.282, allocations: 130.5 kB / 1.939 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003543/3.286, allocations: 1.636 MB / 1.941 GB, free: 182.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/3.286, allocations: 6.625 kB / 1.941 GB, free: 182.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/3.286, allocations: 59.44 kB / 1.941 GB, free: 182.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-05/3.286, allocations: 31.34 kB / 1.941 GB, free: 182.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004191/3.29, allocations: 1.461 MB / 1.943 GB, free: 181.6 MB / 0.9323 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.009297/3.3, allocations: 6.73 MB / 1.949 GB, free: 176 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/3.302, allocations: 0.7344 MB / 1.95 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/3.303, allocations: 492 kB / 1.95 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/3.304, allocations: 1.266 MB / 1.952 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00171/3.306, allocations: 0.679 MB / 1.952 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=65): time 2.916e-06/3.306, allocations: 0 / 1.952 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65): time 0.01056/3.316, allocations: 2.318 MB / 1.954 GB, free: 172.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/3.317, allocations: 479.6 kB / 1.955 GB, free: 171.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/3.319, allocations: 1.386 MB / 1.956 GB, free: 171 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001655/3.319, allocations: 45.27 kB / 1.956 GB, free: 171 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/3.32, allocations: 0.7196 MB / 1.957 GB, free: 170.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/3.32, allocations: 226.3 kB / 1.957 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/3.32, allocations: 15.97 kB / 1.957 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/3.32, allocations: 336.7 kB / 1.958 GB, free: 169.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/3.322, allocations: 0.5058 MB / 1.958 GB, free: 169.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/3.323, allocations: 0.8153 MB / 1.959 GB, free: 169 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/3.327, allocations: 1.158 MB / 1.96 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/3.327, allocations: 0 / 1.96 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005851/3.332, allocations: 1.644 MB / 1.962 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001592/3.333, allocations: 306.8 kB / 1.962 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/3.333, allocations: 7.25 kB / 1.962 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/3.334, allocations: 364.3 kB / 1.962 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/3.335, allocations: 271.4 kB / 1.962 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/3.336, allocations: 0.8978 MB / 1.963 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/3.339, allocations: 280.9 kB / 1.964 GB, free: 166 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/3.339, allocations: 59.94 kB / 1.964 GB, free: 166 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/3.339, allocations: 3.25 kB / 1.964 GB, free: 166 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005456/3.345, allocations: 1.492 MB / 1.965 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/3.345, allocations: 7.344 kB / 1.965 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/3.346, allocations: 366.6 kB / 1.965 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/3.347, allocations: 264.1 kB / 1.966 GB, free: 165 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009824/3.348, allocations: 0.902 MB / 1.967 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/3.351, allocations: 250.3 kB / 1.967 GB, free: 164.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/3.351, allocations: 59.06 kB / 1.967 GB, free: 164.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001065/3.352, allocations: 461.6 kB / 1.967 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004782/3.353, allocations: 150.4 kB / 1.968 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004722/3.357, allocations: 1.247 MB / 1.969 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/3.357, allocations: 12 kB / 1.969 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/3.357, allocations: 11.92 kB / 1.969 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003965/3.361, allocations: 1.131 MB / 1.97 GB, free: 161.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008309/3.37, allocations: 3.57 MB / 1.973 GB, free: 158 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/3.37, allocations: 7.984 kB / 1.973 GB, free: 158 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009346/3.371, allocations: 158.7 kB / 1.973 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/3.372, allocations: 367.8 kB / 1.974 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.826e-05/3.372, allocations: 30.22 kB / 1.974 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009913/3.373, allocations: 0.8868 MB / 1.975 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/3.373, allocations: 15.34 kB / 1.975 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006308/3.379, allocations: 2.036 MB / 1.977 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/3.38, allocations: 383 kB / 1.977 GB, free: 154 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005624/3.381, allocations: 23.98 kB / 1.977 GB, free: 154 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/3.383, allocations: 155.8 kB / 1.977 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/3.383, allocations: 64.22 kB / 1.977 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/3.383, allocations: 43.95 kB / 1.977 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002/3.385, allocations: 0.9829 MB / 1.978 GB, free: 152.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.01e-07/3.386, allocations: 0 / 1.978 GB, free: 152.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004107/3.39, allocations: 0.9591 MB / 1.979 GB, free: 151.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.00212/3.392, allocations: 0.8295 MB / 1.98 GB, free: 151.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006301/3.398, allocations: 1.929 MB / 1.982 GB, free: 149.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/3.398, allocations: 0.5625 kB / 1.982 GB, free: 149.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001822/3.4, allocations: 0.5559 MB / 1.983 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005457/3.405, allocations: 0.8171 MB / 1.983 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006502/3.412, allocations: 3.152 MB / 1.986 GB, free: 144.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009389/3.413, allocations: 1.219 MB / 1.988 GB, free: 143.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002304/3.415, allocations: 376.1 kB / 1.988 GB, free: 143.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/3.416, allocations: 135.3 kB / 1.988 GB, free: 142.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.543e-06/3.416, allocations: 0 / 1.988 GB, free: 142.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.05863/3.474, allocations: 40.71 MB / 2.028 GB, free: 103.2 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)