Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_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.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.008/5.008, allocations: 0.5623 GB / 0.5776 GB, free: 3.324 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.002441/0.002441, allocations: 355 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.124/4.124, allocations: 410.7 MB / 1.113 GB, free: 5.988 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.001855/0.001854, allocations: 175.5 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004903, allocations: 15.98 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7366/0.7371, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1788/0.9159, allocations: 106.6 MB / 1.565 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03311/0.9491, allocations: 19.6 MB / 1.585 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004569/0.9537, allocations: 99.38 kB / 1.585 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.006332/0.9601, allocations: 1.452 MB / 1.586 GB, free: 156.6 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.0144/0.9745, allocations: 3.8 MB / 1.59 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01104/0.9856, allocations: 2.713 MB / 1.592 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01239/0.998, allocations: 8.86 MB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004253/1.002, allocations: 1.962 MB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00618/1.009, allocations: 2.357 MB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004431/1.013, allocations: 2.135 MB / 1.607 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0009629/1.014, allocations: 136 kB / 1.608 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005456/1.02, allocations: 1.114 MB / 1.609 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001508/1.021, allocations: 0.7083 MB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001668/1.023, allocations: 0.6641 MB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006769/1.03, allocations: 4.06 MB / 1.614 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.03, allocations: 0 / 1.614 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.464e-06/1.03, allocations: 0 / 1.614 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001288/1.03, allocations: 0 / 1.614 GB, free: 128.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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.009208/1.039, allocations: 3.237 MB / 1.617 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.039, allocations: 11.62 kB / 1.617 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/1.044, allocations: 0.644 MB / 1.618 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006191/1.05, allocations: 2.469 MB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003442/1.05, allocations: 298.7 kB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004862/1.051, allocations: 204 kB / 1.621 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007332/1.058, allocations: 2.594 MB / 1.623 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.032e-05/1.058, allocations: 7.938 kB / 1.623 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003768/1.059, allocations: 87.98 kB / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.129e-05/1.059, allocations: 59.98 kB / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008112/1.067, allocations: 2.282 MB / 1.626 GB, free: 116 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.02147/1.088, allocations: 11.47 MB / 1.637 GB, free: 104 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004782/1.093, allocations: 1.333 MB / 1.638 GB, free: 102.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003002/1.096, allocations: 0.8469 MB / 1.639 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/1.098, allocations: 1.327 MB / 1.64 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003728/1.101, allocations: 1.095 MB / 1.641 GB, free: 99.07 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=115): time 5.059e-06/1.101, allocations: 3.938 kB / 1.641 GB, free: 99.06 MB / 0.8542 GB Notification: Performance of matching and sorting (n=115): time 0.009503/1.111, allocations: 2.481 MB / 1.644 GB, free: 96.58 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/1.111, allocations: 483.6 kB / 1.644 GB, free: 96 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004997/1.116, allocations: 2.641 MB / 1.647 GB, free: 93.34 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004475/1.117, allocations: 61.7 kB / 1.647 GB, free: 93.27 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001321/1.118, allocations: 1.299 MB / 1.648 GB, free: 91.96 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006429/1.119, allocations: 398.3 kB / 1.648 GB, free: 91.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/1.119, allocations: 28 kB / 1.648 GB, free: 91.54 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.119, allocations: 365.9 kB / 1.649 GB, free: 91.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002928/1.122, allocations: 0.7925 MB / 1.65 GB, free: 90.38 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00341/1.125, allocations: 1.332 MB / 1.651 GB, free: 88.83 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003205/1.128, allocations: 0.9175 MB / 1.652 GB, free: 87.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/1.129, allocations: 4 kB / 1.652 GB, free: 87.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.008015/1.137, allocations: 2.311 MB / 1.654 GB, free: 85.58 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002298/1.137, allocations: 429.7 kB / 1.654 GB, free: 85.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/1.137, allocations: 16 kB / 1.654 GB, free: 85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.773e-05/1.137, allocations: 20 kB / 1.654 GB, free: 84.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003472/1.14, allocations: 427.3 kB / 1.655 GB, free: 84.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.69e-05/1.14, allocations: 23.94 kB / 1.655 GB, free: 84.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/1.145, allocations: 337.7 kB / 1.655 GB, free: 84.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003866/1.145, allocations: 67.97 kB / 1.655 GB, free: 84.14 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.145, allocations: 4 kB / 1.655 GB, free: 84.13 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006914/1.152, allocations: 2.047 MB / 1.657 GB, free: 82.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/1.152, allocations: 11.98 kB / 1.657 GB, free: 82.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/1.152, allocations: 20 kB / 1.657 GB, free: 82.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003395/1.156, allocations: 432.1 kB / 1.658 GB, free: 81.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.429e-05/1.156, allocations: 31.88 kB / 1.658 GB, free: 81.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004121/1.16, allocations: 306 kB / 1.658 GB, free: 81.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003582/1.16, allocations: 67.98 kB / 1.658 GB, free: 81.23 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,reaToInt.y,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00175/1.162, allocations: 0.6975 MB / 1.659 GB, free: 80.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008447/1.163, allocations: 276.6 kB / 1.659 GB, free: 80.25 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007111/1.17, allocations: 2.166 MB / 1.661 GB, free: 78.07 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005634/1.176, allocations: 1.716 MB / 1.663 GB, free: 76.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/1.176, allocations: 0 / 1.663 GB, free: 76.31 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/1.178, allocations: 0.626 MB / 1.663 GB, free: 75.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000827/1.179, allocations: 27.98 kB / 1.664 GB, free: 75.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003842/1.182, allocations: 183.2 kB / 1.664 GB, free: 75.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004842/1.183, allocations: 100.8 kB / 1.664 GB, free: 75.36 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008052/1.191, allocations: 2.24 MB / 1.666 GB, free: 73.11 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01045/1.202, allocations: 3.471 MB / 1.669 GB, free: 69.61 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003047/1.205, allocations: 0.8784 MB / 1.67 GB, free: 68.73 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003981/1.209, allocations: 1.805 MB / 1.672 GB, free: 66.93 MB / 0.8542 GB Notification: Performance of Backend: time 1.253e-06/1.209, allocations: 0 / 1.672 GB, free: 66.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.221, allocations: 3.064 MB / 1.675 GB, free: 63.85 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01778/1.238, allocations: 6.517 MB / 1.681 GB, free: 57.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.7497/1.988, allocations: 65.75 MB / 1.746 GB, free: 261 MB / 0.8542 GB