Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.00119, allocations: 104.8 kB / 16.27 MB, free: 5.977 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.001224/0.001224, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.469/1.469, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.829/1.829, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.00166/0.00166, allocations: 71.03 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2653, allocations: 114.5 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.5902/0.8556, allocations: 69.91 MB / 0.8523 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02651/0.8822, allocations: 14.39 MB / 0.8663 GB, free: 8.551 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005063/0.8873, allocations: 67.72 kB / 0.8664 GB, free: 8.527 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003895/0.8913, allocations: 0.9156 MB / 0.8673 GB, free: 7.961 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01117/0.9025, allocations: 2.533 MB / 0.8698 GB, free: 6.445 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007633/0.9101, allocations: 1.963 MB / 0.8717 GB, free: 5.363 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0106/0.9207, allocations: 4.575 MB / 0.8762 GB, free: 2.949 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003687/0.9245, allocations: 1.607 MB / 0.8777 GB, free: 1.945 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005813/0.9303, allocations: 1.768 MB / 0.8795 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003656/0.934, allocations: 1.264 MB / 0.8807 GB, free: 108 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006875/0.9347, allocations: 196.4 kB / 0.8809 GB, free: 108 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006861/0.9416, allocations: 1.904 MB / 0.8827 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008677/0.9425, allocations: 464.2 kB / 0.8832 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002525/0.945, allocations: 1.017 MB / 0.8842 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009075/0.9541, allocations: 3.488 MB / 0.8876 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.9542, allocations: 5.094 kB / 0.8876 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9542, allocations: 0 / 0.8876 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.711e-05/0.9543, allocations: 0 / 0.8876 GB, free: 11.71 MB / 0.6856 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.006446/0.9607, allocations: 2.295 MB / 0.8898 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.9608, allocations: 10 kB / 0.8898 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005426/0.9662, allocations: 0.6534 MB / 0.8905 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003435/0.9697, allocations: 1.491 MB / 0.8919 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.9699, allocations: 128.3 kB / 0.892 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/0.9701, allocations: 115.8 kB / 0.8922 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004332/0.9744, allocations: 1.625 MB / 0.8937 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.9745, allocations: 1.75 kB / 0.8937 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.9747, allocations: 53.72 kB / 0.8938 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.616e-05/0.9747, allocations: 39.8 kB / 0.8938 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004989/0.9797, allocations: 1.422 MB / 0.8952 GB, free: 6.523 MB / 0.6856 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.01268/0.9924, allocations: 7.218 MB / 0.9023 GB, free: 244 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.995, allocations: 0.7903 MB / 0.903 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.9966, allocations: 486.9 kB / 0.9035 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/0.998, allocations: 1.27 MB / 0.9047 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.9981, allocations: 44.44 kB / 0.9048 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=68): time 3.396e-06/0.9981, allocations: 0 / 0.9048 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=68): time 0.01029/1.008, allocations: 2.115 MB / 0.9069 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.112e-05/1.009, allocations: 112.6 kB / 0.907 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00252/1.011, allocations: 1.378 MB / 0.9083 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001906/1.011, allocations: 45.7 kB / 0.9084 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007277/1.012, allocations: 0.6802 MB / 0.909 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/1.012, allocations: 232.7 kB / 0.9092 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004521/1.013, allocations: 230.3 kB / 0.9095 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002002/1.013, allocations: 333.9 kB / 0.9098 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001849/1.015, allocations: 488.5 kB / 0.9102 GB, free: 8.691 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/1.017, allocations: 0.7509 MB / 0.911 GB, free: 7.828 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003577/1.021, allocations: 1.097 MB / 0.912 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.021, allocations: 0 / 0.912 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005099/1.026, allocations: 1.507 MB / 0.9135 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/1.026, allocations: 9.25 kB / 0.9135 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/1.026, allocations: 9.031 kB / 0.9135 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/1.027, allocations: 455 kB / 0.914 GB, free: 4.672 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/1.029, allocations: 239.6 kB / 0.9142 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/1.03, allocations: 1.061 MB / 0.9152 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/1.033, allocations: 226.7 kB / 0.9155 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/1.033, allocations: 51.89 kB / 0.9155 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002427/1.035, allocations: 0.7673 MB / 0.9163 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002163/1.038, allocations: 0.7516 MB / 0.917 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003394/1.041, allocations: 1.085 MB / 0.918 GB, free: 280 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.733e-06/1.041, allocations: 7.938 kB / 0.9181 GB, free: 272 kB / 0.7012 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.00512/1.046, allocations: 1.5 MB / 0.9195 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.046, allocations: 8 kB / 0.9195 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.046, allocations: 11.98 kB / 0.9195 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/1.048, allocations: 446 kB / 0.92 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/1.049, allocations: 251.5 kB / 0.9202 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/1.051, allocations: 1.071 MB / 0.9212 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/1.053, allocations: 183.2 kB / 0.9214 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/1.054, allocations: 55.94 kB / 0.9215 GB, free: 12.73 MB / 0.7169 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.0004506/1.054, allocations: 244 kB / 0.9217 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005089/1.055, allocations: 146.2 kB / 0.9218 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004138/1.059, allocations: 1.273 MB / 0.9231 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/1.059, allocations: 4 kB / 0.9231 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.059, allocations: 4 kB / 0.9231 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003445/1.062, allocations: 1.08 MB / 0.9242 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009074/1.071, allocations: 3.389 MB / 0.9275 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/1.071, allocations: 8.062 kB / 0.9275 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009524/1.072, allocations: 143.7 kB / 0.9276 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/1.074, allocations: 447.1 kB / 0.928 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.433e-05/1.074, allocations: 23.97 kB / 0.9281 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/1.076, allocations: 1.057 MB / 0.9291 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/1.076, allocations: 4 kB / 0.9291 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004541/1.08, allocations: 1.358 MB / 0.9304 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.081, allocations: 351.1 kB / 0.9308 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005294/1.082, allocations: 23.94 kB / 0.9308 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.084, allocations: 115.8 kB / 0.9309 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/1.084, allocations: 52.25 kB / 0.9309 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.084, allocations: 47.94 kB / 0.931 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002068/1.086, allocations: 0.973 MB / 0.9319 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/1.086, allocations: 0 / 0.9319 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003896/1.09, allocations: 0.8889 MB / 0.9328 GB, free: 0.7539 MB / 0.7169 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.001698/1.092, allocations: 0.5476 MB / 0.9333 GB, free: 224 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007049/1.099, allocations: 1.817 MB / 0.9351 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.099, allocations: 0 / 0.9351 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001984/1.101, allocations: 0.5172 MB / 0.9356 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005261/1.106, allocations: 0.8375 MB / 0.9364 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006395/1.113, allocations: 2.592 MB / 0.939 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/1.114, allocations: 1.203 MB / 0.9401 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005303/1.114, allocations: 143.2 kB / 0.9403 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of SimCode: time 1.352e-06/1.114, allocations: 0 / 0.9403 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of Templates: time 0.05259/1.167, allocations: 35.88 MB / 0.9753 GB, free: 5.465 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)