Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.627/1.627, allocations: 287.5 MB / 302.6 MB, free: 8.328 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.001439/0.001439, allocations: 185 kB / 371.2 MB, free: 10.84 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.481/1.481, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0008368/0.0008364, allocations: 89.22 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 17.11 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2203, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05649/0.2768, allocations: 64.47 MB / 1.042 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01949/0.2964, allocations: 13.46 MB / 1.055 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003026/0.2994, allocations: 59.62 kB / 1.055 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002389/0.3019, allocations: 0.6366 MB / 1.055 GB, free: 13.37 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.007203/0.3091, allocations: 2.001 MB / 1.057 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005023/0.3141, allocations: 1.408 MB / 1.059 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00742/0.3215, allocations: 5.071 MB / 1.064 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.3242, allocations: 1.262 MB / 1.065 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003778/0.328, allocations: 1.369 MB / 1.066 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.3304, allocations: 1.124 MB / 1.067 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003283/0.3307, allocations: 68 kB / 1.067 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4559/0.7867, allocations: 1.418 MB / 1.069 GB, free: 30.02 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009082/0.7876, allocations: 312.2 kB / 1.069 GB, free: 30.02 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.7889, allocations: 399.2 kB / 1.07 GB, free: 29.99 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007181/0.7961, allocations: 2.57 MB / 1.072 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.7962, allocations: 2.625 kB / 1.072 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7962, allocations: 4.812 kB / 1.072 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.23e-05/0.7963, allocations: 0 / 1.072 GB, free: 29.91 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.006707/0.803, allocations: 1.937 MB / 1.074 GB, free: 28.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.436e-05/0.8031, allocations: 15.69 kB / 1.074 GB, free: 28.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006341/0.8094, allocations: 0.6867 MB / 1.075 GB, free: 28.78 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00421/0.8137, allocations: 1.541 MB / 1.076 GB, free: 28.37 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.8139, allocations: 127.2 kB / 1.076 GB, free: 28.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.8142, allocations: 123.2 kB / 1.076 GB, free: 28.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004484/0.8187, allocations: 1.631 MB / 1.078 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.8187, allocations: 6.203 kB / 1.078 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.8189, allocations: 52.62 kB / 1.078 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.308e-05/0.819, allocations: 35.11 kB / 1.078 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004766/0.8237, allocations: 1.468 MB / 1.079 GB, free: 28.03 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.01031/0.8341, allocations: 7.211 MB / 1.087 GB, free: 24.54 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.8364, allocations: 0.8125 MB / 1.087 GB, free: 24.49 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.838, allocations: 0.4929 MB / 1.088 GB, free: 24.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.839, allocations: 1.272 MB / 1.089 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.8391, allocations: 45.08 kB / 1.089 GB, free: 23.03 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 2.635e-06/0.8391, allocations: 4 kB / 1.089 GB, free: 23.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.009494/0.8486, allocations: 2.239 MB / 1.091 GB, free: 22.74 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.8487, allocations: 115.2 kB / 1.091 GB, free: 22.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/0.8512, allocations: 1.347 MB / 1.093 GB, free: 22.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001983/0.8514, allocations: 44.97 kB / 1.093 GB, free: 22.42 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005667/0.852, allocations: 0.6878 MB / 1.093 GB, free: 22.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.8523, allocations: 233.7 kB / 1.094 GB, free: 22.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.8524, allocations: 20.12 kB / 1.094 GB, free: 22.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.8524, allocations: 339.6 kB / 1.094 GB, free: 21.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.8543, allocations: 499.9 kB / 1.094 GB, free: 21.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.8564, allocations: 0.7742 MB / 1.095 GB, free: 21.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/0.8601, allocations: 1.128 MB / 1.096 GB, free: 21.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.8601, allocations: 2.312 kB / 1.096 GB, free: 21.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005555/0.8657, allocations: 1.551 MB / 1.098 GB, free: 21.01 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.8659, allocations: 280 kB / 1.098 GB, free: 20.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.8659, allocations: 6.297 kB / 1.098 GB, free: 20.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/0.8675, allocations: 467.1 kB / 1.099 GB, free: 20.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.869, allocations: 255.9 kB / 1.099 GB, free: 20.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.8706, allocations: 1.073 MB / 1.1 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/0.8734, allocations: 283.6 kB / 1.1 GB, free: 20.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.8735, allocations: 53.64 kB / 1.1 GB, free: 20.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.8736, allocations: 3.312 kB / 1.1 GB, free: 20.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004586/0.8782, allocations: 1.397 MB / 1.102 GB, free: 20.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.8782, allocations: 5.734 kB / 1.102 GB, free: 20.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/0.8797, allocations: 463.4 kB / 1.102 GB, free: 19.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.8811, allocations: 259.3 kB / 1.102 GB, free: 19.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.8826, allocations: 1.074 MB / 1.103 GB, free: 19.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.8851, allocations: 239.1 kB / 1.104 GB, free: 19.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.8853, allocations: 55.45 kB / 1.104 GB, free: 19.38 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.001285/0.8866, allocations: 453.6 kB / 1.104 GB, free: 19.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006588/0.8872, allocations: 143.5 kB / 1.104 GB, free: 19.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004641/0.8919, allocations: 1.317 MB / 1.105 GB, free: 18.99 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.8919, allocations: 7.422 kB / 1.105 GB, free: 18.99 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.8919, allocations: 0.875 kB / 1.105 GB, free: 18.99 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003495/0.8954, allocations: 1.137 MB / 1.107 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008783/0.9042, allocations: 3.438 MB / 1.11 GB, free: 17.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.9043, allocations: 5.469 kB / 1.11 GB, free: 17.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008666/0.9052, allocations: 160.5 kB / 1.11 GB, free: 17.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.9066, allocations: 437.3 kB / 1.11 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.767e-05/0.9067, allocations: 29.14 kB / 1.11 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.9082, allocations: 1.074 MB / 1.112 GB, free: 17.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.9082, allocations: 4.094 kB / 1.112 GB, free: 17.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004148/0.9124, allocations: 1.4 MB / 1.113 GB, free: 16.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.9136, allocations: 389.7 kB / 1.113 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006427/0.9142, allocations: 21.89 kB / 1.113 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/0.9164, allocations: 158.2 kB / 1.113 GB, free: 16.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.9166, allocations: 56.91 kB / 1.114 GB, free: 16.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/0.9168, allocations: 54.41 kB / 1.114 GB, free: 16.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002136/0.9189, allocations: 0.9422 MB / 1.114 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9189, allocations: 1.031 kB / 1.114 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004653/0.9236, allocations: 0.8799 MB / 1.115 GB, free: 16.43 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.00183/0.9254, allocations: 0.5227 MB / 1.116 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006888/0.9323, allocations: 1.842 MB / 1.118 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/0.9324, allocations: 1.188 kB / 1.118 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001985/0.9344, allocations: 0.5388 MB / 1.118 GB, free: 16.17 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006311/0.9407, allocations: 0.8 MB / 1.119 GB, free: 16.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006345/0.9471, allocations: 2.988 MB / 1.122 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/0.9479, allocations: 1.212 MB / 1.123 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002198/0.9501, allocations: 342 kB / 1.123 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000362/0.9505, allocations: 126.3 kB / 1.124 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of SimCode: time 8.01e-07/0.9505, allocations: 0 / 1.124 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.05992/1.01, allocations: 36.95 MB / 1.16 GB, free: 5.363 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)