Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001042/0.001042, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 179.4 kB / 16.92 MB, free: 6.766 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6769/0.6769, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 9.281 kB / 495.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1417, allocations: 77.53 MB / 0.5599 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.3087/0.4505, allocations: 68.2 MB / 0.6265 GB, free: 9.543 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02174/0.4722, allocations: 14.48 MB / 0.6407 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002915/0.4752, allocations: 61.81 kB / 0.6407 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002591/0.4778, allocations: 0.7432 MB / 0.6415 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007023/0.4848, allocations: 2.351 MB / 0.6438 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004715/0.4896, allocations: 1.792 MB / 0.6455 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006584/0.4962, allocations: 5.853 MB / 0.6512 GB, free: 7.82 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.498, allocations: 1.289 MB / 0.6525 GB, free: 7.02 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.5005, allocations: 1.422 MB / 0.6539 GB, free: 6.242 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.5019, allocations: 1.2 MB / 0.6551 GB, free: 5.375 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.5021, allocations: 72 kB / 0.6551 GB, free: 5.305 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00367/0.5058, allocations: 1.727 MB / 0.6568 GB, free: 3.574 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003281/0.5061, allocations: 326.5 kB / 0.6571 GB, free: 3.254 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000941/0.507, allocations: 0.9034 MB / 0.658 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003931/0.511, allocations: 3.33 MB / 0.6613 GB, free: 15 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.511, allocations: 4 kB / 0.6613 GB, free: 15 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.511, allocations: 8 kB / 0.6613 GB, free: 14.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.511, allocations: 3.938 kB / 0.6613 GB, free: 14.98 MB / 494.1 MB 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.003392/0.5144, allocations: 1.933 MB / 0.6632 GB, free: 12.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.5145, allocations: 20.02 kB / 0.6632 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005234/0.5197, allocations: 0.6856 MB / 0.6638 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.5222, allocations: 1.549 MB / 0.6654 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.5224, allocations: 128 kB / 0.6655 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.5226, allocations: 124 kB / 0.6656 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003781/0.5264, allocations: 1.645 MB / 0.6672 GB, free: 8.676 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.5264, allocations: 4 kB / 0.6672 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.5266, allocations: 48 kB / 0.6673 GB, free: 8.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.295e-05/0.5266, allocations: 39.98 kB / 0.6673 GB, free: 8.586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004678/0.5313, allocations: 1.476 MB / 0.6687 GB, free: 7.102 MB / 494.1 MB 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.01002/0.5413, allocations: 7.202 MB / 0.6758 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.5437, allocations: 0.8141 MB / 0.6766 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.5455, allocations: 0.4988 MB / 0.6771 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.5469, allocations: 1.267 MB / 0.6783 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.547, allocations: 43.12 kB / 0.6783 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=68): time 3.286e-06/0.547, allocations: 0 / 0.6783 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68): time 0.01015/0.5572, allocations: 2.248 MB / 0.6805 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.5573, allocations: 115.4 kB / 0.6806 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/0.5593, allocations: 1.367 MB / 0.682 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.5594, allocations: 41.7 kB / 0.682 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005925/0.56, allocations: 0.688 MB / 0.6827 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.5603, allocations: 240.5 kB / 0.6829 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.5604, allocations: 73.67 kB / 0.683 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5606, allocations: 341.9 kB / 0.6833 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/0.5625, allocations: 0.5016 MB / 0.6838 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.5646, allocations: 0.7667 MB / 0.6845 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003613/0.5682, allocations: 1.144 MB / 0.6857 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.5682, allocations: 4 kB / 0.6857 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004917/0.5732, allocations: 1.563 MB / 0.6872 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.5734, allocations: 276.5 kB / 0.6875 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.5734, allocations: 8 kB / 0.6875 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/0.575, allocations: 465.3 kB / 0.6879 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.5764, allocations: 259.6 kB / 0.6882 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.578, allocations: 1.072 MB / 0.6892 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.5803, allocations: 278.8 kB / 0.6895 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.5805, allocations: 59.89 kB / 0.6895 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.5805, allocations: 4 kB / 0.6895 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004574/0.585, allocations: 1.402 MB / 0.6909 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.5851, allocations: 4 kB / 0.6909 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/0.5866, allocations: 456.2 kB / 0.6913 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.588, allocations: 263.5 kB / 0.6916 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.5895, allocations: 1.071 MB / 0.6926 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.5916, allocations: 238.9 kB / 0.6929 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5917, allocations: 59.88 kB / 0.6929 GB, free: 13.21 MB / 0.5137 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.000777/0.5925, allocations: 444.8 kB / 0.6933 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.5928, allocations: 142.3 kB / 0.6935 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00422/0.597, allocations: 1.321 MB / 0.6948 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.597, allocations: 11.98 kB / 0.6948 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.597, allocations: 3.938 kB / 0.6948 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003633/0.6007, allocations: 1.147 MB / 0.6959 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007567/0.6082, allocations: 3.434 MB / 0.6993 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.6083, allocations: 8 kB / 0.6993 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009732/0.6093, allocations: 163.9 kB / 0.6994 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001525/0.6108, allocations: 440.9 kB / 0.6998 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.6109, allocations: 27.97 kB / 0.6999 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.6125, allocations: 1.079 MB / 0.7009 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.6125, allocations: 8 kB / 0.7009 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/0.6168, allocations: 1.401 MB / 0.7023 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007362/0.6175, allocations: 386.9 kB / 0.7027 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.6177, allocations: 19.98 kB / 0.7027 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.6195, allocations: 162.8 kB / 0.7028 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.6196, allocations: 52.31 kB / 0.7029 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.6197, allocations: 39.95 kB / 0.7029 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001607/0.6213, allocations: 0.9693 MB / 0.7039 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6213, allocations: 3.938 kB / 0.7039 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002312/0.6237, allocations: 0.8811 MB / 0.7047 GB, free: 0.7266 MB / 0.5137 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.001135/0.6248, allocations: 0.5354 MB / 0.7053 GB, free: 196 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006342/0.6311, allocations: 1.857 MB / 0.7071 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.6312, allocations: 3.781 kB / 0.7071 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.6331, allocations: 0.5374 MB / 0.7076 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004599/0.6377, allocations: 0.7953 MB / 0.7084 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/0.6434, allocations: 3.139 MB / 0.7114 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008337/0.6442, allocations: 1.215 MB / 0.7126 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001625/0.6459, allocations: 339.8 kB / 0.713 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/0.6462, allocations: 127.3 kB / 0.7131 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.6462, allocations: 0 / 0.7131 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of Templates: time 0.05964/0.7058, allocations: 37.62 MB / 0.7498 GB, free: 2.914 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)