Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",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.579/1.579, allocations: 252 MB / 267.3 MB, free: 10.84 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.001487/0.001487, allocations: 177.7 kB / 327 MB, free: 2.09 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.968/1.968, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.000872/0.0008718, allocations: 94.28 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 13.94 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2525, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1138/0.3663, allocations: 127.9 MB / 1.026 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04102/0.4074, allocations: 25.1 MB / 1.05 GB, free: 5.902 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006563/0.414, allocations: 119.2 kB / 1.05 GB, free: 5.785 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005897/0.42, allocations: 1.406 MB / 1.052 GB, free: 4.371 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01532/0.4353, allocations: 4.136 MB / 1.056 GB, free: 228 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.5827/1.018, allocations: 3.165 MB / 1.059 GB, free: 40.25 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.02156/1.04, allocations: 11.35 MB / 1.07 GB, free: 40.25 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007312/1.047, allocations: 2.501 MB / 1.072 GB, free: 39.94 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009991/1.057, allocations: 2.798 MB / 1.075 GB, free: 39.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006764/1.064, allocations: 2.296 MB / 1.077 GB, free: 39.83 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001096/1.065, allocations: 128.9 kB / 1.078 GB, free: 39.83 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01019/1.075, allocations: 2.575 MB / 1.08 GB, free: 39.83 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002108/1.077, allocations: 0.6016 MB / 1.081 GB, free: 39.71 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004649/1.082, allocations: 1.705 MB / 1.082 GB, free: 39.17 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01401/1.096, allocations: 6.082 MB / 1.088 GB, free: 38.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.096, allocations: 0 / 1.088 GB, free: 38.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.976e-06/1.096, allocations: 0 / 1.088 GB, free: 38.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001791/1.096, allocations: 0 / 1.088 GB, free: 38.59 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.008429/1.105, allocations: 3.396 MB / 1.092 GB, free: 36.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/1.105, allocations: 11.11 kB / 1.092 GB, free: 36.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008795/1.106, allocations: 329 kB / 1.092 GB, free: 36.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009618/1.115, allocations: 1.365 MB / 1.093 GB, free: 36.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006382/1.122, allocations: 2.892 MB / 1.096 GB, free: 35.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003563/1.122, allocations: 252.8 kB / 1.096 GB, free: 35.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007336/1.123, allocations: 233.3 kB / 1.097 GB, free: 35.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008527/1.131, allocations: 3.143 MB / 1.1 GB, free: 35.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.346e-05/1.132, allocations: 9.906 kB / 1.1 GB, free: 35.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003442/1.132, allocations: 103 kB / 1.1 GB, free: 35.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001669/1.132, allocations: 73.03 kB / 1.1 GB, free: 35.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0096/1.142, allocations: 2.787 MB / 1.102 GB, free: 35.25 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.02053/1.162, allocations: 13.27 MB / 1.115 GB, free: 27.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003835/1.166, allocations: 1.425 MB / 1.117 GB, free: 26.97 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002826/1.169, allocations: 0.9053 MB / 1.118 GB, free: 26.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/1.17, allocations: 1.791 MB / 1.119 GB, free: 24.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003442/1.174, allocations: 1.153 MB / 1.121 GB, free: 24.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 5.771e-06/1.174, allocations: 0 / 1.121 GB, free: 24.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.02097/1.195, allocations: 4.273 MB / 1.125 GB, free: 22.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/1.195, allocations: 0.5779 MB / 1.125 GB, free: 22.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006181/1.201, allocations: 2.506 MB / 1.128 GB, free: 21.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004719/1.202, allocations: 61.39 kB / 1.128 GB, free: 21.49 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/1.203, allocations: 1.333 MB / 1.129 GB, free: 20.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005088/1.204, allocations: 445.9 kB / 1.13 GB, free: 20.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/1.204, allocations: 32.44 kB / 1.13 GB, free: 20.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.204, allocations: 376.2 kB / 1.13 GB, free: 20.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003387/1.207, allocations: 0.9711 MB / 1.131 GB, free: 20.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003872/1.211, allocations: 1.568 MB / 1.132 GB, free: 19.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006632/1.218, allocations: 2.226 MB / 1.135 GB, free: 18.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.236e-05/1.218, allocations: 3.5 kB / 1.135 GB, free: 18.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.0126/1.23, allocations: 3.15 MB / 1.138 GB, free: 16.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003448/1.231, allocations: 477.4 kB / 1.138 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/1.231, allocations: 8 kB / 1.138 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002562/1.233, allocations: 0.6848 MB / 1.139 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/1.236, allocations: 0.501 MB / 1.139 GB, free: 14.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/1.239, allocations: 1.8 MB / 1.141 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005532/1.244, allocations: 0.5121 MB / 1.142 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004718/1.245, allocations: 108 kB / 1.142 GB, free: 12.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.245, allocations: 4 kB / 1.142 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01137/1.256, allocations: 2.854 MB / 1.144 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-05/1.256, allocations: 15.94 kB / 1.144 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002305/1.258, allocations: 0.6803 MB / 1.145 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/1.261, allocations: 0.496 MB / 1.146 GB, free: 9.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/1.264, allocations: 1.799 MB / 1.147 GB, free: 8.125 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005062/1.269, allocations: 464.4 kB / 1.148 GB, free: 7.703 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005071/1.269, allocations: 99.59 kB / 1.148 GB, free: 7.621 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (186): * Single equations (assignments): 183 * 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 {(2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.002387/1.272, allocations: 0.6977 MB / 1.149 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.273, allocations: 272.7 kB / 1.149 GB, free: 6.934 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/1.284, allocations: 2.581 MB / 1.151 GB, free: 4.582 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.582e-05/1.284, allocations: 16.25 kB / 1.151 GB, free: 4.566 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/1.284, allocations: 0 / 1.151 GB, free: 4.566 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009463/1.294, allocations: 2.217 MB / 1.154 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01874/1.313, allocations: 6.459 MB / 1.16 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.978e-05/1.313, allocations: 8.656 kB / 1.16 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/1.314, allocations: 297.5 kB / 1.16 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002462/1.317, allocations: 0.667 MB / 1.161 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/1.317, allocations: 51.89 kB / 1.161 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/1.32, allocations: 1.799 MB / 1.163 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.301e-05/1.32, allocations: 11.47 kB / 1.163 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/1.332, allocations: 3.574 MB / 1.166 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002572/1.335, allocations: 0.6418 MB / 1.167 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.336, allocations: 47.97 kB / 1.167 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004033/1.34, allocations: 275.5 kB / 1.167 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000299/1.341, allocations: 119.8 kB / 1.167 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002374/1.341, allocations: 71.59 kB / 1.167 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004784/1.346, allocations: 1.755 MB / 1.169 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.61e-07/1.346, allocations: 0 / 1.169 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007583/1.353, allocations: 1.715 MB / 1.171 GB, free: 0.6836 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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 (88): * Single equations (assignments): 82 * 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), (2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01561/1.369, allocations: 4.882 MB / 1.175 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01325/1.382, allocations: 3.612 MB / 1.179 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.96e-05/1.382, allocations: 6.969 kB / 1.179 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00386/1.386, allocations: 1.052 MB / 1.18 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01214/1.398, allocations: 1.436 MB / 1.181 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08309/1.481, allocations: 26.29 MB / 1.207 GB, free: 9.539 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/1.484, allocations: 1.707 MB / 1.209 GB, free: 7.801 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004338/1.488, allocations: 0.681 MB / 1.209 GB, free: 7.129 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00211/1.49, allocations: 1.159 MB / 1.21 GB, free: 5.969 MB / 0.7605 GB Notification: Performance of SimCode: time 1.222e-06/1.49, allocations: 0 / 1.21 GB, free: 5.969 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1515/1.642, allocations: 90.46 MB / 1.299 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/1.642, allocations: 315.1 kB / 1.299 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.131/7.774, allocations: 0 / 1.299 GB, free: 12.17 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)