Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001232/0.001232, allocations: 177.7 kB / 371.6 MB, free: 3.383 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.694/1.694, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001034/0.001034, allocations: 87.98 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.11e-05/4.123e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2796, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.29/2.569, allocations: 423.5 MB / 1.393 GB, free: 295.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/2.57, allocations: 93.64 kB / 1.394 GB, free: 295.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2/4.57, allocations: 0.5473 GB / 1.941 GB, free: 165.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.475e-06/4.57, allocations: 0 / 1.941 GB, free: 165.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00029/4.57, allocations: 43.64 kB / 1.941 GB, free: 165 MB / 0.948 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.006363/4.577, allocations: 1.822 MB / 1.943 GB, free: 163.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/4.577, allocations: 11.44 kB / 1.943 GB, free: 163.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007075/4.577, allocations: 177.8 kB / 1.943 GB, free: 163.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005423/4.583, allocations: 0.668 MB / 1.944 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005239/4.588, allocations: 1.776 MB / 1.945 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/4.588, allocations: 129.2 kB / 1.945 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004573/4.589, allocations: 125.4 kB / 1.945 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003306/4.592, allocations: 1.438 MB / 1.947 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.949e-05/4.592, allocations: 7.812 kB / 1.947 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/4.592, allocations: 58.34 kB / 1.947 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.683e-05/4.592, allocations: 38.03 kB / 1.947 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/4.595, allocations: 1.104 MB / 1.948 GB, free: 160.4 MB / 0.948 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.0109/4.606, allocations: 6.808 MB / 1.955 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008778/4.607, allocations: 0.5432 MB / 1.955 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005221/4.607, allocations: 348.4 kB / 1.956 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/4.608, allocations: 1.27 MB / 1.957 GB, free: 152.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/4.608, allocations: 52.95 kB / 1.957 GB, free: 152.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 4.278e-06/4.608, allocations: 0 / 1.957 GB, free: 152.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.009353/4.618, allocations: 1.437 MB / 1.958 GB, free: 152.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/4.618, allocations: 117 kB / 1.958 GB, free: 151.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/4.62, allocations: 1.213 MB / 1.96 GB, free: 151.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000237/4.62, allocations: 44.86 kB / 1.96 GB, free: 151.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005717/4.621, allocations: 0.7029 MB / 1.96 GB, free: 150.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/4.621, allocations: 226.5 kB / 1.961 GB, free: 150.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.765e-05/4.621, allocations: 15.81 kB / 1.961 GB, free: 150.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/4.621, allocations: 333 kB / 1.961 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005644/4.622, allocations: 340.1 kB / 1.961 GB, free: 150 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006682/4.622, allocations: 0.6008 MB / 1.962 GB, free: 149.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/4.623, allocations: 384.8 kB / 1.962 GB, free: 149.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/4.623, allocations: 6.406 kB / 1.962 GB, free: 149.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.009632/4.633, allocations: 1.738 MB / 1.964 GB, free: 148.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000535/4.633, allocations: 2.487 MB / 1.966 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/4.633, allocations: 3.688 kB / 1.966 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/4.635, allocations: 432.7 kB / 1.967 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/4.636, allocations: 251.8 kB / 1.967 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00093/4.637, allocations: 0.9135 MB / 1.968 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/4.64, allocations: 273.6 kB / 1.968 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/4.64, allocations: 52.7 kB / 1.968 GB, free: 144.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/4.64, allocations: 3.938 kB / 1.968 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00909/4.649, allocations: 1.575 MB / 1.97 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/4.649, allocations: 7.875 kB / 1.97 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/4.651, allocations: 416.9 kB / 1.97 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/4.652, allocations: 256.4 kB / 1.97 GB, free: 143.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/4.653, allocations: 0.9003 MB / 1.971 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/4.656, allocations: 242.3 kB / 1.971 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/4.656, allocations: 54.8 kB / 1.971 GB, free: 142.9 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004602/4.657, allocations: 160 kB / 1.972 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006636/4.657, allocations: 144.5 kB / 1.972 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/4.66, allocations: 0.9525 MB / 1.973 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/4.66, allocations: 3.875 kB / 1.973 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/4.66, allocations: 6.531 kB / 1.973 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/4.661, allocations: 0.8107 MB / 1.973 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005522/4.666, allocations: 2.707 MB / 1.976 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/4.666, allocations: 3.875 kB / 1.976 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009177/4.667, allocations: 152.4 kB / 1.976 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/4.668, allocations: 405.5 kB / 1.977 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/4.669, allocations: 25.34 kB / 1.977 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008678/4.669, allocations: 0.901 MB / 1.978 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/4.669, allocations: 7.875 kB / 1.978 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/4.672, allocations: 1.721 MB / 1.979 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008111/4.673, allocations: 395.4 kB / 1.98 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/4.673, allocations: 15.84 kB / 1.98 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/4.674, allocations: 151 kB / 1.98 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/4.675, allocations: 55.88 kB / 1.98 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.604e-05/4.675, allocations: 53.02 kB / 1.98 GB, free: 137 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001393/4.676, allocations: 0.9629 MB / 1.981 GB, free: 136.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.51e-07/4.676, allocations: 0 / 1.981 GB, free: 136.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002837/4.679, allocations: 0.9811 MB / 1.982 GB, free: 136.2 MB / 0.948 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: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.004282/4.683, allocations: 4.088 MB / 1.986 GB, free: 133.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002548/4.686, allocations: 1.356 MB / 1.987 GB, free: 132.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/4.686, allocations: 0 / 1.987 GB, free: 132.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006698/4.686, allocations: 392.3 kB / 1.987 GB, free: 132.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/4.69, allocations: 0.78 MB / 1.988 GB, free: 131.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/4.696, allocations: 2.364 MB / 1.991 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/4.697, allocations: 1.236 MB / 1.992 GB, free: 127.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002075/4.699, allocations: 470.8 kB / 1.992 GB, free: 127.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006783/4.699, allocations: 0.5461 MB / 1.993 GB, free: 126.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/4.699, allocations: 4 kB / 1.993 GB, free: 126.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08516/4.785, allocations: 57.21 MB / 2.049 GB, free: 70.29 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/4.785, allocations: 242.7 kB / 2.049 GB, free: 69.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.043/8.828, allocations: 0 / 2.049 GB, free: 69.98 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)