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 4.711/4.711, allocations: 0.5623 GB / 0.5769 GB, free: 3.348 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.004691/0.00469, allocations: 356.8 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.766/3.766, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001652/0.001652, allocations: 172 kB / 1.225 GB, free: 35.97 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005175, allocations: 13.59 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1496, allocations: 115.3 MB / 1.461 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.6587/0.8084, allocations: 106.6 MB / 1.565 GB, free: 28.59 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03056/0.839, allocations: 19.61 MB / 1.584 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004468/0.8435, allocations: 99.44 kB / 1.584 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.005209/0.8487, allocations: 1.444 MB / 1.586 GB, free: 14.37 MB / 0.6667 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.01363/0.8624, allocations: 3.822 MB / 1.589 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.8727, allocations: 2.706 MB / 1.592 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01293/0.8857, allocations: 8.858 MB / 1.601 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004094/0.8898, allocations: 1.96 MB / 1.602 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006073/0.8959, allocations: 2.358 MB / 1.605 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003969/0.8999, allocations: 2.142 MB / 1.607 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0006064/0.9006, allocations: 134.7 kB / 1.607 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004616/0.9052, allocations: 1.1 MB / 1.608 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0008949/0.9061, allocations: 0.7087 MB / 1.609 GB, free: 1.469 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.9074, allocations: 0.6667 MB / 1.609 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.006291/0.9137, allocations: 4.06 MB / 1.613 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.9137, allocations: 7.922 kB / 1.613 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.44e-06/0.9137, allocations: 2.562 kB / 1.613 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.505e-05/0.9138, allocations: 0 / 1.613 GB, free: 14.25 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.007848/0.9217, allocations: 3.232 MB / 1.617 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.9217, allocations: 6.875 kB / 1.617 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/0.9252, allocations: 0.6467 MB / 1.617 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00626/0.9315, allocations: 2.464 MB / 1.62 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000397/0.932, allocations: 306.5 kB / 1.62 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003939/0.9324, allocations: 200.3 kB / 1.62 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00655/0.9389, allocations: 2.59 MB / 1.623 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.119e-05/0.939, allocations: 11.94 kB / 1.623 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003245/0.9394, allocations: 91.98 kB / 1.623 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.721e-05/0.9395, allocations: 59.98 kB / 1.623 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006784/0.9463, allocations: 2.282 MB / 1.625 GB, free: 4.883 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.02172/0.968, allocations: 11.47 MB / 1.636 GB, free: 8.914 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004164/0.9722, allocations: 1.337 MB / 1.637 GB, free: 7.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002529/0.9748, allocations: 0.847 MB / 1.638 GB, free: 6.719 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/0.9762, allocations: 1.323 MB / 1.64 GB, free: 5.102 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003036/0.9793, allocations: 1.102 MB / 1.641 GB, free: 3.949 MB / 0.698 GB Notification: Performance of pre-optimization done (n=115): time 4.837e-06/0.9793, allocations: 0 / 1.641 GB, free: 3.949 MB / 0.698 GB Notification: Performance of matching and sorting (n=115): time 0.007963/0.9873, allocations: 2.481 MB / 1.643 GB, free: 1.461 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002933/0.9876, allocations: 487.6 kB / 1.644 GB, free: 0.875 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005363/0.993, allocations: 2.645 MB / 1.646 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003713/0.9934, allocations: 57.7 kB / 1.646 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001646/0.9951, allocations: 1.292 MB / 1.647 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006866/0.9958, allocations: 402.3 kB / 1.648 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.996, allocations: 32 kB / 1.648 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002261/0.9962, allocations: 365.8 kB / 1.648 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002471/0.9987, allocations: 0.8003 MB / 1.649 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003067/1.002, allocations: 1.328 MB / 1.65 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002685/1.004, allocations: 0.9175 MB / 1.651 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/1.005, allocations: 4 kB / 1.651 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.006902/1.011, allocations: 2.307 MB / 1.653 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003884/1.012, allocations: 438.5 kB / 1.654 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/1.012, allocations: 8 kB / 1.654 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.445e-05/1.012, allocations: 23.95 kB / 1.654 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002362/1.014, allocations: 427.4 kB / 1.654 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.801e-05/1.014, allocations: 23.92 kB / 1.654 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/1.018, allocations: 337.7 kB / 1.655 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/1.018, allocations: 75.97 kB / 1.655 GB, free: 5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.018, allocations: 4 kB / 1.655 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006094/1.024, allocations: 2.043 MB / 1.657 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/1.024, allocations: 12 kB / 1.657 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/1.024, allocations: 20 kB / 1.657 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/1.026, allocations: 419.9 kB / 1.657 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-05/1.027, allocations: 23.92 kB / 1.657 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/1.03, allocations: 314 kB / 1.657 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003282/1.03, allocations: 63.98 kB / 1.658 GB, free: 2.109 MB / 0.7136 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.001921/1.032, allocations: 0.6997 MB / 1.658 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008187/1.033, allocations: 280.6 kB / 1.658 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006229/1.039, allocations: 2.171 MB / 1.661 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.159e-05/1.039, allocations: 16 kB / 1.661 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.389e-06/1.039, allocations: 0 / 1.661 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004858/1.044, allocations: 1.719 MB / 1.662 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/1.057, allocations: 5.28 MB / 1.667 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.057, allocations: 4 kB / 1.667 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/1.059, allocations: 283.7 kB / 1.668 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.057e-05/1.059, allocations: 12 kB / 1.668 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/1.059, allocations: 35.98 kB / 1.668 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.801e-05/1.059, allocations: 19.88 kB / 1.668 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/1.059, allocations: 11.94 kB / 1.668 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008608/1.068, allocations: 3.18 MB / 1.671 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001945/1.07, allocations: 0.6299 MB / 1.672 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000557/1.071, allocations: 32 kB / 1.672 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002374/1.073, allocations: 179.7 kB / 1.672 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003356/1.073, allocations: 128.6 kB / 1.672 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/1.073, allocations: 59.95 kB / 1.672 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003807/1.077, allocations: 1.821 MB / 1.674 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.5e-07/1.077, allocations: 0 / 1.674 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005569/1.083, allocations: 1.435 MB / 1.675 GB, free: 15.79 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,reaToInt.y,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001521/1.084, allocations: 0.6087 MB / 1.676 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.008712/1.093, allocations: 3.105 MB / 1.679 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.093, allocations: 448 / 1.679 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002988/1.096, allocations: 0.9602 MB / 1.68 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008303/1.105, allocations: 1.33 MB / 1.681 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.116, allocations: 5.64 MB / 1.686 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/1.118, allocations: 1.808 MB / 1.688 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004545/1.123, allocations: 0.6979 MB / 1.689 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009374/1.124, allocations: 219.3 kB / 1.689 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of SimCode: time 1.673e-06/1.124, allocations: 0 / 1.689 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of Templates: time 0.1222/1.246, allocations: 52.35 MB / 1.74 GB, free: 13.64 MB / 0.8073 GB