Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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_VariableSpeed,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",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.445/1.445, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001081/0.001081, allocations: 180.6 kB / 326.5 MB, free: 2.23 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.819/1.819, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009066/0.0009062, allocations: 88.17 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003514, allocations: 14.3 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.248, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.04749/0.2956, allocations: 58.56 MB / 0.9573 GB, free: 5.113 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01956/0.3152, allocations: 12.45 MB / 0.9695 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/0.3183, allocations: 59.56 kB / 0.9695 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.3218, allocations: 0.785 MB / 0.9703 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.332, allocations: 2.183 MB / 0.9724 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006778/0.3388, allocations: 1.907 MB / 0.9743 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006288/0.3451, allocations: 2.656 MB / 0.9769 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002285/0.3474, allocations: 1.164 MB / 0.978 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003615/0.351, allocations: 1.261 MB / 0.9793 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.353, allocations: 0.8244 MB / 0.9801 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002662/0.3532, allocations: 68 kB / 0.9801 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/0.3568, allocations: 1.276 MB / 0.9814 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00041/0.3573, allocations: 306.8 kB / 0.9817 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008162/0.3581, allocations: 400.8 kB / 0.9821 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004283/0.3624, allocations: 2.498 MB / 0.9845 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3624, allocations: 0 / 0.9845 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3624, allocations: 0 / 0.9845 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.04e-05/0.3625, allocations: 0 / 0.9845 GB, free: 9.234 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004219/0.3667, allocations: 1.997 MB / 0.9864 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.3668, allocations: 8.031 kB / 0.9865 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002816/0.3671, allocations: 181.3 kB / 0.9866 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005052/0.3721, allocations: 0.6925 MB / 0.9873 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003711/0.3759, allocations: 1.437 MB / 0.9887 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.3761, allocations: 128 kB / 0.9888 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002275/0.3763, allocations: 124 kB / 0.9889 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003866/0.3802, allocations: 1.632 MB / 0.9905 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.3802, allocations: 0 / 0.9905 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.3804, allocations: 48 kB / 0.9906 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/0.3804, allocations: 39.92 kB / 0.9906 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00456/0.385, allocations: 1.496 MB / 0.9921 GB, free: 1.215 MB / 0.6355 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.01116/0.3962, allocations: 7.008 MB / 0.9989 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.3986, allocations: 0.7875 MB / 0.9997 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/0.4, allocations: 1.267 MB / 1.001 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00193/0.4019, allocations: 0.6597 MB / 1.002 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 3.576e-06/0.402, allocations: 0 / 1.002 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.01006/0.412, allocations: 2.151 MB / 1.004 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.4122, allocations: 332.9 kB / 1.004 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.4144, allocations: 1.418 MB / 1.005 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.4146, allocations: 45.7 kB / 1.005 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006481/0.4152, allocations: 0.6997 MB / 1.006 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.4155, allocations: 236.7 kB / 1.006 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.4156, allocations: 16 kB / 1.006 GB, free: 1.809 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4157, allocations: 349.9 kB / 1.007 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.4175, allocations: 0.5211 MB / 1.007 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.4196, allocations: 0.8286 MB / 1.008 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.4216, allocations: 0.6099 MB / 1.009 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.4216, allocations: 0 / 1.009 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007285/0.4289, allocations: 1.837 MB / 1.01 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001203/0.4301, allocations: 2.51 MB / 1.013 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.4302, allocations: 8 kB / 1.013 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.4316, allocations: 353.9 kB / 1.013 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.433, allocations: 279.5 kB / 1.013 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.4344, allocations: 0.9097 MB / 1.014 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/0.4371, allocations: 298.4 kB / 1.015 GB, free: 9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.4372, allocations: 51.95 kB / 1.015 GB, free: 8.949 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.4372, allocations: 4 kB / 1.015 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006946/0.4442, allocations: 1.684 MB / 1.016 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.4442, allocations: 7.953 kB / 1.016 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.4454, allocations: 347 kB / 1.017 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.4468, allocations: 275.5 kB / 1.017 GB, free: 6.637 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.448, allocations: 0.9077 MB / 1.018 GB, free: 5.707 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/0.4505, allocations: 276.8 kB / 1.018 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.4506, allocations: 55.95 kB / 1.018 GB, free: 5.383 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0011/0.4517, allocations: 456.8 kB / 1.019 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/0.452, allocations: 150.2 kB / 1.019 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.456, allocations: 1.271 MB / 1.02 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.456, allocations: 11.98 kB / 1.02 GB, free: 3.477 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.4561, allocations: 8 kB / 1.02 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004896/0.461, allocations: 1.072 MB / 1.021 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009756/0.4707, allocations: 3.334 MB / 1.024 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.4708, allocations: 4 kB / 1.024 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/0.4723, allocations: 172 kB / 1.024 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.474, allocations: 342.7 kB / 1.025 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.4742, allocations: 31.92 kB / 1.025 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/0.4759, allocations: 0.8906 MB / 1.026 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.4759, allocations: 4 kB / 1.026 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008825/0.4848, allocations: 2.253 MB / 1.028 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/0.4864, allocations: 402.9 kB / 1.028 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.4867, allocations: 20.06 kB / 1.028 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002576/0.4892, allocations: 166.8 kB / 1.028 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/0.4895, allocations: 64.25 kB / 1.028 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/0.4896, allocations: 43.95 kB / 1.029 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002535/0.4922, allocations: 1.017 MB / 1.03 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4922, allocations: 0 / 1.03 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003166/0.4954, allocations: 0.9554 MB / 1.03 GB, free: 8.262 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01036/0.5057, allocations: 4.457 MB / 1.035 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009164/0.515, allocations: 2.019 MB / 1.037 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/0.515, allocations: 0 / 1.037 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002674/0.5177, allocations: 0.5639 MB / 1.037 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005814/0.5236, allocations: 0.7834 MB / 1.038 GB, free: 300 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.5391, allocations: 8.275 MB / 1.046 GB, free: 7.785 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.5407, allocations: 1.246 MB / 1.047 GB, free: 6.508 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003358/0.5441, allocations: 375.3 kB / 1.048 GB, free: 6.145 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/0.5456, allocations: 0.5734 MB / 1.048 GB, free: 5.57 MB / 0.698 GB Notification: Performance of SimCode: time 1.333e-06/0.5456, allocations: 4 kB / 1.048 GB, free: 5.566 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5665/1.112, allocations: 49.85 MB / 1.097 GB, free: 122.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/1.112, allocations: 290.9 kB / 1.097 GB, free: 121.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.567/4.679, allocations: 0 / 1.097 GB, free: 121.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)