Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009351/0.0009349, allocations: 91.45 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005665/0.005666, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.499/2.499, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003197, allocations: 8 kB / 0.8729 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5856/0.5859, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.07177/0.6577, allocations: 68.3 MB / 1.09 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02126/0.679, allocations: 14.53 MB / 1.104 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.6816, allocations: 63.56 kB / 1.104 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.6841, allocations: 0.7576 MB / 1.105 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007726/0.6918, allocations: 2.362 MB / 1.107 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004993/0.6968, allocations: 1.788 MB / 1.109 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007684/0.7045, allocations: 5.941 MB / 1.115 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002455/0.707, allocations: 1.293 MB / 1.116 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.7103, allocations: 1.446 MB / 1.117 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.7125, allocations: 1.209 MB / 1.119 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003834/0.7129, allocations: 75.98 kB / 1.119 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003966/0.7168, allocations: 1.735 MB / 1.12 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005795/0.7174, allocations: 326.5 kB / 1.121 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.7188, allocations: 0.9189 MB / 1.121 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005075/0.7239, allocations: 3.369 MB / 1.125 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.7239, allocations: 4 kB / 1.125 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7239, allocations: 0 / 1.125 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.121e-05/0.724, allocations: 0 / 1.125 GB, free: 7.379 MB / 0.8731 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.004514/0.7285, allocations: 1.997 MB / 1.127 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.7285, allocations: 12.03 kB / 1.127 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003539/0.7289, allocations: 181.6 kB / 1.127 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00513/0.734, allocations: 0.6973 MB / 1.128 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/0.7372, allocations: 1.565 MB / 1.129 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.7373, allocations: 132 kB / 1.129 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000311/0.7376, allocations: 120 kB / 1.129 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004253/0.7419, allocations: 1.668 MB / 1.131 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.742, allocations: 0 / 1.131 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.7421, allocations: 48 kB / 1.131 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-05/0.7422, allocations: 35.98 kB / 1.131 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00521/0.7474, allocations: 1.499 MB / 1.133 GB, free: 15.19 MB / 0.8887 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.01133/0.7587, allocations: 7 MB / 1.139 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00256/0.7613, allocations: 0.7902 MB / 1.14 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.7629, allocations: 0.5061 MB / 1.141 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/0.7643, allocations: 1.274 MB / 1.142 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001974/0.7663, allocations: 0.6687 MB / 1.143 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=69): time 2.805e-06/0.7663, allocations: 0 / 1.143 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of matching and sorting (n=69): time 0.01033/0.7767, allocations: 2.177 MB / 1.145 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.7768, allocations: 321 kB / 1.145 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.7791, allocations: 1.391 MB / 1.146 GB, free: 292 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.7792, allocations: 45.7 kB / 1.146 GB, free: 240 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007078/0.7799, allocations: 0.7036 MB / 1.147 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.7802, allocations: 240.5 kB / 1.147 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.7803, allocations: 77.67 kB / 1.147 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.7805, allocations: 353.9 kB / 1.148 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001953/0.7824, allocations: 0.525 MB / 1.148 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/0.7847, allocations: 0.8335 MB / 1.149 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003689/0.7884, allocations: 1.212 MB / 1.15 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.7884, allocations: 7.984 kB / 1.15 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006382/0.7948, allocations: 1.684 MB / 1.152 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002048/0.795, allocations: 306.8 kB / 1.152 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.795, allocations: 8 kB / 1.152 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.7964, allocations: 383.9 kB / 1.153 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.7979, allocations: 279.5 kB / 1.153 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.7991, allocations: 0.9054 MB / 1.154 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.8016, allocations: 282.6 kB / 1.154 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.8017, allocations: 55.94 kB / 1.154 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.8017, allocations: 4 kB / 1.154 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006118/0.8078, allocations: 1.544 MB / 1.156 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.8078, allocations: 4 kB / 1.156 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.8091, allocations: 375 kB / 1.156 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.8105, allocations: 275.5 kB / 1.156 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.8116, allocations: 0.9052 MB / 1.157 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.8138, allocations: 255.6 kB / 1.157 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.814, allocations: 59.95 kB / 1.157 GB, free: 4.609 MB / 0.9044 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 (N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,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 (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000891/0.8149, allocations: 463.6 kB / 1.158 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004391/0.8153, allocations: 146.2 kB / 1.158 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/0.8196, allocations: 1.27 MB / 1.159 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.8197, allocations: 8 kB / 1.159 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.8197, allocations: 4 kB / 1.159 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003535/0.8232, allocations: 1.088 MB / 1.16 GB, free: 1.582 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007835/0.8311, allocations: 3.326 MB / 1.163 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.8311, allocations: 4 kB / 1.163 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009742/0.8321, allocations: 176.1 kB / 1.164 GB, free: 13.95 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001248/0.8333, allocations: 363.8 kB / 1.164 GB, free: 13.6 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/0.8334, allocations: 35.91 kB / 1.164 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.8346, allocations: 0.8958 MB / 1.165 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.8346, allocations: 7.938 kB / 1.165 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005759/0.8403, allocations: 1.969 MB / 1.167 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007903/0.8411, allocations: 406.9 kB / 1.167 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.8414, allocations: 19.98 kB / 1.167 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/0.8431, allocations: 155.9 kB / 1.167 GB, free: 10 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.8432, allocations: 68.36 kB / 1.167 GB, free: 9.934 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-05/0.8433, allocations: 47.95 kB / 1.167 GB, free: 9.887 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001577/0.8449, allocations: 0.9901 MB / 1.168 GB, free: 8.898 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8449, allocations: 4 kB / 1.168 GB, free: 8.895 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002629/0.8476, allocations: 0.9084 MB / 1.169 GB, free: 7.984 MB / 0.92 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007146/0.8547, allocations: 2.95 MB / 1.172 GB, free: 4.961 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006562/0.8613, allocations: 2.015 MB / 1.174 GB, free: 2.922 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.8613, allocations: 4 kB / 1.174 GB, free: 2.918 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.8633, allocations: 0.5798 MB / 1.175 GB, free: 2.34 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004743/0.868, allocations: 0.8013 MB / 1.176 GB, free: 1.547 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03259/0.9006, allocations: 13.81 MB / 1.189 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009209/0.9016, allocations: 1.219 MB / 1.19 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001884/0.9035, allocations: 383.1 kB / 1.191 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008594/0.9044, allocations: 0.5851 MB / 1.191 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of SimCode: time 8.22e-07/0.9044, allocations: 0 / 1.191 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07894/0.9833, allocations: 50.69 MB / 1.241 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.9836, allocations: 307.2 kB / 1.241 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.171/4.155, allocations: 0 / 1.241 GB, free: 14.52 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)