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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 292.3 MB / 308.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 190.2 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205 MB / 0.6353 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000988/0.000988, allocations: 96.75 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 55.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2566, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.5633/0.8199, allocations: 69.46 MB / 1.05 GB, free: 68.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02382/0.8438, allocations: 14.55 MB / 1.064 GB, free: 61.44 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004006/0.8478, allocations: 67.56 kB / 1.064 GB, free: 61.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003045/0.8509, allocations: 0.7526 MB / 1.065 GB, free: 60.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.008714/0.8596, allocations: 2.328 MB / 1.067 GB, free: 59.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.006144/0.8658, allocations: 1.793 MB / 1.069 GB, free: 58.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007168/0.873, allocations: 5.855 MB / 1.075 GB, free: 56.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002547/0.8756, allocations: 1.315 MB / 1.076 GB, free: 55.76 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/0.879, allocations: 1.484 MB / 1.078 GB, free: 55.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002294/0.8813, allocations: 1.246 MB / 1.079 GB, free: 54.57 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005633/0.8819, allocations: 84.69 kB / 1.079 GB, free: 54.57 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005029/0.8869, allocations: 1.759 MB / 1.081 GB, free: 53.98 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006747/0.8876, allocations: 359.9 kB / 1.081 GB, free: 53.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002084/0.8897, allocations: 0.9185 MB / 1.082 GB, free: 53.26 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.006915/0.8967, allocations: 3.402 MB / 1.085 GB, free: 52.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.8967, allocations: 3.156 kB / 1.085 GB, free: 52.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8967, allocations: 0 / 1.085 GB, free: 52.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.327e-05/0.8968, allocations: 0 / 1.085 GB, free: 52.02 MB / 0.7448 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.005392/0.9022, allocations: 2.302 MB / 1.087 GB, free: 50.53 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.9022, allocations: 8.031 kB / 1.087 GB, free: 50.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006789/0.909, allocations: 0.6476 MB / 1.088 GB, free: 50.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003663/0.9127, allocations: 1.538 MB / 1.09 GB, free: 49.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.9129, allocations: 128.2 kB / 1.09 GB, free: 49.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/0.9132, allocations: 120.3 kB / 1.09 GB, free: 49.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005173/0.9184, allocations: 1.617 MB / 1.091 GB, free: 48.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.953e-05/0.9184, allocations: 3.156 kB / 1.091 GB, free: 48.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.9186, allocations: 53.91 kB / 1.091 GB, free: 48.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-05/0.9187, allocations: 42.42 kB / 1.091 GB, free: 48.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005957/0.9247, allocations: 1.423 MB / 1.093 GB, free: 48.07 MB / 0.7448 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.01153/0.9362, allocations: 7.167 MB / 1.1 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002904/0.9391, allocations: 0.79 MB / 1.101 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.9412, allocations: 491.3 kB / 1.101 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/0.9426, allocations: 1.261 MB / 1.102 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.9426, allocations: 49.66 kB / 1.102 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=68): time 3.997e-06/0.9426, allocations: 0 / 1.102 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=68): time 0.01285/0.9555, allocations: 2.113 MB / 1.104 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.9556, allocations: 112.1 kB / 1.104 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003195/0.9588, allocations: 1.362 MB / 1.106 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.9589, allocations: 45.3 kB / 1.106 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006857/0.9596, allocations: 0.6842 MB / 1.107 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.9599, allocations: 238.3 kB / 1.107 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005882/0.9605, allocations: 225.4 kB / 1.107 GB, free: 38.81 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.9606, allocations: 341.4 kB / 1.107 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002536/0.9632, allocations: 484.8 kB / 1.108 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002697/0.9659, allocations: 0.7527 MB / 1.109 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00464/0.9706, allocations: 1.092 MB / 1.11 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.9706, allocations: 4.562 kB / 1.11 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.006866/0.9775, allocations: 1.503 MB / 1.111 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.9775, allocations: 12.09 kB / 1.111 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.9776, allocations: 9.141 kB / 1.111 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/0.9797, allocations: 447.8 kB / 1.111 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.9814, allocations: 252.6 kB / 1.112 GB, free: 36.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.9833, allocations: 1.063 MB / 1.113 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/0.9865, allocations: 258 kB / 1.113 GB, free: 35.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.9867, allocations: 53.39 kB / 1.113 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00309/0.9898, allocations: 0.775 MB / 1.114 GB, free: 35.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002718/0.9925, allocations: 0.742 MB / 1.115 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004377/0.9969, allocations: 1.09 MB / 1.116 GB, free: 34.38 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.356e-06/0.9969, allocations: 3.062 kB / 1.116 GB, free: 34.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005566/1.003, allocations: 1.499 MB / 1.117 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.003, allocations: 8.875 kB / 1.117 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.003, allocations: 5.344 kB / 1.117 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/1.004, allocations: 457.2 kB / 1.118 GB, free: 33.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/1.006, allocations: 249.3 kB / 1.118 GB, free: 33.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/1.007, allocations: 1.063 MB / 1.119 GB, free: 32.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/1.01, allocations: 214.8 kB / 1.119 GB, free: 32.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/1.01, allocations: 52.98 kB / 1.119 GB, free: 32.89 MB / 0.7448 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.0003463/1.01, allocations: 245 kB / 1.119 GB, free: 32.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004993/1.011, allocations: 142.5 kB / 1.119 GB, free: 32.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/1.015, allocations: 1.275 MB / 1.121 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/1.015, allocations: 6.531 kB / 1.121 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.015, allocations: 6.75 kB / 1.121 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003196/1.018, allocations: 1.081 MB / 1.122 GB, free: 31.64 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007416/1.025, allocations: 3.364 MB / 1.125 GB, free: 29.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/1.025, allocations: 6.219 kB / 1.125 GB, free: 29.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008668/1.026, allocations: 150.7 kB / 1.125 GB, free: 29.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/1.028, allocations: 442.8 kB / 1.126 GB, free: 29.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.744e-05/1.028, allocations: 32.88 kB / 1.126 GB, free: 29.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/1.029, allocations: 1.052 MB / 1.127 GB, free: 28.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.029, allocations: 4.969 kB / 1.127 GB, free: 28.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005935/1.035, allocations: 2.665 MB / 1.129 GB, free: 27.31 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007685/1.036, allocations: 344.4 kB / 1.13 GB, free: 27.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003759/1.036, allocations: 25.45 kB / 1.13 GB, free: 27.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/1.038, allocations: 141.9 kB / 1.13 GB, free: 27.03 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.038, allocations: 58.84 kB / 1.13 GB, free: 27.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/1.038, allocations: 46.5 kB / 1.13 GB, free: 27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001587/1.04, allocations: 0.96 MB / 1.131 GB, free: 26.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3e-07/1.04, allocations: 0 / 1.131 GB, free: 26.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003067/1.043, allocations: 0.9113 MB / 1.132 GB, free: 26.41 MB / 0.7448 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.001321/1.044, allocations: 0.5412 MB / 1.132 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005839/1.05, allocations: 1.772 MB / 1.134 GB, free: 25.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/1.05, allocations: 0 / 1.134 GB, free: 25.64 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001692/1.052, allocations: 0.5081 MB / 1.134 GB, free: 25.49 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/1.056, allocations: 0.7901 MB / 1.135 GB, free: 25.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/1.061, allocations: 3.449 MB / 1.139 GB, free: 23.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008263/1.062, allocations: 1.224 MB / 1.14 GB, free: 22.36 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001831/1.064, allocations: 344.4 kB / 1.14 GB, free: 22.26 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/1.064, allocations: 119.8 kB / 1.14 GB, free: 22.25 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/1.064, allocations: 3.938 kB / 1.14 GB, free: 22.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.06933/1.134, allocations: 38.1 MB / 1.177 GB, free: 12.59 MB / 0.7448 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)