Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.687/4.687, allocations: 0.5623 GB / 0.5776 GB, free: 3.316 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.002547/0.002547, allocations: 356.9 kB / 0.6447 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.069/4.069, allocations: 410.7 MB / 1.113 GB, free: 5.965 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.001886/0.001886, allocations: 191.8 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.0005032, allocations: 12 kB / 1.349 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6967/0.6972, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1442/0.8414, allocations: 120.7 MB / 1.579 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03893/0.8804, allocations: 22.67 MB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00509/0.8856, allocations: 115.2 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.006219/0.8918, allocations: 1.362 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.01641/0.9083, allocations: 4.252 MB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01282/0.9211, allocations: 3.128 MB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01376/0.9349, allocations: 9.852 MB / 1.62 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004612/0.9396, allocations: 2.251 MB / 1.622 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006812/0.9464, allocations: 2.578 MB / 1.624 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004762/0.9512, allocations: 2.171 MB / 1.626 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0009729/0.9522, allocations: 128 kB / 1.627 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006803/0.959, allocations: 1.59 MB / 1.628 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.9603, allocations: 0.5872 MB / 1.629 GB, free: 113 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.9618, allocations: 0.7344 MB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.007871/0.9697, allocations: 4.59 MB / 1.634 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.9698, allocations: 0 / 1.634 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9698, allocations: 0 / 1.634 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001224/0.9699, 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.008765/0.9787, allocations: 3.351 MB / 1.637 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.9787, allocations: 11.62 kB / 1.637 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01842/0.9972, allocations: 1.377 MB / 1.639 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006831/1.004, allocations: 2.821 MB / 1.641 GB, free: 99.96 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002549/1.004, allocations: 247.9 kB / 1.642 GB, free: 99.71 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005684/1.005, allocations: 239.9 kB / 1.642 GB, free: 99.47 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/1.016, allocations: 3.15 MB / 1.645 GB, free: 96.14 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.695e-05/1.017, allocations: 7.938 kB / 1.645 GB, free: 96.13 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004204/1.017, allocations: 107.4 kB / 1.645 GB, free: 96.03 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.915e-05/1.017, allocations: 63.98 kB / 1.645 GB, free: 95.97 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/1.033, allocations: 2.776 MB / 1.648 GB, free: 93.18 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.02762/1.06, allocations: 13.29 MB / 1.661 GB, free: 79.27 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007051/1.067, allocations: 1.415 MB / 1.662 GB, free: 77.85 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005424/1.073, allocations: 0.9088 MB / 1.663 GB, free: 76.94 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002105/1.075, allocations: 1.781 MB / 1.665 GB, free: 74.77 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006074/1.081, allocations: 1.169 MB / 1.666 GB, free: 73.54 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=126): time 4.509e-06/1.081, allocations: 0 / 1.666 GB, free: 73.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=126): time 0.03802/1.119, allocations: 4.248 MB / 1.67 GB, free: 69.25 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.119, allocations: 0.5766 MB / 1.671 GB, free: 68.53 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005398/1.125, allocations: 2.477 MB / 1.673 GB, free: 66.04 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004544/1.125, allocations: 65.7 kB / 1.673 GB, free: 65.96 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001338/1.127, allocations: 1.338 MB / 1.674 GB, free: 64.61 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006228/1.127, allocations: 437.7 kB / 1.675 GB, free: 64.18 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/1.128, allocations: 36 kB / 1.675 GB, free: 64.14 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.128, allocations: 373.9 kB / 1.675 GB, free: 63.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006444/1.134, allocations: 0.9719 MB / 1.676 GB, free: 62.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007187/1.141, allocations: 1.552 MB / 1.678 GB, free: 61.01 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00688/1.148, allocations: 1.097 MB / 1.679 GB, free: 59.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/1.148, allocations: 4 kB / 1.679 GB, free: 59.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02159/1.17, allocations: 3.112 MB / 1.682 GB, free: 56.77 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002583/1.17, allocations: 487.9 kB / 1.682 GB, free: 56.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/1.17, allocations: 15.98 kB / 1.682 GB, free: 56.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003915/1.174, allocations: 0.7216 MB / 1.683 GB, free: 55.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005351/1.18, allocations: 0.5031 MB / 1.683 GB, free: 54.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/1.183, allocations: 1.806 MB / 1.685 GB, free: 53.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008841/1.192, allocations: 0.513 MB / 1.686 GB, free: 52.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005943/1.192, allocations: 103.9 kB / 1.686 GB, free: 52.42 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/1.193, allocations: 8 kB / 1.686 GB, free: 52.41 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02078/1.213, allocations: 2.825 MB / 1.689 GB, free: 49.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/1.213, allocations: 15.94 kB / 1.689 GB, free: 49.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003757/1.217, allocations: 0.7226 MB / 1.689 GB, free: 48.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005199/1.222, allocations: 499.2 kB / 1.69 GB, free: 48.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003243/1.226, allocations: 1.803 MB / 1.691 GB, free: 46.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007672/1.233, allocations: 467.2 kB / 1.692 GB, free: 46.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004876/1.234, allocations: 107.9 kB / 1.692 GB, free: 45.94 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (186): * Single equations (assignments): 183 * 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 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001881/1.236, allocations: 0.6886 MB / 1.693 GB, free: 45.24 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008472/1.237, allocations: 264.8 kB / 1.693 GB, free: 44.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02007/1.257, allocations: 2.611 MB / 1.696 GB, free: 42.36 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0189/1.276, allocations: 2.22 MB / 1.698 GB, free: 40.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/1.276, allocations: 0 / 1.698 GB, free: 40.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/1.278, allocations: 0.6418 MB / 1.698 GB, free: 39.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007201/1.278, allocations: 32 kB / 1.698 GB, free: 39.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005906/1.284, allocations: 278.7 kB / 1.699 GB, free: 39.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/1.285, allocations: 100.8 kB / 1.699 GB, free: 39.02 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01858/1.303, allocations: 3.1 MB / 1.702 GB, free: 35.91 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01691/1.32, allocations: 3.657 MB / 1.705 GB, free: 32.23 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005169/1.325, allocations: 0.8392 MB / 1.706 GB, free: 31.39 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.004122/1.33, allocations: 1.711 MB / 1.708 GB, free: 29.68 MB / 0.8542 GB Notification: Performance of Backend: time 6.21e-07/1.33, allocations: 0 / 1.708 GB, free: 29.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01966/1.349, allocations: 3.8 MB / 1.711 GB, free: 25.87 MB / 0.8542 GB Notification: Performance of SimCode: time 0.02237/1.372, allocations: 7.071 MB / 1.718 GB, free: 18.78 MB / 0.8542 GB Notification: Performance of Templates: time 0.7842/2.156, allocations: 81.43 MB / 1.798 GB, free: 218.4 MB / 0.8542 GB