Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009656/0.0009657, allocations: 97.72 kB / 15.36 MB, free: 0.7305 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.001263/0.001263, allocations: 174.6 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005464/0.0005464, allocations: 14.97 kB / 0.6743 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2615, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.07351/0.3351, allocations: 68.28 MB / 0.8545 GB, free: 7.062 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02324/0.3583, allocations: 14.41 MB / 0.8686 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003461/0.3619, allocations: 67.5 kB / 0.8687 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003159/0.365, allocations: 0.7498 MB / 0.8694 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008497/0.3736, allocations: 2.349 MB / 0.8717 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005341/0.3789, allocations: 1.801 MB / 0.8735 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007894/0.3868, allocations: 5.907 MB / 0.8792 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002822/0.3897, allocations: 1.277 MB / 0.8805 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003674/0.3934, allocations: 1.45 MB / 0.8819 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.3959, allocations: 1.209 MB / 0.8831 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005086/0.3964, allocations: 72 kB / 0.8831 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004327/0.4007, allocations: 1.731 MB / 0.8848 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006331/0.4014, allocations: 338.4 kB / 0.8852 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.403, allocations: 0.9073 MB / 0.886 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005739/0.4088, allocations: 3.369 MB / 0.8893 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4088, allocations: 0 / 0.8893 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4088, allocations: 0 / 0.8893 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.072e-05/0.4089, allocations: 0 / 0.8893 GB, free: 3.32 MB / 0.7012 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.004761/0.4137, allocations: 2.001 MB / 0.8913 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4137, allocations: 8.031 kB / 0.8913 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007299/0.421, allocations: 0.697 MB / 0.892 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0045/0.4256, allocations: 1.544 MB / 0.8935 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/0.4259, allocations: 132 kB / 0.8936 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004724/0.4263, allocations: 124 kB / 0.8937 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006093/0.4325, allocations: 1.66 MB / 0.8954 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-05/0.4326, allocations: 3.938 kB / 0.8954 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002814/0.4328, allocations: 52 kB / 0.8954 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-05/0.4329, allocations: 32 kB / 0.8954 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006805/0.4398, allocations: 1.507 MB / 0.8969 GB, free: 11.33 MB / 0.7169 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.01451/0.4543, allocations: 6.997 MB / 0.9037 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.4576, allocations: 0.7946 MB / 0.9045 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/0.46, allocations: 0.5061 MB / 0.905 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/0.4618, allocations: 1.271 MB / 0.9063 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002737/0.4646, allocations: 0.6675 MB / 0.9069 GB, free: 428 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=69): time 4.579e-06/0.4646, allocations: 0 / 0.9069 GB, free: 428 kB / 0.7169 GB Notification: Performance of matching and sorting (n=69): time 0.01229/0.4769, allocations: 2.177 MB / 0.909 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001789/0.4772, allocations: 320.9 kB / 0.9093 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/0.4799, allocations: 1.383 MB / 0.9107 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001955/0.4801, allocations: 49.69 kB / 0.9107 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007/0.4808, allocations: 0.6957 MB / 0.9114 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.4811, allocations: 244.7 kB / 0.9116 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.4813, allocations: 77.67 kB / 0.9117 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4815, allocations: 345.9 kB / 0.9121 GB, free: 11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.4835, allocations: 0.525 MB / 0.9126 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.4858, allocations: 0.8403 MB / 0.9134 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003827/0.4896, allocations: 1.212 MB / 0.9146 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.4896, allocations: 7.938 kB / 0.9146 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00664/0.4963, allocations: 1.689 MB / 0.9162 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001951/0.4965, allocations: 314.7 kB / 0.9165 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.4965, allocations: 8 kB / 0.9165 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/0.4979, allocations: 366.6 kB / 0.9169 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.4994, allocations: 283.5 kB / 0.9172 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.5006, allocations: 0.9075 MB / 0.918 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/0.5034, allocations: 286.5 kB / 0.9183 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/0.5035, allocations: 55.95 kB / 0.9184 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.5036, allocations: 4 kB / 0.9184 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006158/0.5097, allocations: 1.544 MB / 0.9199 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.5098, allocations: 8 kB / 0.9199 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.5112, allocations: 368.2 kB / 0.9202 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.5128, allocations: 279.5 kB / 0.9205 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.514, allocations: 0.8982 MB / 0.9214 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002585/0.5166, allocations: 262.8 kB / 0.9216 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.5169, allocations: 55.95 kB / 0.9217 GB, free: 0.7461 MB / 0.7325 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.001089/0.518, allocations: 464.8 kB / 0.9221 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00045/0.5184, allocations: 146.2 kB / 0.9223 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4374/0.9558, allocations: 1.267 MB / 0.9235 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.549e-05/0.9559, allocations: 9.078 kB / 0.9235 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.9559, allocations: 5.25 kB / 0.9235 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003799/0.9597, allocations: 1.089 MB / 0.9246 GB, free: 132.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00765/0.9674, allocations: 3.327 MB / 0.9278 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.9674, allocations: 5.094 kB / 0.9278 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.9685, allocations: 174.2 kB / 0.928 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/0.9698, allocations: 361.6 kB / 0.9283 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.733e-05/0.9699, allocations: 31.27 kB / 0.9284 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.9709, allocations: 0.9079 MB / 0.9293 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.361e-06/0.9709, allocations: 8.609 kB / 0.9293 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005774/0.9767, allocations: 1.964 MB / 0.9312 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009503/0.9777, allocations: 397.7 kB / 0.9316 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.9779, allocations: 23.31 kB / 0.9316 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/0.9797, allocations: 164.2 kB / 0.9317 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.9799, allocations: 68.77 kB / 0.9318 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-05/0.98, allocations: 39.83 kB / 0.9319 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001703/0.9817, allocations: 0.9893 MB / 0.9328 GB, free: 129.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9817, allocations: 0 / 0.9328 GB, free: 129.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002477/0.9842, allocations: 0.901 MB / 0.9337 GB, free: 129.7 MB / 0.7325 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.001229/0.9855, allocations: 0.5317 MB / 0.9342 GB, free: 129.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006676/0.9922, allocations: 2.023 MB / 0.9362 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.9922, allocations: 2.281 kB / 0.9362 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001996/0.9942, allocations: 0.5728 MB / 0.9368 GB, free: 128.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005493/0.9997, allocations: 0.8221 MB / 0.9376 GB, free: 128.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006611/1.006, allocations: 3.302 MB / 0.9408 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.007, allocations: 1.219 MB / 0.942 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002552/1.01, allocations: 375.2 kB / 0.9423 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005314/1.01, allocations: 134.2 kB / 0.9425 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.102e-06/1.011, allocations: 0 / 0.9425 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.0639/1.074, allocations: 38.32 MB / 0.9799 GB, free: 101.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: