Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.686/4.686, allocations: 0.5623 GB / 0.5775 GB, free: 3.367 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.002484/0.002484, allocations: 359.1 kB / 0.6446 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 4.062/4.062, allocations: 410.7 MB / 1.113 GB, free: 5.93 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.001853/0.001852, allocations: 192.2 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004863, allocations: 16 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7661/0.7666, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1397/0.9063, allocations: 120.7 MB / 1.579 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03981/0.9462, allocations: 22.66 MB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005448/0.9517, allocations: 115.2 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.006209/0.958, allocations: 1.347 MB / 1.603 GB, free: 139.5 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. [/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.01693/0.975, allocations: 4.263 MB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01319/0.9882, allocations: 3.127 MB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01421/1.002, allocations: 9.832 MB / 1.62 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005068/1.008, allocations: 2.258 MB / 1.622 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00712/1.015, allocations: 2.582 MB / 1.624 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00487/1.02, allocations: 2.189 MB / 1.626 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001156/1.021, allocations: 135.9 kB / 1.627 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007158/1.028, allocations: 1.594 MB / 1.628 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001539/1.03, allocations: 0.5911 MB / 1.629 GB, free: 113 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001923/1.032, allocations: 0.7344 MB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.008328/1.04, allocations: 4.609 MB / 1.634 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.04, allocations: 0 / 1.634 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.404e-06/1.04, allocations: 0 / 1.634 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001713/1.04, allocations: 0 / 1.634 GB, free: 107.7 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.009774/1.05, allocations: 3.382 MB / 1.637 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/1.05, allocations: 11.62 kB / 1.637 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01914/1.069, allocations: 1.369 MB / 1.639 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00744/1.077, allocations: 2.821 MB / 1.641 GB, free: 99.89 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/1.077, allocations: 260 kB / 1.642 GB, free: 99.62 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000791/1.078, allocations: 236 kB / 1.642 GB, free: 99.39 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/1.091, allocations: 3.184 MB / 1.645 GB, free: 96.02 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.415e-05/1.091, allocations: 11.94 kB / 1.645 GB, free: 96.01 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004487/1.091, allocations: 104 kB / 1.645 GB, free: 95.91 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/1.092, allocations: 75.88 kB / 1.645 GB, free: 95.83 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/1.108, allocations: 2.811 MB / 1.648 GB, free: 93 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.03017/1.138, allocations: 13.62 MB / 1.661 GB, free: 78.76 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007478/1.146, allocations: 1.436 MB / 1.663 GB, free: 77.32 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005657/1.152, allocations: 0.8886 MB / 1.663 GB, free: 76.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002208/1.154, allocations: 1.777 MB / 1.665 GB, free: 74.27 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006432/1.16, allocations: 1.154 MB / 1.666 GB, free: 73.05 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=126): time 5.39e-06/1.16, allocations: 0 / 1.666 GB, free: 73.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=132): time 0.05662/1.217, allocations: 9.775 MB / 1.676 GB, free: 63.12 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/1.217, allocations: 0.5766 MB / 1.676 GB, free: 62.41 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005926/1.223, allocations: 2.588 MB / 1.679 GB, free: 59.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004579/1.224, allocations: 65.69 kB / 1.679 GB, free: 59.73 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001399/1.225, allocations: 1.333 MB / 1.68 GB, free: 58.38 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006869/1.226, allocations: 461.5 kB / 1.681 GB, free: 57.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/1.226, allocations: 36 kB / 1.681 GB, free: 57.89 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.226, allocations: 373.9 kB / 1.681 GB, free: 57.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006773/1.233, allocations: 0.9485 MB / 1.682 GB, free: 56.57 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007439/1.24, allocations: 1.557 MB / 1.684 GB, free: 54.77 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007092/1.247, allocations: 1.094 MB / 1.685 GB, free: 53.67 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/1.248, allocations: 4 kB / 1.685 GB, free: 53.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02361/1.271, allocations: 3.376 MB / 1.688 GB, free: 50.28 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000265/1.271, allocations: 0.4939 MB / 1.688 GB, free: 49.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/1.271, allocations: 12 kB / 1.688 GB, free: 49.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004714/1.276, allocations: 0.928 MB / 1.689 GB, free: 48.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00512/1.281, allocations: 479.2 kB / 1.69 GB, free: 48.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004477/1.286, allocations: 2.196 MB / 1.692 GB, free: 45.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008513/1.294, allocations: 407.2 kB / 1.692 GB, free: 45.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004812/1.295, allocations: 107.9 kB / 1.692 GB, free: 45.46 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/1.295, allocations: 4 kB / 1.692 GB, free: 45.46 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02204/1.317, allocations: 3.087 MB / 1.695 GB, free: 42.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.173e-05/1.317, allocations: 12 kB / 1.695 GB, free: 42.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004527/1.322, allocations: 0.9319 MB / 1.696 GB, free: 41.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004986/1.327, allocations: 479.2 kB / 1.697 GB, free: 40.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004299/1.331, allocations: 2.201 MB / 1.699 GB, free: 38.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0076/1.339, allocations: 368.8 kB / 1.699 GB, free: 38.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004183/1.339, allocations: 103.9 kB / 1.699 GB, free: 38.25 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001757/1.341, allocations: 0.6998 MB / 1.7 GB, free: 37.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007359/1.342, allocations: 276.6 kB / 1.7 GB, free: 37.26 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/1.355, allocations: 2.318 MB / 1.703 GB, free: 34.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01152/1.366, allocations: 1.928 MB / 1.704 GB, free: 32.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/1.366, allocations: 0 / 1.704 GB, free: 32.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/1.368, allocations: 0.6379 MB / 1.705 GB, free: 32.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007606/1.369, allocations: 32 kB / 1.705 GB, free: 32.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006355/1.376, allocations: 278.5 kB / 1.705 GB, free: 31.98 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/1.376, allocations: 96.84 kB / 1.705 GB, free: 31.89 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01963/1.396, allocations: 3.203 MB / 1.709 GB, free: 28.67 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01764/1.413, allocations: 3.708 MB / 1.712 GB, free: 24.94 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005387/1.419, allocations: 0.8473 MB / 1.713 GB, free: 24.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.004419/1.423, allocations: 1.788 MB / 1.715 GB, free: 22.3 MB / 0.8542 GB Notification: Performance of Backend: time 1.783e-06/1.423, allocations: 0 / 1.715 GB, free: 22.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02121/1.444, allocations: 3.871 MB / 1.719 GB, free: 18.42 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01911/1.464, allocations: 7.173 MB / 1.726 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of Templates: time 0.7903/2.254, allocations: 84.93 MB / 1.809 GB, free: 207.3 MB / 0.8542 GB