Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.796/2.796, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001774/0.001774, allocations: 170.3 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.318/2.318, allocations: 205.4 MB / 0.6295 GB, free: 10.55 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.00128/0.001279, allocations: 100 kB / 0.7428 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008355/0.0008361, allocations: 13.67 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2793, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.1049/0.3843, allocations: 58.52 MB / 1.035 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02952/0.4139, allocations: 12.06 MB / 1.047 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/0.4172, allocations: 55.62 kB / 1.047 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004347/0.4216, allocations: 0.7928 MB / 1.048 GB, free: 4.676 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.4326, allocations: 2.166 MB / 1.05 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.009804/0.4425, allocations: 1.899 MB / 1.052 GB, free: 0.6367 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007623/0.4501, allocations: 2.642 MB / 1.055 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003349/0.4535, allocations: 1.152 MB / 1.056 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004738/0.4583, allocations: 1.261 MB / 1.057 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/0.461, allocations: 0.8166 MB / 1.058 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007702/0.4619, allocations: 71.94 kB / 1.058 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005878/0.4678, allocations: 1.166 MB / 1.059 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.4688, allocations: 302.8 kB / 1.059 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.4701, allocations: 400.8 kB / 1.06 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006199/0.4764, allocations: 2.435 MB / 1.062 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4765, allocations: 0 / 1.062 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.272e-06/0.4765, allocations: 0 / 1.062 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001029/0.4766, allocations: 3.938 kB / 1.062 GB, free: 6.352 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.006731/0.4833, allocations: 1.897 MB / 1.064 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.4834, allocations: 12.03 kB / 1.064 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000688/0.4841, allocations: 177.4 kB / 1.064 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.4952, allocations: 0.7276 MB / 1.065 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004608/0.4999, allocations: 1.444 MB / 1.066 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/0.5002, allocations: 128 kB / 1.066 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005346/0.5008, allocations: 127.9 kB / 1.066 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6579/1.159, allocations: 1.637 MB / 1.068 GB, free: 89.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/1.159, allocations: 1.531 kB / 1.068 GB, free: 89.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004919/1.159, allocations: 48.47 kB / 1.068 GB, free: 89.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/1.159, allocations: 36.08 kB / 1.068 GB, free: 89.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/1.17, allocations: 1.489 MB / 1.07 GB, free: 89.54 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.0204/1.191, allocations: 7.05 MB / 1.076 GB, free: 84.87 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00463/1.195, allocations: 0.7543 MB / 1.077 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001855/1.197, allocations: 1.272 MB / 1.078 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.059e-05/1.197, allocations: 39.78 kB / 1.078 GB, free: 83.13 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 4.028e-06/1.197, allocations: 0 / 1.078 GB, free: 83.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.04076/1.238, allocations: 3.108 MB / 1.081 GB, free: 82.51 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/1.238, allocations: 111.4 kB / 1.082 GB, free: 82.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00461/1.243, allocations: 1.404 MB / 1.083 GB, free: 81.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003475/1.243, allocations: 44.92 kB / 1.083 GB, free: 81.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/1.244, allocations: 0.6906 MB / 1.084 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005395/1.245, allocations: 238 kB / 1.084 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/1.245, allocations: 15.69 kB / 1.084 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.245, allocations: 341.4 kB / 1.084 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004263/1.25, allocations: 0.5158 MB / 1.085 GB, free: 80.58 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00463/1.254, allocations: 0.7887 MB / 1.086 GB, free: 80.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00435/1.259, allocations: 0.5611 MB / 1.086 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/1.259, allocations: 2.219 kB / 1.086 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.02563/1.285, allocations: 2.161 MB / 1.088 GB, free: 79.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000584/1.285, allocations: 2.485 MB / 1.091 GB, free: 76.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.361e-05/1.285, allocations: 11.7 kB / 1.091 GB, free: 76.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003321/1.289, allocations: 498.4 kB / 1.091 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/1.292, allocations: 267.1 kB / 1.091 GB, free: 76.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/1.295, allocations: 0.9905 MB / 1.092 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005042/1.3, allocations: 289.4 kB / 1.093 GB, free: 75.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004731/1.3, allocations: 55.08 kB / 1.093 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/1.3, allocations: 8.125 kB / 1.093 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02484/1.325, allocations: 1.998 MB / 1.095 GB, free: 75.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/1.325, allocations: 6.5 kB / 1.095 GB, free: 75.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003136/1.328, allocations: 495.6 kB / 1.095 GB, free: 75.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003044/1.332, allocations: 264.9 kB / 1.095 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/1.335, allocations: 0.9879 MB / 1.096 GB, free: 74.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/1.339, allocations: 253.4 kB / 1.097 GB, free: 74.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004106/1.34, allocations: 57.84 kB / 1.097 GB, free: 74.25 MB / 0.6823 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 (94): * Single equations (assignments): 93 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001486/1.341, allocations: 456.5 kB / 1.097 GB, free: 73.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006431/1.342, allocations: 150.5 kB / 1.097 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008973/1.351, allocations: 1.329 MB / 1.098 GB, free: 73.33 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.913e-05/1.351, allocations: 8 kB / 1.098 GB, free: 73.33 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.351, allocations: 0.7031 kB / 1.098 GB, free: 73.33 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007773/1.359, allocations: 1.14 MB / 1.1 GB, free: 72.85 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/1.374, allocations: 3.104 MB / 1.103 GB, free: 71.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.961e-05/1.374, allocations: 4.969 kB / 1.103 GB, free: 71.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/1.376, allocations: 155.4 kB / 1.103 GB, free: 71.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003055/1.379, allocations: 489.2 kB / 1.103 GB, free: 71.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002327/1.379, allocations: 26.44 kB / 1.103 GB, free: 71.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002744/1.382, allocations: 0.9923 MB / 1.104 GB, free: 70.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/1.382, allocations: 9.344 kB / 1.104 GB, free: 70.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01221/1.394, allocations: 2.245 MB / 1.106 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/1.396, allocations: 409.5 kB / 1.107 GB, free: 68.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006899/1.396, allocations: 21.62 kB / 1.107 GB, free: 68.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00402/1.4, allocations: 154.2 kB / 1.107 GB, free: 68.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/1.401, allocations: 59.64 kB / 1.107 GB, free: 68.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/1.401, allocations: 50.56 kB / 1.107 GB, free: 68.28 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003372/1.404, allocations: 1.002 MB / 1.108 GB, free: 67.72 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/1.404, allocations: 0.7656 kB / 1.108 GB, free: 67.72 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005476/1.41, allocations: 0.8969 MB / 1.109 GB, free: 67.57 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (48): * Single equations (assignments): 45 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01481/1.425, allocations: 4.403 MB / 1.113 GB, free: 64.22 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01318/1.438, allocations: 1.856 MB / 1.115 GB, free: 63.37 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/1.438, allocations: 5.188 kB / 1.115 GB, free: 63.36 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003827/1.442, allocations: 0.5245 MB / 1.116 GB, free: 63.12 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007158/1.449, allocations: 0.7886 MB / 1.116 GB, free: 62.74 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/1.464, allocations: 8.202 MB / 1.124 GB, free: 55.66 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/1.465, allocations: 1.236 MB / 1.126 GB, free: 54.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003498/1.469, allocations: 377.6 kB / 1.126 GB, free: 54.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/1.47, allocations: 0.5812 MB / 1.126 GB, free: 54.03 MB / 0.6823 GB Notification: Performance of SimCode: time 1.473e-06/1.47, allocations: 0 / 1.126 GB, free: 54.03 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.13/1.6, allocations: 49.85 MB / 1.175 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/1.601, allocations: 264.2 kB / 1.175 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.936/6.536, allocations: 4.062 kB / 1.175 GB, free: 7.691 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)