Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.692/1.692, allocations: 285.4 MB / 298 MB, free: 5.965 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.001199/0.0012, allocations: 176.9 kB / 366.4 MB, free: 2.078 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.964/1.964, allocations: 205.1 MB / 0.6248 GB, free: 7.707 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.0009478/0.000948, allocations: 95.28 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.792e-05/3.795e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7201/0.7201, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.787, allocations: 426.6 MB / 1.388 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.788, allocations: 95.03 kB / 1.388 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.74/3.528, allocations: 0.5534 GB / 1.941 GB, free: 53.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.365e-06/3.528, allocations: 0 / 1.941 GB, free: 53.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001534/3.528, allocations: 47.98 kB / 1.941 GB, free: 53.19 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004528/3.533, allocations: 1.953 MB / 1.943 GB, free: 51.17 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.765e-05/3.533, allocations: 11.97 kB / 1.943 GB, free: 51.16 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003266/3.533, allocations: 185.8 kB / 1.943 GB, free: 50.97 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004628/3.538, allocations: 0.6845 MB / 1.944 GB, free: 50.28 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003859/3.541, allocations: 1.854 MB / 1.946 GB, free: 48.37 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/3.542, allocations: 148 kB / 1.946 GB, free: 48.22 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/3.542, allocations: 120 kB / 1.946 GB, free: 48.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/3.544, allocations: 1.558 MB / 1.948 GB, free: 46.44 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/3.544, allocations: 0 / 1.948 GB, free: 46.44 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/3.545, allocations: 56 kB / 1.948 GB, free: 46.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/3.545, allocations: 32 kB / 1.948 GB, free: 46.35 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/3.547, allocations: 1.196 MB / 1.949 GB, free: 45.15 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.009505/3.556, allocations: 7.535 MB / 1.956 GB, free: 37.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/3.558, allocations: 0.9256 MB / 1.957 GB, free: 36.31 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006305/3.558, allocations: 471.6 kB / 1.957 GB, free: 35.85 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/3.559, allocations: 1.279 MB / 1.959 GB, free: 34.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008733/3.56, allocations: 0.5644 MB / 1.959 GB, free: 33.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 3.717e-06/3.56, allocations: 0 / 1.959 GB, free: 33.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.003805/3.564, allocations: 1.221 MB / 1.96 GB, free: 32.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/3.564, allocations: 163 kB / 1.961 GB, free: 32.28 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/3.566, allocations: 1.16 MB / 1.962 GB, free: 31.11 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001701/3.566, allocations: 45.7 kB / 1.962 GB, free: 31.06 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005863/3.567, allocations: 0.7348 MB / 1.963 GB, free: 30.32 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/3.567, allocations: 276.1 kB / 1.963 GB, free: 30.04 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/3.567, allocations: 20 kB / 1.963 GB, free: 30.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.612e-05/3.567, allocations: 341.9 kB / 1.963 GB, free: 29.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/3.568, allocations: 393.9 kB / 1.964 GB, free: 29.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007281/3.568, allocations: 0.6775 MB / 1.964 GB, free: 28.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006683/3.569, allocations: 432 kB / 1.965 GB, free: 28.08 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/3.569, allocations: 4 kB / 1.965 GB, free: 28.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002157/3.571, allocations: 1.319 MB / 1.966 GB, free: 26.74 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005065/3.572, allocations: 2.407 MB / 1.968 GB, free: 24.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/3.572, allocations: 4 kB / 1.968 GB, free: 24.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/3.573, allocations: 0.5132 MB / 1.969 GB, free: 23.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/3.575, allocations: 251.6 kB / 1.969 GB, free: 23.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/3.576, allocations: 1.088 MB / 1.97 GB, free: 22.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/3.578, allocations: 254.7 kB / 1.97 GB, free: 22.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/3.578, allocations: 55.95 kB / 1.97 GB, free: 22.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/3.578, allocations: 4 kB / 1.97 GB, free: 22.01 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001766/3.58, allocations: 1.159 MB / 1.971 GB, free: 20.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/3.58, allocations: 4.125 kB / 1.971 GB, free: 20.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/3.581, allocations: 0.5164 MB / 1.972 GB, free: 20.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/3.582, allocations: 235.6 kB / 1.972 GB, free: 20.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/3.584, allocations: 1.092 MB / 1.973 GB, free: 18.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/3.586, allocations: 227 kB / 1.973 GB, free: 18.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/3.586, allocations: 59.94 kB / 1.974 GB, free: 18.69 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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 25} Notification: Performance of prepare postOptimizeDAE: time 0.0003888/3.586, allocations: 165.2 kB / 1.974 GB, free: 18.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/3.586, allocations: 154.2 kB / 1.974 GB, free: 18.37 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/3.589, allocations: 1.34 MB / 1.975 GB, free: 17.01 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/3.589, allocations: 16 kB / 1.975 GB, free: 17 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/3.589, allocations: 0 / 1.975 GB, free: 17 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001571/3.591, allocations: 1.121 MB / 1.976 GB, free: 15.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004446/3.595, allocations: 3.001 MB / 1.979 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/3.595, allocations: 0 / 1.979 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/3.596, allocations: 183.8 kB / 1.979 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/3.597, allocations: 0.4927 MB / 1.98 GB, free: 12.08 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.759e-05/3.598, allocations: 27.95 kB / 1.98 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/3.599, allocations: 1.092 MB / 1.981 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/3.599, allocations: 0 / 1.981 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/3.601, allocations: 1.37 MB / 1.982 GB, free: 9.504 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000877/3.602, allocations: 418.9 kB / 1.983 GB, free: 9.074 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/3.602, allocations: 23.98 kB / 1.983 GB, free: 9.051 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/3.603, allocations: 171.6 kB / 1.983 GB, free: 8.883 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/3.603, allocations: 52.64 kB / 1.983 GB, free: 8.832 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/3.604, allocations: 55.92 kB / 1.983 GB, free: 8.777 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001223/3.605, allocations: 0.9009 MB / 1.984 GB, free: 7.875 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.51e-07/3.605, allocations: 0 / 1.984 GB, free: 7.875 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003054/3.608, allocations: 1.084 MB / 1.985 GB, free: 6.789 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.00459/3.612, allocations: 3.268 MB / 1.988 GB, free: 3.559 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002888/3.615, allocations: 1.659 MB / 1.99 GB, free: 1.895 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/3.615, allocations: 0 / 1.99 GB, free: 1.895 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007994/3.616, allocations: 0.5157 MB / 1.99 GB, free: 1.379 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/3.62, allocations: 0.7596 MB / 1.991 GB, free: 0.6211 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7222/4.342, allocations: 2.367 MB / 1.993 GB, free: 170.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/4.344, allocations: 1.301 MB / 1.995 GB, free: 169.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00307/4.347, allocations: 477 kB / 1.995 GB, free: 169.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008975/4.348, allocations: 0.5978 MB / 1.996 GB, free: 169.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.753e-06/4.348, allocations: 1.062 kB / 1.996 GB, free: 169.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1574/4.505, allocations: 59.77 MB / 2.054 GB, free: 168.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/4.505, allocations: 226.7 kB / 2.054 GB, free: 167.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.792/9.297, allocations: 3.5 kB / 2.054 GB, free: 167.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)