Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_Static,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.0009827/0.0009827, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007499/0.007499, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.256/1.256, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.444/2.444, allocations: 462.7 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002865, allocations: 14.81 kB / 0.9029 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2321, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05664/0.2888, allocations: 68.24 MB / 1.125 GB, free: 384 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01661/0.3054, allocations: 14.49 MB / 1.14 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.3071, allocations: 63.56 kB / 1.14 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.3089, allocations: 0.7537 MB / 1.14 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004944/0.3139, allocations: 2.351 MB / 1.143 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003553/0.3174, allocations: 1.773 MB / 1.144 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005164/0.3226, allocations: 5.864 MB / 1.15 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.3241, allocations: 1.293 MB / 1.151 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.3263, allocations: 1.427 MB / 1.153 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.3274, allocations: 1.178 MB / 1.154 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.3275, allocations: 68 kB / 1.154 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00275/0.3303, allocations: 1.739 MB / 1.156 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.3306, allocations: 334.4 kB / 1.156 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007197/0.3313, allocations: 0.8918 MB / 1.157 GB, free: 48 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00306/0.3344, allocations: 3.33 MB / 1.16 GB, free: 12.71 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3344, allocations: 0 / 1.16 GB, free: 12.71 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3344, allocations: 0 / 1.16 GB, free: 12.71 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.3344, allocations: 0 / 1.16 GB, free: 12.71 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.002954/0.3374, allocations: 1.948 MB / 1.162 GB, free: 10.69 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3374, allocations: 15.95 kB / 1.162 GB, free: 10.68 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002002/0.3376, allocations: 177.5 kB / 1.162 GB, free: 10.49 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004455/0.3421, allocations: 0.6933 MB / 1.163 GB, free: 9.797 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.344, allocations: 1.549 MB / 1.164 GB, free: 8.191 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.3442, allocations: 128 kB / 1.165 GB, free: 8.059 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.3443, allocations: 120 kB / 1.165 GB, free: 7.941 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003262/0.3476, allocations: 1.638 MB / 1.166 GB, free: 6.207 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.3477, allocations: 3.938 kB / 1.166 GB, free: 6.203 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.3478, allocations: 60 kB / 1.166 GB, free: 6.145 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/0.3478, allocations: 39.92 kB / 1.166 GB, free: 6.105 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004121/0.352, allocations: 1.468 MB / 1.168 GB, free: 4.629 MB / 0.92 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.008019/0.36, allocations: 7.214 MB / 1.175 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.3621, allocations: 0.8194 MB / 1.176 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.3635, allocations: 0.4995 MB / 1.176 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.3647, allocations: 1.271 MB / 1.177 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.3647, allocations: 43.06 kB / 1.177 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=68): time 2.014e-06/0.3647, allocations: 0 / 1.177 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=68): time 0.008848/0.3736, allocations: 2.252 MB / 1.18 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.3736, allocations: 107.4 kB / 1.18 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.3753, allocations: 1.371 MB / 1.181 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.3754, allocations: 45.7 kB / 1.181 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004767/0.3759, allocations: 0.6881 MB / 1.182 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.3761, allocations: 240.6 kB / 1.182 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3762, allocations: 73.67 kB / 1.182 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.3763, allocations: 337.9 kB / 1.182 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.378, allocations: 0.5015 MB / 1.183 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.3798, allocations: 0.7668 MB / 1.184 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.383, allocations: 1.148 MB / 1.185 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.383, allocations: 0 / 1.185 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004139/0.3872, allocations: 1.562 MB / 1.186 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.3873, allocations: 281 kB / 1.187 GB, free: 372 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3873, allocations: 8 kB / 1.187 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.3887, allocations: 462.7 kB / 1.187 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.3899, allocations: 259.6 kB / 1.187 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.3913, allocations: 1.075 MB / 1.188 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.3931, allocations: 270.6 kB / 1.189 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.109e-05/0.3932, allocations: 51.95 kB / 1.189 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.351e-06/0.3933, allocations: 5.406 kB / 1.189 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003976/0.3972, allocations: 1.402 MB / 1.19 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3973, allocations: 8 kB / 1.19 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.3985, allocations: 454.3 kB / 1.19 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.3998, allocations: 263.5 kB / 1.191 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.401, allocations: 1.08 MB / 1.192 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.4027, allocations: 242.8 kB / 1.192 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.46e-05/0.4028, allocations: 59.94 kB / 1.192 GB, free: 10.71 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * 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 {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0004963/0.4033, allocations: 444.9 kB / 1.192 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.4035, allocations: 142.5 kB / 1.193 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/0.4072, allocations: 1.329 MB / 1.194 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.4072, allocations: 15.97 kB / 1.194 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4072, allocations: 3.938 kB / 1.194 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003175/0.4104, allocations: 1.139 MB / 1.195 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006369/0.4168, allocations: 3.43 MB / 1.198 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.4168, allocations: 8 kB / 1.198 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/0.4176, allocations: 156 kB / 1.198 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.4189, allocations: 448.7 kB / 1.199 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/0.419, allocations: 23.97 kB / 1.199 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.4203, allocations: 1.075 MB / 1.2 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4203, allocations: 8 kB / 1.2 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003465/0.4238, allocations: 1.397 MB / 1.201 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000462/0.4242, allocations: 390.9 kB / 1.202 GB, free: 356 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.4244, allocations: 19.98 kB / 1.202 GB, free: 336 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.4259, allocations: 155.8 kB / 1.202 GB, free: 180 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/0.4261, allocations: 60.25 kB / 1.202 GB, free: 120 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/0.4261, allocations: 39.95 kB / 1.202 GB, free: 80 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001277/0.4274, allocations: 0.9654 MB / 1.203 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4274, allocations: 0 / 1.203 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001821/0.4293, allocations: 0.8889 MB / 1.204 GB, free: 14.22 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004535/0.4338, allocations: 2.389 MB / 1.206 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005665/0.4395, allocations: 1.861 MB / 1.208 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4395, allocations: 0 / 1.208 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.4412, allocations: 0.5374 MB / 1.208 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004099/0.4453, allocations: 0.8013 MB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02603/0.4713, allocations: 13.14 MB / 1.222 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007049/0.4721, allocations: 1.208 MB / 1.223 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001395/0.4735, allocations: 344.9 kB / 1.224 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007454/0.4742, allocations: 0.5695 MB / 1.224 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.4742, allocations: 0 / 1.224 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.148/2.622, allocations: 49.79 MB / 1.273 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/2.622, allocations: 304.7 kB / 1.273 GB, free: 174 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.428/6.05, allocations: 0 / 1.273 GB, free: 174 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)