Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",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.423/1.423, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001243/0.001243, allocations: 173 kB / 326.5 MB, free: 2.254 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.848/1.848, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009324/0.0009323, allocations: 88.06 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 12.94 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2243, allocations: 106.4 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.04274/0.2671, allocations: 58.53 MB / 0.9573 GB, free: 5.133 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01715/0.2843, allocations: 12.34 MB / 0.9694 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003412/0.2877, allocations: 63.56 kB / 0.9694 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003332/0.2911, allocations: 0.785 MB / 0.9702 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007855/0.299, allocations: 2.176 MB / 0.9723 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006236/0.3052, allocations: 1.898 MB / 0.9742 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005913/0.3111, allocations: 2.617 MB / 0.9767 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.3135, allocations: 1.145 MB / 0.9778 GB, free: 72 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003414/0.317, allocations: 1.257 MB / 0.9791 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.3188, allocations: 0.8166 MB / 0.9799 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003179/0.3191, allocations: 64 kB / 0.9799 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003814/0.323, allocations: 1.272 MB / 0.9812 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004043/0.3234, allocations: 294.8 kB / 0.9814 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006992/0.3241, allocations: 396.8 kB / 0.9818 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004158/0.3283, allocations: 2.486 MB / 0.9843 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3283, allocations: 0 / 0.9843 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.434e-06/0.3283, allocations: 0 / 0.9843 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.074e-05/0.3284, allocations: 0 / 0.9843 GB, free: 9.477 MB / 0.6355 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.00431/0.3327, allocations: 1.945 MB / 0.9862 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3328, allocations: 8.031 kB / 0.9862 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002888/0.333, allocations: 189.3 kB / 0.9863 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00556/0.3386, allocations: 0.7316 MB / 0.9871 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/0.3417, allocations: 1.429 MB / 0.9885 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.3419, allocations: 128 kB / 0.9886 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.3421, allocations: 120 kB / 0.9887 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003977/0.3461, allocations: 1.654 MB / 0.9903 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.3461, allocations: 7.938 kB / 0.9903 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.3463, allocations: 48 kB / 0.9904 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/0.3463, allocations: 32 kB / 0.9904 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004657/0.351, allocations: 1.523 MB / 0.9919 GB, free: 1.426 MB / 0.6355 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.01093/0.3619, allocations: 7.322 MB / 0.999 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.3644, allocations: 0.8442 MB / 0.9999 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/0.3658, allocations: 1.274 MB / 1.001 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.3658, allocations: 47.12 kB / 1.001 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 2.515e-06/0.3658, allocations: 0 / 1.001 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.02906/0.3949, allocations: 4.273 MB / 1.005 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.361e-05/0.395, allocations: 115.4 kB / 1.005 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/0.3979, allocations: 1.394 MB / 1.007 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001823/0.3981, allocations: 45.7 kB / 1.007 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007662/0.3989, allocations: 0.6802 MB / 1.007 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.3993, allocations: 244.6 kB / 1.008 GB, free: 444 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.579e-05/0.3994, allocations: 16 kB / 1.008 GB, free: 428 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3995, allocations: 338 kB / 1.008 GB, free: 84 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002056/0.4016, allocations: 0.5211 MB / 1.009 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.4039, allocations: 0.7862 MB / 1.009 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.4061, allocations: 0.573 MB / 1.01 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.4061, allocations: 4 kB / 1.01 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005437/0.4115, allocations: 1.632 MB / 1.011 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009474/0.4125, allocations: 2.48 MB / 1.014 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.4125, allocations: 11.94 kB / 1.014 GB, free: 9.801 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/0.4146, allocations: 0.5498 MB / 1.014 GB, free: 9.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.416, allocations: 255.6 kB / 1.015 GB, free: 9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.418, allocations: 1.17 MB / 1.016 GB, free: 7.805 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/0.4205, allocations: 290.4 kB / 1.016 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.4207, allocations: 51.95 kB / 1.016 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.4207, allocations: 4 kB / 1.016 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004873/0.4256, allocations: 1.472 MB / 1.018 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.4257, allocations: 7.938 kB / 1.018 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/0.4275, allocations: 0.5449 MB / 1.018 GB, free: 5.434 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.4288, allocations: 255.6 kB / 1.018 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.4308, allocations: 1.166 MB / 1.02 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/0.4333, allocations: 258.8 kB / 1.02 GB, free: 3.738 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.4335, allocations: 55.95 kB / 1.02 GB, free: 3.684 MB / 0.6667 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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.001074/0.4346, allocations: 455.2 kB / 1.02 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004467/0.435, allocations: 146.2 kB / 1.02 GB, free: 3.086 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004614/0.4396, allocations: 1.399 MB / 1.022 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.4397, allocations: 4 kB / 1.022 GB, free: 1.66 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4397, allocations: 4 kB / 1.022 GB, free: 1.656 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003816/0.4435, allocations: 1.219 MB / 1.023 GB, free: 416 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00853/0.452, allocations: 3.512 MB / 1.026 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.4521, allocations: 8 kB / 1.026 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008946/0.453, allocations: 155.8 kB / 1.027 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/0.4549, allocations: 0.5266 MB / 1.027 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.034e-05/0.455, allocations: 23.97 kB / 1.027 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.457, allocations: 1.17 MB / 1.028 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/0.457, allocations: 7.953 kB / 1.028 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004854/0.4619, allocations: 1.714 MB / 1.03 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.4631, allocations: 394.9 kB / 1.03 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000479/0.4636, allocations: 23.98 kB / 1.03 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/0.4657, allocations: 159.2 kB / 1.03 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.4659, allocations: 64.25 kB / 1.031 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.466, allocations: 43.95 kB / 1.031 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002229/0.4683, allocations: 0.9847 MB / 1.032 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4683, allocations: 0 / 1.032 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00386/0.4721, allocations: 0.9474 MB / 1.032 GB, free: 6.246 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.007637/0.4798, allocations: 3.796 MB / 1.036 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00724/0.4871, allocations: 1.906 MB / 1.038 GB, free: 420 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.4871, allocations: 4 kB / 1.038 GB, free: 416 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002119/0.4893, allocations: 0.5614 MB / 1.039 GB, free: 15.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004451/0.4938, allocations: 0.7674 MB / 1.039 GB, free: 15.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.5055, allocations: 8.203 MB / 1.047 GB, free: 6.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.5066, allocations: 1.238 MB / 1.049 GB, free: 5.395 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002102/0.5087, allocations: 342.7 kB / 1.049 GB, free: 5.059 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000902/0.5096, allocations: 0.5578 MB / 1.049 GB, free: 4.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/0.5096, allocations: 0 / 1.049 GB, free: 4.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.515/1.025, allocations: 50.3 MB / 1.099 GB, free: 120.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/1.025, allocations: 271.8 kB / 1.099 GB, free: 120.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.73/4.755, allocations: 1.859 kB / 1.099 GB, free: 120.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)