Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",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.426/1.426, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001162/0.001162, allocations: 180.4 kB / 326.5 MB, free: 2.234 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.842/1.842, allocations: 205.4 MB / 0.5775 GB, free: 20.31 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.0009896/0.0009896, allocations: 99.34 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004355, allocations: 9.125 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2482, allocations: 106.4 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.09812/0.3464, allocations: 109.4 MB / 1.007 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03671/0.3832, allocations: 21.46 MB / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00749/0.3907, allocations: 107.2 kB / 1.028 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007191/0.398, allocations: 1.461 MB / 1.029 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01713/0.4152, allocations: 4.077 MB / 1.033 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0127/0.4279, allocations: 3.104 MB / 1.036 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01264/0.4405, allocations: 5.031 MB / 1.041 GB, free: 14.98 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00475/0.4453, allocations: 2.239 MB / 1.044 GB, free: 12.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006842/0.4522, allocations: 2.406 MB / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003964/0.4562, allocations: 1.563 MB / 1.047 GB, free: 8.715 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007737/0.457, allocations: 128 kB / 1.048 GB, free: 8.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007014/0.464, allocations: 1.861 MB / 1.049 GB, free: 6.727 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.4652, allocations: 0.5602 MB / 1.05 GB, free: 6.164 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00173/0.4669, allocations: 0.7305 MB / 1.051 GB, free: 5.426 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00828/0.4752, allocations: 4.598 MB / 1.055 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4753, allocations: 0 / 1.055 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4753, allocations: 0 / 1.055 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001309/0.4754, allocations: 0 / 1.055 GB, free: 0.8164 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.5478/1.023, allocations: 3.385 MB / 1.058 GB, free: 147.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/1.023, allocations: 10.53 kB / 1.058 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001168/1.024, allocations: 323.1 kB / 1.059 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/1.035, allocations: 1.456 MB / 1.06 GB, free: 147.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006807/1.042, allocations: 2.672 MB / 1.063 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002995/1.043, allocations: 260.9 kB / 1.063 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005333/1.043, allocations: 240 kB / 1.063 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008867/1.052, allocations: 3.177 MB / 1.066 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.714e-05/1.052, allocations: 7.219 kB / 1.066 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003691/1.052, allocations: 99.56 kB / 1.066 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001413/1.053, allocations: 66.02 kB / 1.066 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/1.064, allocations: 2.884 MB / 1.069 GB, free: 146.3 MB / 0.698 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.0251/1.089, allocations: 13.69 MB / 1.083 GB, free: 136.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004456/1.094, allocations: 1.509 MB / 1.084 GB, free: 136.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/1.095, allocations: 1.79 MB / 1.086 GB, free: 134.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003566/1.099, allocations: 1.179 MB / 1.087 GB, free: 133.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 4.518e-06/1.099, allocations: 1 kB / 1.087 GB, free: 133.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.05283/1.152, allocations: 11.82 MB / 1.099 GB, free: 126.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/1.152, allocations: 0.5763 MB / 1.099 GB, free: 125.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003716/1.156, allocations: 2.686 MB / 1.102 GB, free: 124.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003707/1.156, allocations: 61.75 kB / 1.102 GB, free: 124.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008951/1.157, allocations: 1.321 MB / 1.103 GB, free: 122.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004248/1.157, allocations: 454.2 kB / 1.104 GB, free: 122.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/1.157, allocations: 34.34 kB / 1.104 GB, free: 122.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.158, allocations: 375 kB / 1.104 GB, free: 122.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003434/1.161, allocations: 0.9936 MB / 1.105 GB, free: 121.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003814/1.165, allocations: 1.591 MB / 1.106 GB, free: 119.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003593/1.168, allocations: 1.135 MB / 1.108 GB, free: 118.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/1.168, allocations: 4 kB / 1.108 GB, free: 118.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02184/1.19, allocations: 4.234 MB / 1.112 GB, free: 114.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001224/1.192, allocations: 5.244 MB / 1.117 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/1.192, allocations: 12 kB / 1.117 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00366/1.195, allocations: 1.135 MB / 1.118 GB, free: 107.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/1.198, allocations: 463.2 kB / 1.118 GB, free: 106.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003522/1.201, allocations: 2.382 MB / 1.121 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00529/1.207, allocations: 423.1 kB / 1.121 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003218/1.207, allocations: 106.1 kB / 1.121 GB, free: 103.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.207, allocations: 4 kB / 1.121 GB, free: 103.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02112/1.228, allocations: 3.956 MB / 1.125 GB, free: 99.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-05/1.228, allocations: 12 kB / 1.125 GB, free: 99.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003483/1.232, allocations: 1.129 MB / 1.126 GB, free: 98.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/1.234, allocations: 467.2 kB / 1.127 GB, free: 98.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003448/1.238, allocations: 2.388 MB / 1.129 GB, free: 95.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005073/1.243, allocations: 386.1 kB / 1.129 GB, free: 95.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000423/1.243, allocations: 103.9 kB / 1.129 GB, free: 95.42 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.001649/1.245, allocations: 0.7002 MB / 1.13 GB, free: 94.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009005/1.246, allocations: 276.6 kB / 1.13 GB, free: 94.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01515/1.261, allocations: 3.033 MB / 1.133 GB, free: 91.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-05/1.261, allocations: 12 kB / 1.133 GB, free: 91.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.261, allocations: 4 kB / 1.133 GB, free: 91.37 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01373/1.275, allocations: 2.642 MB / 1.136 GB, free: 88.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0204/1.296, allocations: 7.004 MB / 1.143 GB, free: 81.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/1.296, allocations: 8 kB / 1.143 GB, free: 81.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/1.297, allocations: 276.1 kB / 1.143 GB, free: 81.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/1.301, allocations: 0.987 MB / 1.144 GB, free: 80.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/1.301, allocations: 55.94 kB / 1.144 GB, free: 80.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003155/1.304, allocations: 2.147 MB / 1.146 GB, free: 78.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.304, allocations: 12.19 kB / 1.146 GB, free: 78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01864/1.323, allocations: 4.991 MB / 1.151 GB, free: 72.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/1.325, allocations: 0.6691 MB / 1.152 GB, free: 71.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005008/1.325, allocations: 36 kB / 1.152 GB, free: 71.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003174/1.328, allocations: 303.4 kB / 1.152 GB, free: 71.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/1.329, allocations: 112.7 kB / 1.152 GB, free: 71.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.329, allocations: 71.92 kB / 1.152 GB, free: 71.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00286/1.332, allocations: 1.89 MB / 1.154 GB, free: 69.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/1.332, allocations: 0 / 1.154 GB, free: 69.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005189/1.337, allocations: 1.548 MB / 1.156 GB, free: 68.03 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01974/1.357, allocations: 7.986 MB / 1.163 GB, free: 59.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.369, allocations: 3.766 MB / 1.167 GB, free: 56.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.791e-05/1.369, allocations: 4 kB / 1.167 GB, free: 56.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003614/1.372, allocations: 1.095 MB / 1.168 GB, free: 55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007579/1.38, allocations: 1.484 MB / 1.17 GB, free: 53.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/1.397, allocations: 15.97 MB / 1.185 GB, free: 36.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/1.398, allocations: 1.766 MB / 1.187 GB, free: 35.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003561/1.402, allocations: 0.66 MB / 1.188 GB, free: 34.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/1.403, allocations: 1.155 MB / 1.189 GB, free: 33.37 MB / 0.698 GB Notification: Performance of SimCode: time 8.41e-07/1.403, allocations: 0 / 1.189 GB, free: 33.37 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1718/1.575, allocations: 96.08 MB / 1.283 GB, free: 1.859 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003396/1.575, allocations: 276.5 kB / 1.283 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.424/6.999, allocations: 0 / 1.283 GB, free: 1.5 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)