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.642/1.642, allocations: 288.2 MB / 303.2 MB, free: 8.082 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.001131/0.001131, allocations: 177.1 kB / 371.8 MB, free: 10.29 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.616/1.616, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009746/0.0009746, allocations: 98.78 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.0004231, allocations: 11.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2471, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.5995/0.8466, allocations: 105.5 MB / 1.082 GB, free: 31.85 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02179/0.8685, allocations: 12.93 MB / 1.095 GB, free: 31.72 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003298/0.8718, allocations: 59.84 kB / 1.095 GB, free: 31.72 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003696/0.8755, allocations: 0.8231 MB / 1.096 GB, free: 31.72 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00946/0.885, allocations: 2.228 MB / 1.098 GB, free: 31.69 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00839/0.8934, allocations: 1.971 MB / 1.1 GB, free: 31.64 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009/0.9024, allocations: 2.728 MB / 1.103 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00364/0.9061, allocations: 1.232 MB / 1.104 GB, free: 31.47 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004069/0.9102, allocations: 1.314 MB / 1.105 GB, free: 31.47 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002787/0.913, allocations: 0.8613 MB / 1.106 GB, free: 31.44 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007353/0.9138, allocations: 70.12 kB / 1.106 GB, free: 31.44 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005777/0.9196, allocations: 1.214 MB / 1.107 GB, free: 31.4 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.9207, allocations: 335.5 kB / 1.108 GB, free: 31.34 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001755/0.9225, allocations: 419.8 kB / 1.108 GB, free: 31.25 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006968/0.9294, allocations: 2.567 MB / 1.111 GB, free: 31.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9295, allocations: 0 / 1.111 GB, free: 31.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.969e-06/0.9295, allocations: 1 kB / 1.111 GB, free: 31.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.302e-05/0.9296, allocations: 0 / 1.111 GB, free: 31.07 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.005719/0.9353, allocations: 2.045 MB / 1.113 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.9354, allocations: 8.844 kB / 1.113 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004557/0.9358, allocations: 188.9 kB / 1.113 GB, free: 29.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006141/0.942, allocations: 0.7457 MB / 1.113 GB, free: 29.74 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004575/0.9466, allocations: 1.538 MB / 1.115 GB, free: 29.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.9468, allocations: 131.9 kB / 1.115 GB, free: 29.31 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002415/0.9471, allocations: 128.6 kB / 1.115 GB, free: 29.31 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004258/0.9513, allocations: 1.722 MB / 1.117 GB, free: 29.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.9514, allocations: 13.89 kB / 1.117 GB, free: 29.01 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.9516, allocations: 53.31 kB / 1.117 GB, free: 29.01 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/0.9516, allocations: 44.06 kB / 1.117 GB, free: 29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004783/0.9564, allocations: 1.522 MB / 1.118 GB, free: 28.95 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.01256/0.969, allocations: 7.605 MB / 1.126 GB, free: 23.22 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00411/0.9731, allocations: 1.185 MB / 1.127 GB, free: 22.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.9743, allocations: 1.28 MB / 1.128 GB, free: 21.17 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002234/0.9766, allocations: 0.7021 MB / 1.129 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 3.817e-06/0.9766, allocations: 0 / 1.129 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.01798/0.9946, allocations: 3.222 MB / 1.132 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/0.9947, allocations: 137.1 kB / 1.132 GB, free: 19.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/0.9974, allocations: 1.31 MB / 1.134 GB, free: 18.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000251/0.9977, allocations: 45.61 kB / 1.134 GB, free: 18.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007004/0.9984, allocations: 0.7259 MB / 1.134 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003201/0.9987, allocations: 279.5 kB / 1.135 GB, free: 17.38 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.9988, allocations: 15.19 kB / 1.135 GB, free: 17.37 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/0.9989, allocations: 342.8 kB / 1.135 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/1.001, allocations: 0.5267 MB / 1.135 GB, free: 16.78 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/1.003, allocations: 0.8139 MB / 1.136 GB, free: 16.17 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/1.006, allocations: 0.5743 MB / 1.137 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/1.006, allocations: 2 kB / 1.137 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005854/1.011, allocations: 1.671 MB / 1.138 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005259/1.012, allocations: 2.401 MB / 1.141 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.012, allocations: 10.89 kB / 1.141 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002091/1.014, allocations: 0.5718 MB / 1.141 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/1.015, allocations: 254.9 kB / 1.142 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/1.017, allocations: 1.177 MB / 1.143 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/1.02, allocations: 234.1 kB / 1.143 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/1.02, allocations: 62.31 kB / 1.143 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.02, allocations: 4.125 kB / 1.143 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00478/1.025, allocations: 1.508 MB / 1.144 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.025, allocations: 10.98 kB / 1.145 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/1.027, allocations: 0.5732 MB / 1.145 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.028, allocations: 255 kB / 1.145 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/1.03, allocations: 1.174 MB / 1.146 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/1.032, allocations: 236.6 kB / 1.147 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/1.032, allocations: 59.31 kB / 1.147 GB, free: 9.129 MB / 0.6823 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.001096/1.033, allocations: 464.9 kB / 1.147 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003796/1.034, allocations: 155.1 kB / 1.147 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.046, allocations: 2.156 MB / 1.149 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/1.046, allocations: 13.44 kB / 1.149 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.046, allocations: 0 / 1.149 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01133/1.057, allocations: 1.998 MB / 1.151 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009158/1.066, allocations: 3.689 MB / 1.155 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.066, allocations: 3.219 kB / 1.155 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/1.067, allocations: 175.5 kB / 1.155 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/1.069, allocations: 0.5595 MB / 1.156 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-05/1.069, allocations: 38.34 kB / 1.156 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/1.071, allocations: 1.158 MB / 1.157 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.071, allocations: 0 / 1.157 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005329/1.076, allocations: 1.706 MB / 1.159 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/1.078, allocations: 421.4 kB / 1.159 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/1.078, allocations: 23.36 kB / 1.159 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/1.08, allocations: 155.4 kB / 1.159 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/1.08, allocations: 57.7 kB / 1.159 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.08, allocations: 56.61 kB / 1.159 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001395/1.082, allocations: 0.8984 MB / 1.16 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/1.082, allocations: 0 / 1.16 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003103/1.085, allocations: 0.9718 MB / 1.161 GB, free: 380 kB / 0.6823 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.007425/1.092, allocations: 3.426 MB / 1.164 GB, free: 13.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007008/1.099, allocations: 2.04 MB / 1.166 GB, free: 11.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/1.099, allocations: 3.781 kB / 1.166 GB, free: 11.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002221/1.102, allocations: 0.636 MB / 1.167 GB, free: 10.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004176/1.106, allocations: 0.749 MB / 1.168 GB, free: 9.938 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/1.116, allocations: 8.091 MB / 1.176 GB, free: 1.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008831/1.117, allocations: 1.294 MB / 1.177 GB, free: 344 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002062/1.119, allocations: 374.5 kB / 1.177 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009868/1.12, allocations: 0.6242 MB / 1.178 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/1.12, allocations: 0 / 1.178 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08974/1.21, allocations: 51.26 MB / 1.228 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003886/1.21, allocations: 270.7 kB / 1.228 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.541/4.752, allocations: 0 / 1.228 GB, free: 12.21 MB / 0.7605 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)