Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.848/1.848, allocations: 288.4 MB / 303.4 MB, free: 8.105 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.001162/0.001162, allocations: 179.4 kB / 372 MB, free: 10.27 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.394/1.394, allocations: 205.4 MB / 0.6307 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007689/0.0007691, allocations: 86.42 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004309, allocations: 15.88 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2282, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05645/0.2847, allocations: 64.46 MB / 1.043 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02118/0.306, allocations: 13.47 MB / 1.056 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003047/0.3091, allocations: 59.62 kB / 1.056 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.3116, allocations: 0.6366 MB / 1.056 GB, free: 12.86 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007386/0.319, allocations: 2.003 MB / 1.058 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005425/0.3244, allocations: 1.413 MB / 1.06 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007276/0.3317, allocations: 5.026 MB / 1.065 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/0.334, allocations: 1.141 MB / 1.066 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003354/0.3373, allocations: 1.369 MB / 1.067 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.3395, allocations: 1.112 MB / 1.068 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002703/0.3398, allocations: 68 kB / 1.068 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5044/0.8441, allocations: 1.427 MB / 1.07 GB, free: 30.49 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009984/0.8452, allocations: 310 kB / 1.07 GB, free: 30.49 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.8463, allocations: 400.1 kB / 1.07 GB, free: 30.46 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005676/0.852, allocations: 2.571 MB / 1.073 GB, free: 30.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.852, allocations: 1.125 kB / 1.073 GB, free: 30.38 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.927e-06/0.8521, allocations: 0.7969 kB / 1.073 GB, free: 30.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.112e-05/0.8521, allocations: 0 / 1.073 GB, free: 30.38 MB / 0.6823 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.005586/0.8577, allocations: 1.954 MB / 1.075 GB, free: 29.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.8578, allocations: 9.312 kB / 1.075 GB, free: 29.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005929/0.8637, allocations: 0.6931 MB / 1.075 GB, free: 29.24 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/0.8681, allocations: 1.493 MB / 1.077 GB, free: 28.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/0.8684, allocations: 130.1 kB / 1.077 GB, free: 28.85 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/0.8687, allocations: 121.2 kB / 1.077 GB, free: 28.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005002/0.8737, allocations: 1.632 MB / 1.079 GB, free: 28.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/0.8738, allocations: 8.062 kB / 1.079 GB, free: 28.58 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.8739, allocations: 54.69 kB / 1.079 GB, free: 28.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.538e-05/0.874, allocations: 33.3 kB / 1.079 GB, free: 28.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00527/0.8793, allocations: 1.462 MB / 1.08 GB, free: 28.54 MB / 0.6823 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.01272/0.892, allocations: 7.212 MB / 1.087 GB, free: 25.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002429/0.8945, allocations: 0.8121 MB / 1.088 GB, free: 25.03 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.8961, allocations: 0.502 MB / 1.089 GB, free: 25.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/0.8973, allocations: 1.268 MB / 1.09 GB, free: 23.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/0.8974, allocations: 46.81 kB / 1.09 GB, free: 23.56 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 3.677e-06/0.8974, allocations: 0 / 1.09 GB, free: 23.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.0106/0.908, allocations: 2.215 MB / 1.092 GB, free: 23.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.9081, allocations: 110.4 kB / 1.092 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003005/0.9111, allocations: 1.349 MB / 1.093 GB, free: 22.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002875/0.9114, allocations: 44.03 kB / 1.093 GB, free: 22.96 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007151/0.9122, allocations: 0.6872 MB / 1.094 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.9125, allocations: 240.8 kB / 1.094 GB, free: 22.55 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.9125, allocations: 15.25 kB / 1.094 GB, free: 22.55 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.9126, allocations: 341.8 kB / 1.095 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/0.9145, allocations: 0.4953 MB / 1.095 GB, free: 22.24 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/0.9166, allocations: 0.7684 MB / 1.096 GB, free: 21.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.9187, allocations: 0.5484 MB / 1.096 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.9187, allocations: 2.75 kB / 1.096 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00542/0.9241, allocations: 1.546 MB / 1.098 GB, free: 21.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.9243, allocations: 280 kB / 1.098 GB, free: 21.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.9243, allocations: 9.906 kB / 1.098 GB, free: 21.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/0.9261, allocations: 464 kB / 1.099 GB, free: 21.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.9277, allocations: 257.7 kB / 1.099 GB, free: 21.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.9295, allocations: 1.073 MB / 1.1 GB, free: 20.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.9327, allocations: 273.2 kB / 1.1 GB, free: 20.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.9328, allocations: 53.84 kB / 1.1 GB, free: 20.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.9329, allocations: 6.953 kB / 1.1 GB, free: 20.81 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004762/0.9376, allocations: 1.389 MB / 1.102 GB, free: 20.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.9377, allocations: 13.69 kB / 1.102 GB, free: 20.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.9392, allocations: 465.2 kB / 1.102 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.9407, allocations: 255.8 kB / 1.102 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.9422, allocations: 1.077 MB / 1.103 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/0.9449, allocations: 245.1 kB / 1.104 GB, free: 20.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.9451, allocations: 54.75 kB / 1.104 GB, free: 20.15 MB / 0.6823 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 ($PRE.heaPum.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.001248/0.9463, allocations: 450 kB / 1.104 GB, free: 19.96 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006408/0.947, allocations: 151.7 kB / 1.104 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/0.9513, allocations: 1.316 MB / 1.106 GB, free: 19.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.9513, allocations: 6.75 kB / 1.106 GB, free: 19.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.9513, allocations: 0 / 1.106 GB, free: 19.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003386/0.9547, allocations: 1.136 MB / 1.107 GB, free: 19.57 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009035/0.9637, allocations: 3.432 MB / 1.11 GB, free: 18.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.9638, allocations: 7.656 kB / 1.11 GB, free: 18.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009594/0.9648, allocations: 159.7 kB / 1.11 GB, free: 18.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001466/0.9663, allocations: 446.5 kB / 1.111 GB, free: 18.55 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.82e-05/0.9664, allocations: 27.45 kB / 1.111 GB, free: 18.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.9677, allocations: 1.069 MB / 1.112 GB, free: 18.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/0.9678, allocations: 8.25 kB / 1.112 GB, free: 18.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004279/0.9721, allocations: 1.394 MB / 1.113 GB, free: 17.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/0.9735, allocations: 386.5 kB / 1.113 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006586/0.9742, allocations: 22 kB / 1.113 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/0.9767, allocations: 163.7 kB / 1.114 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.9769, allocations: 53.14 kB / 1.114 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/0.977, allocations: 45.66 kB / 1.114 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002557/0.9796, allocations: 0.9486 MB / 1.115 GB, free: 17.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9796, allocations: 0 / 1.115 GB, free: 17.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004828/0.9845, allocations: 0.882 MB / 1.115 GB, free: 17.2 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.001847/0.9863, allocations: 0.5239 MB / 1.116 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008169/0.9945, allocations: 1.836 MB / 1.118 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.397e-05/0.9946, allocations: 5.531 kB / 1.118 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/0.9968, allocations: 0.542 MB / 1.118 GB, free: 16.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005982/1.003, allocations: 0.7857 MB / 1.119 GB, free: 16.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007565/1.01, allocations: 2.993 MB / 1.122 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/1.012, allocations: 1.207 MB / 1.123 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002555/1.014, allocations: 347.7 kB / 1.123 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004688/1.015, allocations: 123 kB / 1.124 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/1.015, allocations: 2.953 kB / 1.124 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of Templates: time 0.06082/1.076, allocations: 35.94 MB / 1.159 GB, free: 6.289 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)