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.001415/0.001415, allocations: 101.8 kB / 16.64 MB, free: 6.824 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.00113/0.00113, allocations: 197.9 kB / 17.57 MB, free: 5.93 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.367/1.367, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7869/0.7869, allocations: 122.9 MB / 414.2 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 64.14 kB / 0.4912 GB, free: 7.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3843, allocations: 77.91 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.0601/0.4444, allocations: 69.29 MB / 0.635 GB, free: 5.547 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02112/0.4656, allocations: 14.37 MB / 0.649 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003555/0.4692, allocations: 63.62 kB / 0.6491 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.4721, allocations: 0.8006 MB / 0.6499 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007644/0.4797, allocations: 2.37 MB / 0.6522 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005027/0.4848, allocations: 1.829 MB / 0.654 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006317/0.4911, allocations: 4.649 MB / 0.6585 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002375/0.4935, allocations: 1.6 MB / 0.6601 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004445/0.498, allocations: 1.766 MB / 0.6618 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.5, allocations: 1.303 MB / 0.6631 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003091/0.5003, allocations: 192 kB / 0.6632 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00403/0.5043, allocations: 1.95 MB / 0.6651 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004468/0.5048, allocations: 462.5 kB / 0.6656 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.506, allocations: 1.027 MB / 0.6666 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003603/0.5096, allocations: 2.725 MB / 0.6693 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5096, allocations: 0 / 0.6693 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5096, allocations: 0 / 0.6693 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.337e-05/0.5096, allocations: 0 / 0.6693 GB, free: 2.371 MB / 0.4981 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.003835/0.5135, allocations: 2.302 MB / 0.6715 GB, free: 0 / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/0.5135, allocations: 12.67 kB / 0.6715 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005027/0.5186, allocations: 0.6465 MB / 0.6721 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002399/0.521, allocations: 1.557 MB / 0.6737 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.5211, allocations: 128 kB / 0.6738 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.5213, allocations: 116 kB / 0.6739 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003626/0.525, allocations: 1.618 MB / 0.6755 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.525, allocations: 0 / 0.6755 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.5251, allocations: 56 kB / 0.6755 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/0.5252, allocations: 43.86 kB / 0.6756 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004325/0.5295, allocations: 1.417 MB / 0.677 GB, free: 10.24 MB / 0.5137 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.009875/0.5394, allocations: 7.183 MB / 0.684 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.5417, allocations: 0.7915 MB / 0.6847 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.5433, allocations: 482.8 kB / 0.6852 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.5446, allocations: 1.263 MB / 0.6864 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.5447, allocations: 47.12 kB / 0.6865 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.385e-06/0.5447, allocations: 0 / 0.6865 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.009951/0.5547, allocations: 2.116 MB / 0.6885 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.5548, allocations: 115.4 kB / 0.6887 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.5572, allocations: 1.363 MB / 0.69 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.5574, allocations: 45.7 kB / 0.69 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000668/0.5581, allocations: 0.6842 MB / 0.6907 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.5584, allocations: 240.5 kB / 0.6909 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004065/0.5588, allocations: 222.3 kB / 0.6911 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5589, allocations: 341.9 kB / 0.6915 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.5608, allocations: 488.5 kB / 0.6919 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/0.5628, allocations: 0.747 MB / 0.6927 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003541/0.5663, allocations: 1.098 MB / 0.6937 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.5664, allocations: 4 kB / 0.6937 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005088/0.5715, allocations: 1.508 MB / 0.6952 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.5715, allocations: 7.938 kB / 0.6952 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.5715, allocations: 8 kB / 0.6952 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.5732, allocations: 449.2 kB / 0.6957 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.5746, allocations: 239.6 kB / 0.6959 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.5761, allocations: 1.072 MB / 0.6969 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/0.5786, allocations: 258.6 kB / 0.6972 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.5787, allocations: 51.95 kB / 0.6972 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002387/0.5811, allocations: 0.7634 MB / 0.698 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002063/0.5832, allocations: 0.7431 MB / 0.6987 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003447/0.5867, allocations: 1.086 MB / 0.6998 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.765e-06/0.5867, allocations: 4 kB / 0.6998 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004931/0.5916, allocations: 1.5 MB / 0.7012 GB, free: 172 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.5917, allocations: 8 kB / 0.7012 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5917, allocations: 12 kB / 0.7012 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.5932, allocations: 448.8 kB / 0.7017 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.5946, allocations: 247.6 kB / 0.7019 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.5961, allocations: 1.064 MB / 0.7029 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/0.5985, allocations: 215.3 kB / 0.7032 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.5987, allocations: 55.94 kB / 0.7032 GB, free: 14.11 MB / 0.545 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.000385/0.5991, allocations: 236 kB / 0.7034 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005059/0.5996, allocations: 146.2 kB / 0.7036 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/0.6038, allocations: 1.277 MB / 0.7048 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.6038, allocations: 11.94 kB / 0.7048 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6038, allocations: 0 / 0.7048 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003395/0.6072, allocations: 1.084 MB / 0.7059 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007941/0.6152, allocations: 3.363 MB / 0.7092 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.6152, allocations: 4 kB / 0.7092 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009372/0.6161, allocations: 155.9 kB / 0.7093 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.6176, allocations: 441.6 kB / 0.7097 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.285e-05/0.6177, allocations: 27.97 kB / 0.7098 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.6191, allocations: 1.063 MB / 0.7108 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.6192, allocations: 4 kB / 0.7108 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/0.6232, allocations: 1.354 MB / 0.7121 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008776/0.6241, allocations: 354.9 kB / 0.7125 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004311/0.6245, allocations: 19.98 kB / 0.7125 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/0.6265, allocations: 144 kB / 0.7126 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.6266, allocations: 52.31 kB / 0.7127 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.6267, allocations: 47.95 kB / 0.7127 GB, free: 3.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001817/0.6286, allocations: 0.9576 MB / 0.7137 GB, free: 3.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6286, allocations: 3.938 kB / 0.7137 GB, free: 3.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002841/0.6314, allocations: 0.8889 MB / 0.7145 GB, free: 2.129 MB / 0.545 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.001564/0.633, allocations: 0.5336 MB / 0.7151 GB, free: 1.602 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006617/0.6396, allocations: 1.81 MB / 0.7168 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-05/0.6397, allocations: 3.781 kB / 0.7168 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/0.6416, allocations: 0.5132 MB / 0.7173 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005531/0.6472, allocations: 0.8279 MB / 0.7181 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006636/0.6538, allocations: 3.094 MB / 0.7212 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.6549, allocations: 1.215 MB / 0.7223 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/0.6554, allocations: 143.3 kB / 0.7225 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/0.6554, allocations: 0 / 0.7225 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of Templates: time 0.3479/1.003, allocations: 35.61 MB / 0.7573 GB, free: 159.9 MB / 0.5762 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)