Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.348/1.348, allocations: 251.5 MB / 266.7 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.001034/0.001034, allocations: 179 kB / 325.9 MB, free: 2.715 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.679/1.679, allocations: 205 MB / 0.576 GB, free: 20.98 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.0009415/0.0009414, allocations: 99.05 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003586, allocations: 10.22 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1847, allocations: 105.4 MB / 0.8962 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1141/0.2988, allocations: 129.6 MB / 1.023 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03748/0.3363, allocations: 25.37 MB / 1.048 GB, free: 8.668 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005763/0.3421, allocations: 123.2 kB / 1.048 GB, free: 8.547 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00559/0.3478, allocations: 1.414 MB / 1.049 GB, free: 7.125 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01436/0.3622, allocations: 4.179 MB / 1.053 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.4669/0.8291, allocations: 3.155 MB / 1.056 GB, free: 42.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01763/0.8467, allocations: 11.33 MB / 1.067 GB, free: 42.11 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007364/0.8541, allocations: 2.476 MB / 1.07 GB, free: 41.81 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009133/0.8633, allocations: 2.814 MB / 1.072 GB, free: 41.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006595/0.87, allocations: 2.31 MB / 1.075 GB, free: 41.71 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001534/0.8715, allocations: 129.1 kB / 1.075 GB, free: 41.71 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008796/0.8804, allocations: 2.583 MB / 1.077 GB, free: 41.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002135/0.8826, allocations: 0.6154 MB / 1.078 GB, free: 41.58 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005415/0.888, allocations: 1.677 MB / 1.08 GB, free: 41.08 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.9013, allocations: 6.109 MB / 1.086 GB, free: 40.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.9014, allocations: 0 / 1.086 GB, free: 40.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.669e-06/0.9014, allocations: 0 / 1.086 GB, free: 40.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003067/0.9017, allocations: 0 / 1.086 GB, free: 40.55 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01075/0.9125, allocations: 3.431 MB / 1.089 GB, free: 38.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.9126, allocations: 10.25 kB / 1.089 GB, free: 38.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001332/0.9139, allocations: 328.2 kB / 1.089 GB, free: 38.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.9246, allocations: 1.368 MB / 1.091 GB, free: 38.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007416/0.9321, allocations: 2.895 MB / 1.093 GB, free: 37.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004217/0.9325, allocations: 257.4 kB / 1.094 GB, free: 37.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00108/0.9336, allocations: 234.7 kB / 1.094 GB, free: 37.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/0.9446, allocations: 3.186 MB / 1.097 GB, free: 37.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001558/0.9448, allocations: 6.875 kB / 1.097 GB, free: 37.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006985/0.9455, allocations: 99.91 kB / 1.097 GB, free: 37.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00017/0.9457, allocations: 71.28 kB / 1.097 GB, free: 37.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.9565, allocations: 2.822 MB / 1.1 GB, free: 37.18 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.0229/0.9794, allocations: 13.59 MB / 1.113 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004257/0.9837, allocations: 1.436 MB / 1.115 GB, free: 29.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002989/0.9868, allocations: 0.8965 MB / 1.115 GB, free: 29.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/0.9883, allocations: 1.784 MB / 1.117 GB, free: 27.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003616/0.9919, allocations: 1.14 MB / 1.118 GB, free: 26.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 8.866e-06/0.992, allocations: 0 / 1.118 GB, free: 26.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=132): time 0.03796/1.03, allocations: 9.819 MB / 1.128 GB, free: 22.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/1.03, allocations: 0.5789 MB / 1.128 GB, free: 21.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004195/1.034, allocations: 2.607 MB / 1.131 GB, free: 20.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004745/1.035, allocations: 71.56 kB / 1.131 GB, free: 20.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.036, allocations: 1.34 MB / 1.132 GB, free: 20.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005133/1.036, allocations: 458.4 kB / 1.133 GB, free: 19.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/1.037, allocations: 149.2 kB / 1.133 GB, free: 19.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.446e-05/1.037, allocations: 301.1 kB / 1.133 GB, free: 19.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003569/1.04, allocations: 0.9659 MB / 1.134 GB, free: 19.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00362/1.044, allocations: 1.559 MB / 1.136 GB, free: 18.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005973/1.05, allocations: 2.235 MB / 1.138 GB, free: 16.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.435e-06/1.05, allocations: 4 kB / 1.138 GB, free: 16.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01065/1.061, allocations: 3.185 MB / 1.141 GB, free: 14.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002667/1.061, allocations: 0.4895 MB / 1.141 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/1.061, allocations: 12 kB / 1.141 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002748/1.064, allocations: 0.8983 MB / 1.142 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/1.066, allocations: 478.8 kB / 1.143 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003032/1.069, allocations: 2.2 MB / 1.145 GB, free: 10.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004965/1.074, allocations: 400.6 kB / 1.145 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005367/1.075, allocations: 108 kB / 1.145 GB, free: 10.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/1.075, allocations: 4 kB / 1.145 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01102/1.086, allocations: 2.884 MB / 1.148 GB, free: 8.121 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.29e-05/1.086, allocations: 12 kB / 1.148 GB, free: 8.109 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/1.089, allocations: 0.8851 MB / 1.149 GB, free: 7.227 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/1.091, allocations: 481.7 kB / 1.15 GB, free: 6.777 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/1.094, allocations: 2.192 MB / 1.152 GB, free: 4.543 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00485/1.099, allocations: 359.4 kB / 1.152 GB, free: 4.191 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004968/1.1, allocations: 107.9 kB / 1.152 GB, free: 4.086 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001894/1.102, allocations: 0.7092 MB / 1.153 GB, free: 3.391 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.103, allocations: 280.6 kB / 1.153 GB, free: 3.113 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007495/1.11, allocations: 2.313 MB / 1.155 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.864e-05/1.11, allocations: 19.94 kB / 1.155 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/1.11, allocations: 8 kB / 1.155 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006281/1.117, allocations: 1.927 MB / 1.157 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/1.133, allocations: 6.243 MB / 1.163 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/1.133, allocations: 8 kB / 1.163 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/1.135, allocations: 294.2 kB / 1.164 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002813/1.138, allocations: 0.758 MB / 1.164 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003066/1.138, allocations: 47.94 kB / 1.164 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/1.141, allocations: 1.975 MB / 1.166 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/1.141, allocations: 11.75 kB / 1.166 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/1.154, allocations: 3.553 MB / 1.17 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002031/1.156, allocations: 0.56 MB / 1.17 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/1.157, allocations: 39.98 kB / 1.17 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003853/1.161, allocations: 290.5 kB / 1.171 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/1.161, allocations: 119.5 kB / 1.171 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/1.161, allocations: 67.92 kB / 1.171 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004021/1.165, allocations: 1.836 MB / 1.173 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.21e-07/1.165, allocations: 4 kB / 1.173 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006045/1.171, allocations: 1.531 MB / 1.174 GB, free: 13.32 MB / 0.7292 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,17), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01466/1.186, allocations: 4.869 MB / 1.179 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01281/1.199, allocations: 3.687 MB / 1.183 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/1.199, allocations: 5.781 kB / 1.183 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003809/1.203, allocations: 1.07 MB / 1.184 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01115/1.214, allocations: 1.583 MB / 1.185 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08054/1.294, allocations: 27.29 MB / 1.212 GB, free: 4.934 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/1.296, allocations: 1.717 MB / 1.213 GB, free: 3.188 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004124/1.301, allocations: 0.6482 MB / 1.214 GB, free: 2.539 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002202/1.303, allocations: 1.189 MB / 1.215 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of SimCode: time 7.22e-07/1.303, allocations: 0 / 1.215 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1519/1.455, allocations: 98.24 MB / 1.311 GB, free: 124 kB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/1.455, allocations: 303.7 kB / 1.312 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.428/6.883, allocations: 7.312 kB / 1.312 GB, free: 15.74 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)