Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 191.5 kB / 326.5 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 0.5775 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009079/0.000908, allocations: 95.92 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004398, allocations: 12.69 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2856, allocations: 106.3 MB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.0989/0.3845, allocations: 105.5 MB / 1.003 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02034/0.4049, allocations: 13.19 MB / 1.016 GB, free: 9.227 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002939/0.4079, allocations: 59.56 kB / 1.016 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003196/0.4111, allocations: 0.8278 MB / 1.017 GB, free: 8.336 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008684/0.4199, allocations: 2.226 MB / 1.019 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006528/0.4264, allocations: 1.98 MB / 1.021 GB, free: 4.156 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00566/0.4321, allocations: 2.709 MB / 1.024 GB, free: 1.441 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.4342, allocations: 1.232 MB / 1.025 GB, free: 184 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/0.4373, allocations: 1.3 MB / 1.026 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.4391, allocations: 0.8594 MB / 1.027 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004378/0.4395, allocations: 68 kB / 1.027 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003847/0.4434, allocations: 1.315 MB / 1.028 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005188/0.4439, allocations: 330.6 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007426/0.4447, allocations: 416.8 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003711/0.4484, allocations: 2.619 MB / 1.032 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4484, allocations: 0 / 1.032 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4484, allocations: 0 / 1.032 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.404e-05/0.4485, allocations: 0 / 1.032 GB, free: 9.266 MB / 0.6823 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.003992/0.4525, allocations: 2.058 MB / 1.034 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.4525, allocations: 12.03 kB / 1.034 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002697/0.4528, allocations: 197.7 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00558/0.4584, allocations: 0.7469 MB / 1.035 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/0.4614, allocations: 1.53 MB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.4616, allocations: 136.1 kB / 1.036 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.4617, allocations: 124 kB / 1.036 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003915/0.4657, allocations: 1.714 MB / 1.038 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.4657, allocations: 11.88 kB / 1.038 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.4659, allocations: 55.95 kB / 1.038 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/0.4659, allocations: 36 kB / 1.038 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004724/0.4706, allocations: 1.531 MB / 1.04 GB, free: 0.8711 MB / 0.6823 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.01149/0.4822, allocations: 7.584 MB / 1.047 GB, free: 8.887 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00401/0.4862, allocations: 1.19 MB / 1.048 GB, free: 7.691 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/0.4876, allocations: 1.279 MB / 1.049 GB, free: 6.137 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002181/0.4898, allocations: 0.6874 MB / 1.05 GB, free: 5.438 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 3.957e-06/0.4898, allocations: 0 / 1.05 GB, free: 5.438 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.01743/0.5072, allocations: 3.226 MB / 1.053 GB, free: 2.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.5074, allocations: 137.2 kB / 1.053 GB, free: 2.016 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.5095, allocations: 1.306 MB / 1.055 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.5097, allocations: 45.7 kB / 1.055 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.5096/1.019, allocations: 0.7152 MB / 1.055 GB, free: 149.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007608/1.02, allocations: 285.2 kB / 1.056 GB, free: 149.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.791e-05/1.02, allocations: 17.66 kB / 1.056 GB, free: 149.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.02, allocations: 342.9 kB / 1.056 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/1.023, allocations: 0.5323 MB / 1.056 GB, free: 149.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00223/1.025, allocations: 0.808 MB / 1.057 GB, free: 149.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/1.027, allocations: 0.576 MB / 1.058 GB, free: 149.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/1.027, allocations: 0 / 1.058 GB, free: 149.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005118/1.032, allocations: 1.672 MB / 1.059 GB, free: 149 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005017/1.033, allocations: 2.402 MB / 1.062 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.033, allocations: 7.875 kB / 1.062 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/1.035, allocations: 0.5448 MB / 1.062 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.036, allocations: 252.6 kB / 1.063 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/1.038, allocations: 1.17 MB / 1.064 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/1.04, allocations: 242.7 kB / 1.064 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/1.04, allocations: 59.61 kB / 1.064 GB, free: 145.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/1.04, allocations: 6.75 kB / 1.064 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004786/1.045, allocations: 1.515 MB / 1.065 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.045, allocations: 6.156 kB / 1.066 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/1.047, allocations: 0.5432 MB / 1.066 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.049, allocations: 250.8 kB / 1.066 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/1.051, allocations: 1.176 MB / 1.067 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/1.053, allocations: 227 kB / 1.068 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/1.053, allocations: 56.89 kB / 1.068 GB, free: 145.3 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0009779/1.054, allocations: 479.6 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/1.054, allocations: 151.2 kB / 1.068 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/1.067, allocations: 2.168 MB / 1.07 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.475e-05/1.067, allocations: 12.75 kB / 1.07 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.067, allocations: 0.8125 kB / 1.07 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01239/1.08, allocations: 1.991 MB / 1.072 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009711/1.09, allocations: 3.669 MB / 1.076 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.09, allocations: 1.438 kB / 1.076 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/1.091, allocations: 187.5 kB / 1.076 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/1.092, allocations: 0.5274 MB / 1.077 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.815e-05/1.093, allocations: 35.27 kB / 1.077 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/1.094, allocations: 1.155 MB / 1.078 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.094, allocations: 6.344 kB / 1.078 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004805/1.099, allocations: 1.701 MB / 1.079 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008791/1.1, allocations: 416 kB / 1.08 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/1.1, allocations: 20.47 kB / 1.08 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/1.102, allocations: 164 kB / 1.08 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/1.102, allocations: 59.56 kB / 1.08 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.102, allocations: 55.8 kB / 1.08 GB, free: 142 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001222/1.103, allocations: 0.8999 MB / 1.081 GB, free: 141.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.103, allocations: 0 / 1.081 GB, free: 141.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002857/1.106, allocations: 1.007 MB / 1.082 GB, free: 141.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * 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.007347/1.114, allocations: 3.481 MB / 1.085 GB, free: 139.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006324/1.12, allocations: 2.039 MB / 1.087 GB, free: 138.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.12, allocations: 0 / 1.087 GB, free: 138.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/1.122, allocations: 0.6413 MB / 1.088 GB, free: 138.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/1.125, allocations: 0.7479 MB / 1.089 GB, free: 137.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007163/1.133, allocations: 8.109 MB / 1.097 GB, free: 131 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/1.133, allocations: 1.297 MB / 1.098 GB, free: 130 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001757/1.135, allocations: 370 kB / 1.098 GB, free: 129.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007716/1.136, allocations: 0.6203 MB / 1.099 GB, free: 129.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.382e-06/1.136, allocations: 0 / 1.099 GB, free: 129.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07945/1.215, allocations: 51.21 MB / 1.149 GB, free: 78.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/1.215, allocations: 270.7 kB / 1.149 GB, free: 77.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.787/5.003, allocations: 0 / 1.149 GB, free: 77.93 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)