Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_9_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.0009382/0.0009382, allocations: 91.84 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.00739/0.00739, allocations: 169.9 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.162/1.162, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002993, allocations: 12.28 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5706/0.5709, allocations: 142.4 MB / 0.9552 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.0578/0.6288, allocations: 68.29 MB / 1.022 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.647, allocations: 14.52 MB / 1.036 GB, free: 12.29 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/0.6488, allocations: 67.56 kB / 1.036 GB, free: 12.22 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.6505, allocations: 0.742 MB / 1.037 GB, free: 11.48 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005172/0.6557, allocations: 2.366 MB / 1.039 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.6596, allocations: 1.796 MB / 1.041 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005448/0.665, allocations: 5.945 MB / 1.047 GB, free: 1.363 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.6666, allocations: 1.297 MB / 1.048 GB, free: 36 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.6688, allocations: 1.447 MB / 1.049 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.6701, allocations: 1.205 MB / 1.051 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.6702, allocations: 68 kB / 1.051 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/0.6733, allocations: 1.74 MB / 1.052 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.6736, allocations: 338.4 kB / 1.053 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0008173/0.6745, allocations: 0.9112 MB / 1.054 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003364/0.6778, allocations: 3.373 MB / 1.057 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.6778, allocations: 0 / 1.057 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6779, allocations: 0 / 1.057 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.6779, allocations: 0 / 1.057 GB, free: 6.926 MB / 0.8106 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.00323/0.6811, allocations: 1.994 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.6812, allocations: 8.031 kB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002145/0.6814, allocations: 181.6 kB / 1.059 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004764/0.6861, allocations: 0.7008 MB / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/0.6882, allocations: 1.565 MB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.6884, allocations: 128 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.6886, allocations: 124 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/0.6921, allocations: 1.66 MB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.6921, allocations: 3.938 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.6923, allocations: 56 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.6923, allocations: 35.94 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004405/0.6967, allocations: 1.499 MB / 1.065 GB, free: 14.73 MB / 0.8262 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.008878/0.7056, allocations: 6.993 MB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.7079, allocations: 0.7832 MB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.7095, allocations: 0.5099 MB / 1.073 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/0.7106, allocations: 1.267 MB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001851/0.7125, allocations: 0.6636 MB / 1.075 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=69): time 2.565e-06/0.7125, allocations: 0 / 1.075 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=69): time 0.009951/0.7225, allocations: 2.185 MB / 1.077 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.7226, allocations: 329 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.7245, allocations: 1.387 MB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.7246, allocations: 45.7 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005506/0.7252, allocations: 0.6958 MB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.7254, allocations: 248.6 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.7255, allocations: 81.67 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.7257, allocations: 345.9 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.7276, allocations: 0.525 MB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.7297, allocations: 0.8296 MB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003547/0.7332, allocations: 1.22 MB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7332, allocations: 0 / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006125/0.7394, allocations: 1.697 MB / 1.084 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.7396, allocations: 303.8 kB / 1.084 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7396, allocations: 4 kB / 1.084 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.7409, allocations: 380.6 kB / 1.085 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.7423, allocations: 279.5 kB / 1.085 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.7434, allocations: 0.9074 MB / 1.086 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.7457, allocations: 286.5 kB / 1.086 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.7458, allocations: 59.94 kB / 1.086 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.7458, allocations: 4 kB / 1.086 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00584/0.7517, allocations: 1.536 MB / 1.088 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.7517, allocations: 8.5 kB / 1.088 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.7529, allocations: 363.8 kB / 1.088 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.7543, allocations: 275.8 kB / 1.088 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.7553, allocations: 0.9085 MB / 1.089 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.7574, allocations: 259.8 kB / 1.089 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-05/0.7575, allocations: 51.95 kB / 1.089 GB, free: 4.172 MB / 0.8419 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.0006675/0.7581, allocations: 467.9 kB / 1.09 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.7584, allocations: 146.2 kB / 1.09 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003909/0.7623, allocations: 1.28 MB / 1.091 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.7623, allocations: 8 kB / 1.091 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.7623, allocations: 3.938 kB / 1.091 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003359/0.7657, allocations: 1.084 MB / 1.092 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006574/0.7723, allocations: 3.338 MB / 1.096 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.7723, allocations: 7.984 kB / 1.096 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009528/0.7732, allocations: 167.6 kB / 1.096 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.7744, allocations: 365.6 kB / 1.096 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.7745, allocations: 31.95 kB / 1.096 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.7756, allocations: 0.9036 MB / 1.097 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.7756, allocations: 4 kB / 1.097 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005435/0.7811, allocations: 1.965 MB / 1.099 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005716/0.7816, allocations: 394.8 kB / 1.099 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/0.7819, allocations: 24 kB / 1.099 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/0.7836, allocations: 163.8 kB / 1.099 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.7837, allocations: 68.23 kB / 1.099 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.841e-05/0.7838, allocations: 39.95 kB / 1.1 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001492/0.7853, allocations: 0.994 MB / 1.1 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7853, allocations: 0 / 1.1 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0022/0.7875, allocations: 0.9083 MB / 1.101 GB, free: 7.547 MB / 0.8575 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.00665/0.7942, allocations: 2.959 MB / 1.104 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006197/0.8004, allocations: 2.023 MB / 1.106 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8004, allocations: 3.859 kB / 1.106 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.8023, allocations: 0.576 MB / 1.107 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004372/0.8066, allocations: 0.8043 MB / 1.108 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03084/0.8375, allocations: 13.81 MB / 1.121 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008176/0.8384, allocations: 1.223 MB / 1.122 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00182/0.8402, allocations: 377 kB / 1.123 GB, free: 1.027 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008835/0.8411, allocations: 0.5891 MB / 1.123 GB, free: 448 kB / 0.8731 GB Notification: Performance of SimCode: time 6.61e-07/0.8411, allocations: 0 / 1.123 GB, free: 448 kB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.321/2.162, allocations: 50.69 MB / 1.173 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/2.162, allocations: 309.2 kB / 1.173 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.075/6.237, allocations: 0 / 1.173 GB, free: 13.99 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)