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.836/1.836, allocations: 285.4 MB / 298 MB, free: 6.008 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.001028/0.001028, allocations: 188.2 kB / 366.4 MB, free: 2.109 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.696/1.696, allocations: 205.1 MB / 0.6248 GB, free: 7.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008727/0.0008727, allocations: 99.25 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.988e-05, allocations: 4 kB / 0.8583 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7733/0.7733, allocations: 115.3 MB / 0.9709 GB, free: 77.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.856, allocations: 422.7 MB / 1.384 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/1.857, allocations: 89.67 kB / 1.384 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.746/3.603, allocations: 0.5477 GB / 1.931 GB, free: 32.33 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.653e-06/3.603, allocations: 4 kB / 1.931 GB, free: 32.33 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002431/3.603, allocations: 39.98 kB / 1.932 GB, free: 32.29 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.005067/3.608, allocations: 1.895 MB / 1.933 GB, free: 30.32 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/3.608, allocations: 12.03 kB / 1.933 GB, free: 30.31 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004361/3.612, allocations: 0.6105 MB / 1.934 GB, free: 29.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004322/3.617, allocations: 1.77 MB / 1.936 GB, free: 27.87 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/3.617, allocations: 139.9 kB / 1.936 GB, free: 27.73 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000469/3.618, allocations: 120 kB / 1.936 GB, free: 27.61 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/3.621, allocations: 1.44 MB / 1.937 GB, free: 26.07 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/3.621, allocations: 0 / 1.937 GB, free: 26.07 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/3.621, allocations: 56 kB / 1.937 GB, free: 26.02 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/3.621, allocations: 39.98 kB / 1.937 GB, free: 25.98 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/3.623, allocations: 1.098 MB / 1.939 GB, free: 24.88 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.0103/3.633, allocations: 6.765 MB / 1.945 GB, free: 17.82 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008928/3.634, allocations: 0.5387 MB / 1.946 GB, free: 17.27 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004941/3.635, allocations: 336.7 kB / 1.946 GB, free: 16.94 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/3.636, allocations: 1.263 MB / 1.947 GB, free: 15.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007614/3.637, allocations: 0.5282 MB / 1.948 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=65): time 4.098e-06/3.637, allocations: 4 kB / 1.948 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65): time 0.00185/3.639, allocations: 0.8377 MB / 1.949 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/3.639, allocations: 483.4 kB / 1.949 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/3.641, allocations: 1.231 MB / 1.95 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/3.641, allocations: 45.7 kB / 1.95 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006355/3.642, allocations: 0.7151 MB / 1.951 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/3.642, allocations: 224.8 kB / 1.951 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/3.642, allocations: 20 kB / 1.951 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.116e-05/3.642, allocations: 337.9 kB / 1.952 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005763/3.643, allocations: 325.9 kB / 1.952 GB, free: 10.47 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007612/3.644, allocations: 0.6394 MB / 1.952 GB, free: 9.695 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/3.644, allocations: 425.6 kB / 1.953 GB, free: 9.277 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/3.644, allocations: 3.938 kB / 1.953 GB, free: 9.273 MB / 0.9323 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00347/3.648, allocations: 1.262 MB / 1.954 GB, free: 7.992 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004748/3.648, allocations: 2.518 MB / 1.957 GB, free: 5.324 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/3.648, allocations: 8 kB / 1.957 GB, free: 5.316 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/3.649, allocations: 338.1 kB / 1.957 GB, free: 4.984 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/3.651, allocations: 263.6 kB / 1.957 GB, free: 4.727 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008051/3.652, allocations: 0.8494 MB / 1.958 GB, free: 3.855 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/3.654, allocations: 290.6 kB / 1.958 GB, free: 3.57 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/3.655, allocations: 59.94 kB / 1.958 GB, free: 3.512 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/3.655, allocations: 4 kB / 1.958 GB, free: 3.508 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00304/3.658, allocations: 1.106 MB / 1.959 GB, free: 2.395 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/3.658, allocations: 7.953 kB / 1.959 GB, free: 2.387 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/3.659, allocations: 329.2 kB / 1.96 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/3.66, allocations: 263.5 kB / 1.96 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000884/3.661, allocations: 0.8479 MB / 1.961 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/3.664, allocations: 259 kB / 1.961 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/3.664, allocations: 55.95 kB / 1.961 GB, free: 0.625 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 () * 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.0003832/3.664, allocations: 164.7 kB / 1.961 GB, free: 468 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005828/3.665, allocations: 154.2 kB / 1.961 GB, free: 312 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6499/4.315, allocations: 0.931 MB / 1.962 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/4.315, allocations: 12.81 kB / 1.962 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/4.315, allocations: 3.781 kB / 1.962 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002272/4.317, allocations: 0.8138 MB / 1.963 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006968/4.324, allocations: 3.264 MB / 1.966 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/4.324, allocations: 9.25 kB / 1.966 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/4.325, allocations: 165.1 kB / 1.966 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001227/4.326, allocations: 327.1 kB / 1.967 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.692e-05/4.327, allocations: 25.33 kB / 1.967 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009414/4.328, allocations: 0.844 MB / 1.968 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/4.328, allocations: 7.219 kB / 1.968 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004354/4.332, allocations: 1.815 MB / 1.969 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/4.333, allocations: 396.5 kB / 1.97 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/4.333, allocations: 22.17 kB / 1.97 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/4.335, allocations: 153.1 kB / 1.97 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/4.335, allocations: 67.84 kB / 1.97 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/4.336, allocations: 41.91 kB / 1.97 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002517/4.338, allocations: 0.9808 MB / 1.971 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.4e-07/4.338, allocations: 0 / 1.971 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004192/4.342, allocations: 0.9938 MB / 1.972 GB, free: 154.4 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) * 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.00204/4.344, allocations: 0.8718 MB / 1.973 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003177/4.348, allocations: 1.478 MB / 1.974 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/4.348, allocations: 4.109 kB / 1.974 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008369/4.348, allocations: 411.7 kB / 1.975 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/4.353, allocations: 0.7907 MB / 1.975 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005504/4.358, allocations: 2.091 MB / 1.977 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008986/4.359, allocations: 1.244 MB / 1.979 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002622/4.362, allocations: 481.2 kB / 1.979 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/4.362, allocations: 104.6 kB / 1.979 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.473e-06/4.362, allocations: 0 / 1.979 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.08236/4.445, allocations: 43.02 MB / 2.021 GB, free: 151.5 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)