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.001454/0.001455, allocations: 116.3 kB / 16.38 MB, free: 6.008 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.00177/0.00177, allocations: 186.7 kB / 17.31 MB, free: 5.621 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.316/1.316, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.774/1.774, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001438/0.001438, allocations: 68.38 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2019, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.3791/0.581, allocations: 69.91 MB / 0.8531 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02069/0.6017, allocations: 14.38 MB / 0.8671 GB, free: 8.18 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/0.6045, allocations: 67.22 kB / 0.8672 GB, free: 8.156 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.6073, allocations: 0.9165 MB / 0.8681 GB, free: 7.59 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007332/0.6146, allocations: 2.533 MB / 0.8705 GB, free: 6.074 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005246/0.6199, allocations: 1.978 MB / 0.8725 GB, free: 4.977 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006281/0.6262, allocations: 4.587 MB / 0.8769 GB, free: 2.473 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.6286, allocations: 1.604 MB / 0.8785 GB, free: 1.48 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004206/0.6329, allocations: 1.781 MB / 0.8803 GB, free: 412 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.6353, allocations: 1.27 MB / 0.8815 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000449/0.6358, allocations: 192.6 kB / 0.8817 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0047/0.6405, allocations: 1.977 MB / 0.8836 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005211/0.641, allocations: 459.2 kB / 0.884 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.6425, allocations: 1.016 MB / 0.885 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004887/0.6474, allocations: 3.49 MB / 0.8884 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6474, allocations: 0 / 0.8884 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6474, allocations: 0 / 0.8884 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.367e-05/0.6474, allocations: 1.844 kB / 0.8884 GB, free: 11.18 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.004277/0.6517, allocations: 2.299 MB / 0.8907 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.6518, allocations: 9.469 kB / 0.8907 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005195/0.657, allocations: 0.6495 MB / 0.8913 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/0.6599, allocations: 1.563 MB / 0.8929 GB, free: 7.91 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.66, allocations: 128.1 kB / 0.893 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.6602, allocations: 117 kB / 0.8931 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003847/0.6641, allocations: 1.617 MB / 0.8947 GB, free: 6.727 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.6641, allocations: 9.344 kB / 0.8947 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.6643, allocations: 53.28 kB / 0.8947 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.6643, allocations: 36.84 kB / 0.8948 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004617/0.6689, allocations: 1.416 MB / 0.8962 GB, free: 5.953 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.01057/0.6795, allocations: 7.163 MB / 0.9032 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.6819, allocations: 0.7943 MB / 0.9039 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.6835, allocations: 486.3 kB / 0.9044 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/0.6848, allocations: 1.27 MB / 0.9056 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.6848, allocations: 48.19 kB / 0.9057 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=68): time 2.465e-06/0.6848, allocations: 0 / 0.9057 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of matching and sorting (n=68): time 0.009912/0.6947, allocations: 2.107 MB / 0.9077 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.6948, allocations: 111.4 kB / 0.9078 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/0.6969, allocations: 1.374 MB / 0.9092 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.6971, allocations: 45.7 kB / 0.9092 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005837/0.6977, allocations: 0.6841 MB / 0.9099 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.6979, allocations: 232.7 kB / 0.9101 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003658/0.6983, allocations: 230.3 kB / 0.9103 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6984, allocations: 342.6 kB / 0.9107 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.7003, allocations: 484.5 kB / 0.9111 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.7024, allocations: 0.7433 MB / 0.9119 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/0.7059, allocations: 1.101 MB / 0.9129 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.706, allocations: 0 / 0.9129 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004932/0.7109, allocations: 1.507 MB / 0.9144 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.7109, allocations: 8 kB / 0.9144 GB, free: 4.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.711, allocations: 4.562 kB / 0.9144 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/0.7125, allocations: 457.7 kB / 0.9148 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.7139, allocations: 247.6 kB / 0.9151 GB, free: 3.812 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.7154, allocations: 1.061 MB / 0.9161 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.7177, allocations: 211.2 kB / 0.9163 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.7179, allocations: 55.94 kB / 0.9164 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002353/0.7202, allocations: 0.7712 MB / 0.9171 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002051/0.7223, allocations: 0.7438 MB / 0.9179 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003429/0.7257, allocations: 1.089 MB / 0.9189 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.761e-06/0.7258, allocations: 4 kB / 0.9189 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004894/0.7307, allocations: 1.503 MB / 0.9204 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.7307, allocations: 8 kB / 0.9204 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7307, allocations: 8.562 kB / 0.9204 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.7322, allocations: 447.4 kB / 0.9208 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.7336, allocations: 239.6 kB / 0.9211 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.7351, allocations: 1.083 MB / 0.9221 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/0.7374, allocations: 175.2 kB / 0.9223 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.7376, allocations: 59.94 kB / 0.9223 GB, free: 12.11 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.0003429/0.7379, allocations: 232.1 kB / 0.9226 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003717/0.7383, allocations: 146.2 kB / 0.9227 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004099/0.7424, allocations: 1.279 MB / 0.924 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003494/0.7459, allocations: 1.08 MB / 0.925 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.7459, allocations: 0 / 0.925 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008371/0.7468, allocations: 347.1 kB / 0.9253 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/0.747, allocations: 12 kB / 0.9253 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.7486, allocations: 108.9 kB / 0.9255 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.7487, allocations: 44.67 kB / 0.9255 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005478/0.7542, allocations: 1.35 MB / 0.9268 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005105/0.7593, allocations: 1.679 MB / 0.9285 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00151/0.7608, allocations: 420.2 kB / 0.9289 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001544/0.7624, allocations: 0.9769 MB / 0.9298 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of Backend: time 5.51e-07/0.7624, allocations: 0 / 0.9298 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007038/0.7695, allocations: 2.11 MB / 0.9319 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of SimCode: time 0.005927/0.7754, allocations: 3.482 MB / 0.9353 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.06306/0.8385, allocations: 44.78 MB / 0.979 GB, free: 2.52 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)