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 4.566/4.566, allocations: 0.5623 GB / 0.5769 GB, free: 3.418 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002392/0.002392, allocations: 362.5 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.939/3.939, allocations: 410.7 MB / 1.112 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001781/0.001781, allocations: 180.1 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004916, allocations: 16 kB / 1.348 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5741/0.5746, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05918/0.6338, allocations: 64.44 MB / 1.524 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01772/0.6516, allocations: 12.94 MB / 1.536 GB, free: 207 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.6537, allocations: 63.56 kB / 1.536 GB, free: 207 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.6557, allocations: 0.7314 MB / 1.537 GB, free: 206.2 MB / 0.8542 GB [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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.006136/0.6619, allocations: 2.269 MB / 1.539 GB, free: 204 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00593/0.6678, allocations: 1.893 MB / 1.541 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005021/0.6729, allocations: 5.047 MB / 1.546 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.6744, allocations: 1.134 MB / 1.547 GB, free: 196 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.6764, allocations: 1.33 MB / 1.548 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.6777, allocations: 1.126 MB / 1.55 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.6779, allocations: 68 kB / 1.55 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002765/0.6807, allocations: 1.084 MB / 1.551 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002962/0.681, allocations: 306.7 kB / 1.551 GB, free: 192.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.6813, allocations: 396.8 kB / 1.551 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.6839, allocations: 2.447 MB / 1.554 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6839, allocations: 0 / 1.554 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.95e-06/0.6839, allocations: 0 / 1.554 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.6839, allocations: 0 / 1.554 GB, free: 189.2 MB / 0.8542 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.00332/0.6873, allocations: 1.916 MB / 1.556 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.6873, allocations: 15.62 kB / 1.556 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005396/0.6927, allocations: 0.6847 MB / 1.556 GB, free: 186.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/0.6953, allocations: 1.499 MB / 1.558 GB, free: 185 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.6955, allocations: 124 kB / 1.558 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.6957, allocations: 116 kB / 1.558 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00412/0.6998, allocations: 1.642 MB / 1.56 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.6999, allocations: 7.938 kB / 1.56 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.7001, allocations: 51.94 kB / 1.56 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.7001, allocations: 32 kB / 1.56 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005288/0.7054, allocations: 1.468 MB / 1.561 GB, free: 181.4 MB / 0.8542 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.01044/0.7159, allocations: 7.208 MB / 1.568 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/0.7188, allocations: 0.8035 MB / 1.569 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0022/0.721, allocations: 0.5027 MB / 1.569 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/0.7224, allocations: 1.271 MB / 1.571 GB, free: 171 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.7225, allocations: 39.12 kB / 1.571 GB, free: 171 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=68): time 5.066e-06/0.7225, allocations: 4 kB / 1.571 GB, free: 171 MB / 0.8542 GB Notification: Performance of matching and sorting (n=68): time 0.01119/0.7337, allocations: 2.217 MB / 1.573 GB, free: 168.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.7338, allocations: 107.4 kB / 1.573 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.7361, allocations: 1.359 MB / 1.574 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.7362, allocations: 41.7 kB / 1.574 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005484/0.7368, allocations: 0.688 MB / 1.575 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.737, allocations: 240.6 kB / 1.575 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.848e-05/0.7371, allocations: 20 kB / 1.575 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.7372, allocations: 345.9 kB / 1.576 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002181/0.7394, allocations: 493.6 kB / 1.576 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/0.7418, allocations: 0.7706 MB / 1.577 GB, free: 164.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002214/0.744, allocations: 0.5419 MB / 1.577 GB, free: 164 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.263e-06/0.744, allocations: 0 / 1.577 GB, free: 164 MB / 0.8542 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005637/0.7497, allocations: 1.554 MB / 1.579 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.7498, allocations: 276.9 kB / 1.579 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.7498, allocations: 4 kB / 1.579 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/0.7517, allocations: 455 kB / 1.58 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.7533, allocations: 261.4 kB / 1.58 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.755, allocations: 1.079 MB / 1.581 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/0.7576, allocations: 278.6 kB / 1.581 GB, free: 160 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.7578, allocations: 51.95 kB / 1.581 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.479e-06/0.7578, allocations: 7.938 kB / 1.581 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005236/0.763, allocations: 1.39 MB / 1.583 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.7631, allocations: 8 kB / 1.583 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.7648, allocations: 456.6 kB / 1.583 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.7665, allocations: 251.6 kB / 1.583 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.7681, allocations: 1.093 MB / 1.584 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/0.7705, allocations: 240.2 kB / 1.585 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.7706, allocations: 55.94 kB / 1.585 GB, free: 156.4 MB / 0.8542 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.0007962/0.7714, allocations: 444.8 kB / 1.585 GB, free: 156 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/0.7717, allocations: 154.2 kB / 1.585 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004611/0.7763, allocations: 1.316 MB / 1.586 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.7764, allocations: 11.98 kB / 1.586 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.719e-06/0.7764, allocations: 3.953 kB / 1.586 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004047/0.7804, allocations: 1.131 MB / 1.588 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008337/0.7888, allocations: 3.426 MB / 1.591 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.7888, allocations: 4.188 kB / 1.591 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.7899, allocations: 159.8 kB / 1.591 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00177/0.7917, allocations: 447.9 kB / 1.592 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/0.7918, allocations: 27.97 kB / 1.592 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.7934, allocations: 1.068 MB / 1.593 GB, free: 148 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.431e-06/0.7935, allocations: 7.938 kB / 1.593 GB, free: 148 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/0.7979, allocations: 1.397 MB / 1.594 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007535/0.7987, allocations: 387 kB / 1.594 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.799, allocations: 23.94 kB / 1.594 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/0.8009, allocations: 157 kB / 1.594 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.8011, allocations: 56.31 kB / 1.595 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.8012, allocations: 51.84 kB / 1.595 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001753/0.803, allocations: 0.9457 MB / 1.596 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.91e-07/0.803, allocations: 4 kB / 1.596 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002589/0.8056, allocations: 0.8811 MB / 1.596 GB, free: 144 MB / 0.8542 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.001115/0.8067, allocations: 0.5196 MB / 1.597 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007043/0.8138, allocations: 1.834 MB / 1.599 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.961e-06/0.8138, allocations: 8 kB / 1.599 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.8159, allocations: 0.5323 MB / 1.599 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004259/0.8202, allocations: 0.7991 MB / 1.6 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005662/0.8259, allocations: 2.994 MB / 1.603 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007252/0.8267, allocations: 1.234 MB / 1.604 GB, free: 136 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002167/0.8288, allocations: 344.4 kB / 1.604 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.8292, allocations: 123.3 kB / 1.605 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.578e-06/0.8292, allocations: 0 / 1.605 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.06644/0.8957, allocations: 35.92 MB / 1.64 GB, free: 100.3 MB / 0.8542 GB