Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.659/1.659, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.001167/0.001167, allocations: 181 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.802/1.802, allocations: 205.4 MB / 0.6305 GB, free: 9.922 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.001045/0.001045, allocations: 101.2 kB / 0.7439 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003867, allocations: 11.78 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2688, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.7196/0.9885, allocations: 109.3 MB / 1.086 GB, free: 31.98 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0373/1.026, allocations: 21.14 MB / 1.107 GB, free: 31.34 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00674/1.033, allocations: 110.3 kB / 1.107 GB, free: 31.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006909/1.04, allocations: 1.458 MB / 1.108 GB, free: 30.91 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01841/1.058, allocations: 4.073 MB / 1.112 GB, free: 29.62 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01396/1.072, allocations: 3.15 MB / 1.115 GB, free: 28.64 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01455/1.087, allocations: 5.051 MB / 1.12 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007046/1.094, allocations: 2.267 MB / 1.123 GB, free: 26.24 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008113/1.102, allocations: 2.418 MB / 1.125 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005266/1.107, allocations: 1.571 MB / 1.127 GB, free: 24.65 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001784/1.109, allocations: 132.5 kB / 1.127 GB, free: 24.65 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/1.12, allocations: 1.734 MB / 1.128 GB, free: 24.23 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001923/1.122, allocations: 0.5725 MB / 1.129 GB, free: 23.93 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002936/1.125, allocations: 0.7258 MB / 1.13 GB, free: 23.52 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009948/1.135, allocations: 4.573 MB / 1.134 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/1.135, allocations: 0 / 1.134 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.451e-06/1.135, allocations: 1.438 kB / 1.134 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002984/1.135, allocations: 0 / 1.134 GB, free: 20.75 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.0128/1.148, allocations: 3.348 MB / 1.137 GB, free: 18.29 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/1.148, allocations: 9.219 kB / 1.137 GB, free: 18.29 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001627/1.15, allocations: 329.9 kB / 1.138 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/1.162, allocations: 1.454 MB / 1.139 GB, free: 17.44 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007962/1.17, allocations: 2.695 MB / 1.142 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004209/1.17, allocations: 263.4 kB / 1.142 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008885/1.171, allocations: 235.2 kB / 1.142 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/1.182, allocations: 3.206 MB / 1.145 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-05/1.182, allocations: 10.67 kB / 1.145 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005701/1.183, allocations: 107.5 kB / 1.145 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/1.183, allocations: 65.81 kB / 1.146 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/1.195, allocations: 2.882 MB / 1.148 GB, free: 11.44 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.02394/1.219, allocations: 13.72 MB / 1.162 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004891/1.223, allocations: 1.513 MB / 1.163 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002428/1.226, allocations: 1.782 MB / 1.165 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004238/1.23, allocations: 1.214 MB / 1.166 GB, free: 12.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 7.935e-06/1.23, allocations: 0 / 1.166 GB, free: 12.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.05609/1.286, allocations: 11.82 MB / 1.178 GB, free: 3.094 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003524/1.287, allocations: 0.5843 MB / 1.178 GB, free: 2.375 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/1.291, allocations: 2.682 MB / 1.181 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004843/1.292, allocations: 65.7 kB / 1.181 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001384/1.293, allocations: 1.316 MB / 1.182 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006346/1.294, allocations: 453.6 kB / 1.183 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/1.294, allocations: 36 kB / 1.183 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002015/1.294, allocations: 373.9 kB / 1.183 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003842/1.298, allocations: 0.9915 MB / 1.184 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004291/1.302, allocations: 1.59 MB / 1.186 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004021/1.307, allocations: 1.134 MB / 1.187 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/1.307, allocations: 4 kB / 1.187 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02351/1.33, allocations: 4.233 MB / 1.191 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002513/1.333, allocations: 5.247 MB / 1.196 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.923e-05/1.333, allocations: 12 kB / 1.196 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00422/1.337, allocations: 1.173 MB / 1.197 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/1.34, allocations: 463.2 kB / 1.198 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004233/1.344, allocations: 2.393 MB / 1.2 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005759/1.35, allocations: 420.3 kB / 1.2 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003646/1.35, allocations: 103.9 kB / 1.2 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.35, allocations: 5.094 kB / 1.2 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02212/1.372, allocations: 3.957 MB / 1.204 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-05/1.372, allocations: 12 kB / 1.204 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00392/1.376, allocations: 1.161 MB / 1.205 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/1.379, allocations: 467.2 kB / 1.206 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003958/1.383, allocations: 2.386 MB / 1.208 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005248/1.388, allocations: 384.3 kB / 1.208 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003143/1.389, allocations: 103.9 kB / 1.209 GB, free: 2.418 MB / 0.7292 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.001861/1.391, allocations: 0.6985 MB / 1.209 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006994/1.391, allocations: 288.6 kB / 1.21 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01526/1.407, allocations: 3.043 MB / 1.213 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.79e-05/1.407, allocations: 19.98 kB / 1.213 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/1.407, allocations: 0 / 1.213 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01401/1.421, allocations: 2.634 MB / 1.215 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02265/1.443, allocations: 7.053 MB / 1.222 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.338e-05/1.443, allocations: 8 kB / 1.222 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/1.445, allocations: 279.6 kB / 1.222 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003504/1.449, allocations: 1.013 MB / 1.223 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002306/1.449, allocations: 51.94 kB / 1.223 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003506/1.453, allocations: 2.161 MB / 1.225 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/1.453, allocations: 8 kB / 1.225 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02037/1.473, allocations: 5.026 MB / 1.23 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003154/1.476, allocations: 0.6808 MB / 1.231 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001379/1.478, allocations: 36 kB / 1.231 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00466/1.482, allocations: 291.6 kB / 1.231 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/1.483, allocations: 124.6 kB / 1.231 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002563/1.483, allocations: 75.92 kB / 1.232 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003835/1.487, allocations: 1.886 MB / 1.233 GB, free: 8.336 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.11e-07/1.487, allocations: 0 / 1.233 GB, free: 8.336 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.008378/1.495, allocations: 1.5 MB / 1.235 GB, free: 6.836 MB / 0.7605 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.02376/1.519, allocations: 7.918 MB / 1.243 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01359/1.533, allocations: 3.758 MB / 1.246 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.17e-05/1.533, allocations: 8.75 kB / 1.246 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003925/1.537, allocations: 1.098 MB / 1.247 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008536/1.545, allocations: 1.488 MB / 1.249 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/1.567, allocations: 15.94 MB / 1.264 GB, free: 7.762 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/1.568, allocations: 1.766 MB / 1.266 GB, free: 5.969 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003884/1.572, allocations: 0.6613 MB / 1.267 GB, free: 5.305 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001742/1.574, allocations: 1.163 MB / 1.268 GB, free: 4.141 MB / 0.7917 GB Notification: Performance of SimCode: time 2.315e-06/1.574, allocations: 0 / 1.268 GB, free: 4.141 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1582/1.732, allocations: 96.27 MB / 1.362 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/1.732, allocations: 277 kB / 1.362 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.764/7.497, allocations: 0 / 1.362 GB, free: 4.141 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)