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.44/1.44, allocations: 252 MB / 267.3 MB, free: 10.83 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.00108/0.001079, allocations: 180.2 kB / 327 MB, free: 2.066 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.917/1.917, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.001019/0.001019, allocations: 94.23 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004039, allocations: 12.33 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2612, allocations: 106.3 MB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1504/0.4117, allocations: 127.9 MB / 1.026 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.05039/0.4621, allocations: 25.09 MB / 1.05 GB, free: 5.801 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008228/0.4704, allocations: 115.2 kB / 1.05 GB, free: 5.688 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.008192/0.4787, allocations: 1.418 MB / 1.052 GB, free: 4.262 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.02048/0.4993, allocations: 4.176 MB / 1.056 GB, free: 76 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.6448/1.144, allocations: 3.154 MB / 1.059 GB, free: 40.33 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.02016/1.164, allocations: 11.34 MB / 1.07 GB, free: 40.33 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007488/1.172, allocations: 2.513 MB / 1.072 GB, free: 40.01 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01047/1.182, allocations: 2.808 MB / 1.075 GB, free: 40 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008421/1.191, allocations: 2.307 MB / 1.077 GB, free: 39.91 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001445/1.192, allocations: 128.9 kB / 1.078 GB, free: 39.91 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0111/1.203, allocations: 2.582 MB / 1.08 GB, free: 39.9 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002133/1.206, allocations: 0.6181 MB / 1.081 GB, free: 39.78 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005516/1.211, allocations: 1.705 MB / 1.082 GB, free: 39.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01514/1.226, allocations: 6.116 MB / 1.088 GB, free: 38.65 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.226, allocations: 4 kB / 1.088 GB, free: 38.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.065e-06/1.226, allocations: 0 / 1.088 GB, free: 38.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002086/1.227, allocations: 0 / 1.088 GB, free: 38.65 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.009724/1.236, allocations: 3.417 MB / 1.092 GB, free: 36.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/1.237, allocations: 9.938 kB / 1.092 GB, free: 36.83 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001147/1.238, allocations: 324.8 kB / 1.092 GB, free: 36.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/1.248, allocations: 1.368 MB / 1.093 GB, free: 36.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007135/1.255, allocations: 2.9 MB / 1.096 GB, free: 35.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003763/1.256, allocations: 254.1 kB / 1.096 GB, free: 35.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008189/1.256, allocations: 236.2 kB / 1.097 GB, free: 35.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/1.267, allocations: 3.182 MB / 1.1 GB, free: 35.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/1.267, allocations: 6.344 kB / 1.1 GB, free: 35.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004019/1.267, allocations: 107.5 kB / 1.1 GB, free: 35.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001822/1.268, allocations: 70 kB / 1.1 GB, free: 35.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/1.279, allocations: 2.828 MB / 1.103 GB, free: 35.29 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.02453/1.304, allocations: 13.58 MB / 1.116 GB, free: 26.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00452/1.308, allocations: 1.435 MB / 1.117 GB, free: 26.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003048/1.311, allocations: 0.888 MB / 1.118 GB, free: 26.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001663/1.313, allocations: 1.795 MB / 1.12 GB, free: 24.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003607/1.317, allocations: 1.13 MB / 1.121 GB, free: 23.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 2.073e-05/1.317, allocations: 0 / 1.121 GB, free: 23.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=132): time 0.03862/1.355, allocations: 9.828 MB / 1.131 GB, free: 19.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001914/1.356, allocations: 0.5806 MB / 1.131 GB, free: 18.44 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004787/1.36, allocations: 2.61 MB / 1.134 GB, free: 17.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004412/1.361, allocations: 63.55 kB / 1.134 GB, free: 17.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/1.362, allocations: 1.348 MB / 1.135 GB, free: 17.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005087/1.362, allocations: 461.9 kB / 1.136 GB, free: 16.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/1.363, allocations: 32.84 kB / 1.136 GB, free: 16.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.363, allocations: 376.4 kB / 1.136 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003426/1.366, allocations: 0.9583 MB / 1.137 GB, free: 16.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003681/1.37, allocations: 1.569 MB / 1.138 GB, free: 14.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006173/1.376, allocations: 2.228 MB / 1.141 GB, free: 13.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/1.376, allocations: 4 kB / 1.141 GB, free: 13.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01276/1.389, allocations: 3.391 MB / 1.144 GB, free: 10.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003163/1.389, allocations: 495.6 kB / 1.144 GB, free: 9.895 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/1.389, allocations: 12.62 kB / 1.144 GB, free: 9.883 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002658/1.392, allocations: 0.891 MB / 1.145 GB, free: 9.148 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/1.395, allocations: 479.3 kB / 1.146 GB, free: 8.715 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/1.397, allocations: 2.198 MB / 1.148 GB, free: 6.918 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005101/1.402, allocations: 399.2 kB / 1.148 GB, free: 6.559 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/1.403, allocations: 107.5 kB / 1.148 GB, free: 6.469 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/1.403, allocations: 8 kB / 1.148 GB, free: 6.461 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01127/1.414, allocations: 3.099 MB / 1.151 GB, free: 4.227 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.367e-05/1.414, allocations: 12 kB / 1.151 GB, free: 4.215 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/1.417, allocations: 0.8815 MB / 1.152 GB, free: 3.488 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00253/1.419, allocations: 472.2 kB / 1.153 GB, free: 3.059 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002825/1.422, allocations: 2.205 MB / 1.155 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004791/1.427, allocations: 363.4 kB / 1.155 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/1.427, allocations: 107.9 kB / 1.155 GB, free: 360 kB / 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 (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.002231/1.43, allocations: 0.7001 MB / 1.156 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/1.431, allocations: 288.5 kB / 1.156 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009071/1.44, allocations: 2.319 MB / 1.159 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.242e-05/1.44, allocations: 19.98 kB / 1.159 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/1.44, allocations: 4 kB / 1.159 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006715/1.447, allocations: 1.93 MB / 1.16 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01795/1.465, allocations: 6.236 MB / 1.167 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.812e-05/1.465, allocations: 8 kB / 1.167 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/1.467, allocations: 294.7 kB / 1.167 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00287/1.47, allocations: 0.7518 MB / 1.168 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/1.47, allocations: 51.94 kB / 1.168 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003029/1.473, allocations: 1.968 MB / 1.17 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.274e-05/1.473, allocations: 18.31 kB / 1.17 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/1.486, allocations: 3.552 MB / 1.173 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002481/1.488, allocations: 0.6417 MB / 1.174 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001411/1.49, allocations: 35.98 kB / 1.174 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004449/1.494, allocations: 283.6 kB / 1.174 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003612/1.494, allocations: 122.7 kB / 1.174 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002717/1.495, allocations: 71.92 kB / 1.174 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005188/1.5, allocations: 1.832 MB / 1.176 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3e-07/1.5, allocations: 0 / 1.176 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.008494/1.508, allocations: 1.523 MB / 1.177 GB, free: 9.52 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.01763/1.526, allocations: 4.883 MB / 1.182 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01395/1.54, allocations: 3.699 MB / 1.186 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.041e-05/1.54, allocations: 0 / 1.186 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004199/1.544, allocations: 1.068 MB / 1.187 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01342/1.558, allocations: 1.589 MB / 1.188 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09223/1.65, allocations: 27.5 MB / 1.215 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002775/1.653, allocations: 1.721 MB / 1.217 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.005069/1.658, allocations: 0.6522 MB / 1.218 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00278/1.661, allocations: 1.186 MB / 1.219 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of SimCode: time 2.544e-06/1.661, allocations: 0 / 1.219 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1835/1.844, allocations: 98.22 MB / 1.315 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003302/1.845, allocations: 307.6 kB / 1.315 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.219/8.064, allocations: 4.594 kB / 1.315 GB, free: 11.66 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)