Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.512/2.512, allocations: 287.9 MB / 302.9 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 181.1 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 89.86 kB / 0.7434 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004635, allocations: 13.12 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1527, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.07377/0.2265, allocations: 58.52 MB / 1.036 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02372/0.2503, allocations: 12.13 MB / 1.048 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002538/0.2528, allocations: 59.56 kB / 1.048 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003239/0.2561, allocations: 0.7851 MB / 1.049 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008434/0.2646, allocations: 2.175 MB / 1.051 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.00793/0.2725, allocations: 1.912 MB / 1.053 GB, free: 468 kB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008089/0.2806, allocations: 2.614 MB / 1.055 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003913/0.2846, allocations: 1.164 MB / 1.056 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005247/0.2899, allocations: 1.253 MB / 1.057 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002897/0.2929, allocations: 0.8127 MB / 1.058 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006013/0.2935, allocations: 64 kB / 1.058 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007046/0.3006, allocations: 1.17 MB / 1.059 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.3017, allocations: 306.8 kB / 1.06 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.303, allocations: 396.8 kB / 1.06 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007606/0.3107, allocations: 2.42 MB / 1.063 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.482e-06/0.3107, allocations: 0 / 1.063 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.395e-06/0.3108, allocations: 0 / 1.063 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.304e-05/0.3108, allocations: 0 / 1.063 GB, free: 6.227 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.005634/0.3165, allocations: 1.916 MB / 1.064 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3165, allocations: 12.03 kB / 1.064 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005929/0.3225, allocations: 0.6846 MB / 1.065 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/0.3261, allocations: 1.433 MB / 1.066 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.3263, allocations: 128 kB / 1.067 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003048/0.3266, allocations: 116 kB / 1.067 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005298/0.332, allocations: 1.627 MB / 1.068 GB, free: 88 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/0.332, allocations: 7.938 kB / 1.068 GB, free: 80 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/0.3323, allocations: 52 kB / 1.068 GB, free: 28 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.5385/0.8708, allocations: 31.02 kB / 1.068 GB, free: 90.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006505/0.8773, allocations: 1.461 MB / 1.07 GB, free: 90.61 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.01285/0.8902, allocations: 7.239 MB / 1.077 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.8933, allocations: 0.8102 MB / 1.078 GB, free: 85.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/0.8945, allocations: 1.268 MB / 1.079 GB, free: 84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.8946, allocations: 44.92 kB / 1.079 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 4.062e-06/0.8946, allocations: 3.438 kB / 1.079 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.01216/0.9068, allocations: 2.209 MB / 1.081 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.9068, allocations: 111.3 kB / 1.081 GB, free: 83.22 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003097/0.9099, allocations: 1.401 MB / 1.083 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/0.9102, allocations: 44.42 kB / 1.083 GB, free: 82.62 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006877/0.9109, allocations: 0.6877 MB / 1.083 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.9112, allocations: 241.1 kB / 1.084 GB, free: 81.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.46e-05/0.9113, allocations: 15.5 kB / 1.084 GB, free: 81.89 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.475e-05/0.9114, allocations: 341 kB / 1.084 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002492/0.9139, allocations: 0.4932 MB / 1.084 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002697/0.9167, allocations: 0.7672 MB / 1.085 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002541/0.9192, allocations: 0.5516 MB / 1.086 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.9193, allocations: 2.344 kB / 1.086 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.006448/0.9257, allocations: 1.547 MB / 1.087 GB, free: 80.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005185/0.9263, allocations: 2.492 MB / 1.09 GB, free: 77.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.9263, allocations: 9.812 kB / 1.09 GB, free: 77.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/0.9285, allocations: 458.2 kB / 1.09 GB, free: 77.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/0.9304, allocations: 259 kB / 1.09 GB, free: 77.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.9324, allocations: 1.072 MB / 1.091 GB, free: 76.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002893/0.9353, allocations: 273.8 kB / 1.092 GB, free: 76.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/0.9355, allocations: 54.03 kB / 1.092 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.9355, allocations: 3.156 kB / 1.092 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005774/0.9413, allocations: 1.392 MB / 1.093 GB, free: 76.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.9414, allocations: 11.25 kB / 1.093 GB, free: 76.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/0.9434, allocations: 471.8 kB / 1.093 GB, free: 76.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.9451, allocations: 257.9 kB / 1.094 GB, free: 76.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.947, allocations: 1.075 MB / 1.095 GB, free: 75.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/0.9496, allocations: 243.8 kB / 1.095 GB, free: 75.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/0.9498, allocations: 55.09 kB / 1.095 GB, free: 75.25 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.0009354/0.9507, allocations: 453.7 kB / 1.095 GB, free: 74.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003548/0.9511, allocations: 151.1 kB / 1.096 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005077/0.9562, allocations: 1.321 MB / 1.097 GB, free: 74.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.9562, allocations: 7.312 kB / 1.097 GB, free: 74.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.36e-06/0.9563, allocations: 0 / 1.097 GB, free: 74.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004749/0.961, allocations: 1.13 MB / 1.098 GB, free: 73.87 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009596/0.9707, allocations: 3.456 MB / 1.101 GB, free: 71.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.9707, allocations: 10.16 kB / 1.101 GB, free: 71.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.9718, allocations: 158.6 kB / 1.102 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001949/0.9738, allocations: 451.9 kB / 1.102 GB, free: 71.87 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.9739, allocations: 22.91 kB / 1.102 GB, free: 71.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.9757, allocations: 1.064 MB / 1.103 GB, free: 71.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.587e-06/0.9758, allocations: 9.062 kB / 1.103 GB, free: 71.08 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00486/0.9806, allocations: 1.632 MB / 1.105 GB, free: 69.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009372/0.9816, allocations: 398.6 kB / 1.105 GB, free: 69.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.9819, allocations: 16.09 kB / 1.105 GB, free: 69.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/0.9839, allocations: 160.6 kB / 1.105 GB, free: 69.45 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.9841, allocations: 54.16 kB / 1.105 GB, free: 69.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.9842, allocations: 45.95 kB / 1.105 GB, free: 69.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001942/0.9862, allocations: 0.992 MB / 1.106 GB, free: 68.85 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.661e-06/0.9862, allocations: 0 / 1.106 GB, free: 68.85 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003099/0.9893, allocations: 0.8893 MB / 1.107 GB, free: 68.69 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.001294/0.9906, allocations: 0.5509 MB / 1.108 GB, free: 68.46 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008159/0.9988, allocations: 1.838 MB / 1.109 GB, free: 67.63 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.9989, allocations: 2.031 kB / 1.109 GB, free: 67.63 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002295/1.001, allocations: 0.5356 MB / 1.11 GB, free: 67.38 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004326/1.006, allocations: 0.7735 MB / 1.111 GB, free: 67.04 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006506/1.012, allocations: 2.997 MB / 1.114 GB, free: 65.03 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009201/1.013, allocations: 1.235 MB / 1.115 GB, free: 64.07 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002756/1.016, allocations: 343.8 kB / 1.115 GB, free: 63.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/1.016, allocations: 120.7 kB / 1.115 GB, free: 63.87 MB / 0.6823 GB Notification: Performance of SimCode: time 1.736e-06/1.016, allocations: 0 / 1.115 GB, free: 63.87 MB / 0.6823 GB Notification: Performance of Templates: time 0.1109/1.127, allocations: 36.64 MB / 1.151 GB, free: 33.41 MB / 0.6823 GB