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.778/1.778, allocations: 288.4 MB / 303.7 MB, free: 8.137 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.0009568/0.000957, allocations: 195.3 kB / 372.3 MB, free: 10.12 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.556/1.556, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.00103/0.00103, allocations: 102.2 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006028/0.000603, allocations: 17.38 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2619, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05264/0.3146, allocations: 64.47 MB / 1.043 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01873/0.3334, allocations: 13.47 MB / 1.056 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002804/0.3362, allocations: 59.62 kB / 1.056 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.3386, allocations: 0.6327 MB / 1.057 GB, free: 12.51 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.006838/0.3454, allocations: 2.106 MB / 1.059 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004624/0.3501, allocations: 1.441 MB / 1.06 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006278/0.3564, allocations: 5.058 MB / 1.065 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/0.3589, allocations: 1.266 MB / 1.067 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.3618, allocations: 1.408 MB / 1.068 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.3638, allocations: 1.12 MB / 1.069 GB, free: 60 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.4894/0.8532, allocations: 65.73 kB / 1.069 GB, free: 29.89 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006677/0.86, allocations: 1.655 MB / 1.071 GB, free: 29.89 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008114/0.8608, allocations: 309.9 kB / 1.071 GB, free: 29.89 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.8629, allocations: 0.8564 MB / 1.072 GB, free: 29.86 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005632/0.8685, allocations: 2.626 MB / 1.074 GB, free: 29.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8685, allocations: 1.188 kB / 1.074 GB, free: 29.78 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8685, allocations: 0 / 1.074 GB, free: 29.78 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.465e-05/0.8686, allocations: 0 / 1.074 GB, free: 29.78 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.00519/0.8738, allocations: 1.939 MB / 1.076 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.8739, allocations: 9.844 kB / 1.076 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00527/0.8792, allocations: 0.6901 MB / 1.077 GB, free: 28.61 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/0.8825, allocations: 1.542 MB / 1.078 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.8827, allocations: 130 kB / 1.079 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.8829, allocations: 123.6 kB / 1.079 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004128/0.8871, allocations: 1.633 MB / 1.08 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.8871, allocations: 7.906 kB / 1.08 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.8873, allocations: 53.5 kB / 1.08 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.858e-05/0.8873, allocations: 34.84 kB / 1.08 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004722/0.892, allocations: 1.458 MB / 1.082 GB, free: 27.86 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.01061/0.9027, allocations: 7.22 MB / 1.089 GB, free: 24.36 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.9049, allocations: 0.8074 MB / 1.09 GB, free: 24.32 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.9064, allocations: 0.5021 MB / 1.09 GB, free: 24.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.9075, allocations: 1.268 MB / 1.091 GB, free: 22.89 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.9075, allocations: 43.22 kB / 1.091 GB, free: 22.86 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 3.206e-06/0.9075, allocations: 0 / 1.091 GB, free: 22.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.009641/0.9172, allocations: 2.243 MB / 1.094 GB, free: 22.56 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.9172, allocations: 112.1 kB / 1.094 GB, free: 22.44 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.9195, allocations: 1.347 MB / 1.095 GB, free: 22.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/0.9197, allocations: 42.48 kB / 1.095 GB, free: 22.24 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005494/0.9203, allocations: 0.6877 MB / 1.096 GB, free: 21.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.9205, allocations: 236.7 kB / 1.096 GB, free: 21.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.9206, allocations: 16.59 kB / 1.096 GB, free: 21.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.9207, allocations: 337.1 kB / 1.096 GB, free: 21.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/0.9225, allocations: 0.4996 MB / 1.097 GB, free: 21.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.9245, allocations: 0.7666 MB / 1.098 GB, free: 21.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003248/0.9277, allocations: 1.137 MB / 1.099 GB, free: 20.97 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.9277, allocations: 3.406 kB / 1.099 GB, free: 20.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00461/0.9323, allocations: 1.543 MB / 1.1 GB, free: 20.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.9325, allocations: 285.2 kB / 1.1 GB, free: 20.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.9325, allocations: 7.406 kB / 1.1 GB, free: 20.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.9341, allocations: 463.6 kB / 1.101 GB, free: 20.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.9355, allocations: 258.9 kB / 1.101 GB, free: 20.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.9368, allocations: 1.077 MB / 1.102 GB, free: 19.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/0.9395, allocations: 274.5 kB / 1.102 GB, free: 19.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.9397, allocations: 54.75 kB / 1.103 GB, free: 19.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.9397, allocations: 5.594 kB / 1.103 GB, free: 19.87 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004253/0.9439, allocations: 1.396 MB / 1.104 GB, free: 19.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.944, allocations: 7.125 kB / 1.104 GB, free: 19.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.9454, allocations: 459 kB / 1.104 GB, free: 19.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.9468, allocations: 252.1 kB / 1.105 GB, free: 19.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.9482, allocations: 1.084 MB / 1.106 GB, free: 19.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/0.9507, allocations: 247.8 kB / 1.106 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.9509, allocations: 56.53 kB / 1.106 GB, free: 19.2 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.001025/0.9519, allocations: 445 kB / 1.106 GB, free: 19 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.9522, allocations: 142.7 kB / 1.106 GB, free: 18.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/0.9561, allocations: 1.325 MB / 1.108 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.9561, allocations: 5.25 kB / 1.108 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.9562, allocations: 5.156 kB / 1.108 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003055/0.9592, allocations: 1.135 MB / 1.109 GB, free: 18.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007139/0.9664, allocations: 3.427 MB / 1.112 GB, free: 17.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.9664, allocations: 3.625 kB / 1.112 GB, free: 17.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008788/0.9673, allocations: 158.5 kB / 1.112 GB, free: 17.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/0.9687, allocations: 441.3 kB / 1.113 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-05/0.9688, allocations: 26.58 kB / 1.113 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.9701, allocations: 1.075 MB / 1.114 GB, free: 17.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.9701, allocations: 7.094 kB / 1.114 GB, free: 17.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.974, allocations: 1.399 MB / 1.115 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009275/0.975, allocations: 389.6 kB / 1.116 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.9752, allocations: 18.25 kB / 1.116 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/0.9768, allocations: 160.5 kB / 1.116 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.977, allocations: 53.78 kB / 1.116 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-05/0.9771, allocations: 49.02 kB / 1.116 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001647/0.9787, allocations: 0.9507 MB / 1.117 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9787, allocations: 0 / 1.117 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002859/0.9816, allocations: 0.8813 MB / 1.118 GB, free: 16.25 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.001317/0.9829, allocations: 0.5368 MB / 1.118 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006228/0.9892, allocations: 1.839 MB / 1.12 GB, free: 16.01 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.9892, allocations: 7.75 kB / 1.12 GB, free: 16.01 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.991, allocations: 0.5455 MB / 1.121 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004912/0.9959, allocations: 0.7974 MB / 1.121 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005638/1.002, allocations: 2.99 MB / 1.124 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007665/1.002, allocations: 1.209 MB / 1.125 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001985/1.004, allocations: 339.3 kB / 1.126 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/1.005, allocations: 124.6 kB / 1.126 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of SimCode: time 7.62e-07/1.005, allocations: 4.047 kB / 1.126 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of Templates: time 0.05619/1.061, allocations: 37.4 MB / 1.162 GB, free: 2.641 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)