Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001265/0.001266, allocations: 184.8 kB / 366.7 MB, free: 1.625 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.988/1.988, allocations: 205.3 MB / 0.626 GB, free: 7.133 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.0008602/0.0008601, allocations: 89.12 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.464e-05, allocations: 4 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7418/0.7419, allocations: 116.3 MB / 0.9733 GB, free: 75.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.94, allocations: 426.9 MB / 1.39 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/1.941, allocations: 87.39 kB / 1.39 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.646/3.586, allocations: 0.5506 GB / 1.941 GB, free: 51.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.353e-06/3.586, allocations: 4 kB / 1.941 GB, free: 51.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001523/3.587, allocations: 43.98 kB / 1.941 GB, free: 51.16 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.003681/3.59, allocations: 1.961 MB / 1.943 GB, free: 49.13 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/3.59, allocations: 12.03 kB / 1.943 GB, free: 49.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004489/3.595, allocations: 0.6728 MB / 1.944 GB, free: 48.45 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003078/3.598, allocations: 1.858 MB / 1.945 GB, free: 46.53 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.57e-05/3.598, allocations: 84.16 kB / 1.945 GB, free: 46.44 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/3.598, allocations: 83.94 kB / 1.946 GB, free: 46.36 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001793/3.6, allocations: 1.118 MB / 1.947 GB, free: 45.24 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/3.602, allocations: 1.366 MB / 1.948 GB, free: 43.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/3.602, allocations: 7.938 kB / 1.948 GB, free: 43.76 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/3.602, allocations: 4 kB / 1.948 GB, free: 43.76 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/3.602, allocations: 36 kB / 1.948 GB, free: 43.72 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.008447/3.611, allocations: 7.289 MB / 1.955 GB, free: 36.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/3.612, allocations: 0.9076 MB / 1.956 GB, free: 35.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005548/3.612, allocations: 448.2 kB / 1.956 GB, free: 34.72 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/3.613, allocations: 1.275 MB / 1.958 GB, free: 33.17 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007417/3.614, allocations: 0.5433 MB / 1.958 GB, free: 32.61 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 3.908e-06/3.614, allocations: 4 kB / 1.958 GB, free: 32.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.004682/3.619, allocations: 1.28 MB / 1.959 GB, free: 31.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/3.619, allocations: 167 kB / 1.96 GB, free: 31.12 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/3.62, allocations: 0.9984 MB / 1.961 GB, free: 30.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.985e-05/3.62, allocations: 33.7 kB / 1.961 GB, free: 30.08 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/3.621, allocations: 0.7496 MB / 1.961 GB, free: 29.32 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/3.621, allocations: 260.1 kB / 1.962 GB, free: 29.06 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/3.621, allocations: 0 / 1.962 GB, free: 29.06 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.031e-05/3.621, allocations: 341.9 kB / 1.962 GB, free: 28.72 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/3.622, allocations: 374.5 kB / 1.962 GB, free: 28.36 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/3.622, allocations: 0.6624 MB / 1.963 GB, free: 27.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/3.624, allocations: 0.5452 MB / 1.963 GB, free: 27.03 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/3.624, allocations: 7.953 kB / 1.963 GB, free: 27.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00293/3.627, allocations: 1.359 MB / 1.965 GB, free: 25.65 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005084/3.628, allocations: 2.384 MB / 1.967 GB, free: 23.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/3.628, allocations: 8 kB / 1.967 GB, free: 23.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009048/3.629, allocations: 432.5 kB / 1.968 GB, free: 22.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/3.63, allocations: 243.6 kB / 1.968 GB, free: 22.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/3.631, allocations: 1.155 MB / 1.969 GB, free: 21.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/3.633, allocations: 207.1 kB / 1.969 GB, free: 21.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/3.633, allocations: 59.94 kB / 1.969 GB, free: 21 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/3.633, allocations: 8 kB / 1.969 GB, free: 20.99 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00269/3.636, allocations: 1.182 MB / 1.97 GB, free: 19.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/3.636, allocations: 8 kB / 1.97 GB, free: 19.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008186/3.637, allocations: 441.5 kB / 1.971 GB, free: 19.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/3.638, allocations: 247.5 kB / 1.971 GB, free: 19.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/3.639, allocations: 1.146 MB / 1.972 GB, free: 17.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/3.641, allocations: 187.2 kB / 1.972 GB, free: 17.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/3.641, allocations: 51.95 kB / 1.972 GB, free: 17.71 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.0003157/3.642, allocations: 132.8 kB / 1.972 GB, free: 17.58 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004435/3.646, allocations: 1.276 MB / 1.974 GB, free: 16.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/3.646, allocations: 142.3 kB / 1.974 GB, free: 16.15 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/3.649, allocations: 1.292 MB / 1.975 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/3.649, allocations: 12 kB / 1.975 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/3.649, allocations: 4 kB / 1.975 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00175/3.651, allocations: 1.097 MB / 1.976 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004432/3.655, allocations: 2.822 MB / 1.979 GB, free: 10.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/3.655, allocations: 4 kB / 1.979 GB, free: 10.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/3.656, allocations: 183.8 kB / 1.979 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008263/3.657, allocations: 432.7 kB / 1.98 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/3.657, allocations: 23.95 kB / 1.98 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/3.658, allocations: 1.139 MB / 1.981 GB, free: 9.012 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/3.658, allocations: 0 / 1.981 GB, free: 9.012 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/3.661, allocations: 1.336 MB / 1.982 GB, free: 7.629 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000725/3.661, allocations: 407 kB / 1.982 GB, free: 7.211 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/3.662, allocations: 7.984 kB / 1.982 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/3.663, allocations: 159.7 kB / 1.983 GB, free: 7.047 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/3.663, allocations: 56.59 kB / 1.983 GB, free: 6.988 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/3.663, allocations: 55.92 kB / 1.983 GB, free: 6.934 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001041/3.665, allocations: 0.7513 MB / 1.983 GB, free: 6.18 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/3.665, allocations: 8 kB / 1.983 GB, free: 6.172 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003138/3.668, allocations: 1.04 MB / 1.984 GB, free: 5.129 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.004895/3.673, allocations: 3.207 MB / 1.988 GB, free: 1.914 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002632/3.675, allocations: 1.552 MB / 1.989 GB, free: 376 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/3.675, allocations: 4 kB / 1.989 GB, free: 372 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.6498/4.325, allocations: 490.3 kB / 1.99 GB, free: 170.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004276/4.329, allocations: 0.6692 MB / 1.99 GB, free: 170.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006512/4.336, allocations: 2.274 MB / 1.992 GB, free: 170 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/4.337, allocations: 1.299 MB / 1.994 GB, free: 169.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002516/4.34, allocations: 453.3 kB / 1.994 GB, free: 169.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009761/4.341, allocations: 0.5974 MB / 1.995 GB, free: 169.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.823e-06/4.341, allocations: 0 / 1.995 GB, free: 169.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/4.47, allocations: 51.38 MB / 2.045 GB, free: 168.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/4.47, allocations: 176.9 kB / 2.045 GB, free: 167.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.402/8.872, allocations: 0 / 2.045 GB, free: 167.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)