Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 255.9 MB / 271.2 MB, free: 8.883 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 178.2 kB / 330.8 MB, free: 456 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.7 MB / 0.6016 GB, free: 1.641 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007389/0.0007389, allocations: 103.6 kB / 0.709 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003223, allocations: 8.562 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1829, allocations: 109.2 MB / 0.9328 GB, free: 6.273 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.5746/0.7576, allocations: 114.8 MB / 1.045 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0322/0.7898, allocations: 28.53 MB / 1.073 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005599/0.7954, allocations: 94.88 kB / 1.073 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00644/0.8019, allocations: 1.52 MB / 1.074 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01479/0.8168, allocations: 3.635 MB / 1.078 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.008886/0.8257, allocations: 2.5 MB / 1.08 GB, free: 6.852 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01622/0.8419, allocations: 10.33 MB / 1.09 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005597/0.8475, allocations: 2.18 MB / 1.093 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008481/0.8561, allocations: 2.519 MB / 1.095 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005421/0.8615, allocations: 2.237 MB / 1.097 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001234/0.8628, allocations: 138.3 kB / 1.097 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006758/0.8696, allocations: 1.729 MB / 1.099 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.8712, allocations: 0.7096 MB / 1.1 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004049/0.8752, allocations: 1.624 MB / 1.101 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.009397/0.8847, allocations: 5.222 MB / 1.106 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8847, allocations: 0 / 1.106 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.726e-06/0.8847, allocations: 0 / 1.106 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001861/0.8849, allocations: 3.188 kB / 1.106 GB, free: 7.168 MB / 0.6667 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.007936/0.8929, allocations: 3.215 MB / 1.109 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.8929, allocations: 17.48 kB / 1.11 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003181/0.8961, allocations: 0.6388 MB / 1.11 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005858/0.902, allocations: 2.55 MB / 1.113 GB, free: 1.836 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004497/0.9025, allocations: 306.7 kB / 1.113 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006186/0.9031, allocations: 200 kB / 1.113 GB, free: 1.316 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00609/0.9092, allocations: 2.559 MB / 1.116 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-05/0.9093, allocations: 7.938 kB / 1.116 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003296/0.9096, allocations: 87.98 kB / 1.116 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.326e-05/0.9097, allocations: 56 kB / 1.116 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005467/0.9152, allocations: 2.29 MB / 1.118 GB, free: 12.19 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.01788/0.9331, allocations: 11.44 MB / 1.129 GB, free: 256 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.9361, allocations: 1.34 MB / 1.13 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/0.9379, allocations: 0.8405 MB / 1.131 GB, free: 14.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.9389, allocations: 1.327 MB / 1.133 GB, free: 12.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002191/0.9412, allocations: 1.072 MB / 1.134 GB, free: 11.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=115): time 4.088e-06/0.9412, allocations: 4 kB / 1.134 GB, free: 11.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=115): time 0.005961/0.9472, allocations: 2.489 MB / 1.136 GB, free: 8.812 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/0.9474, allocations: 483.7 kB / 1.137 GB, free: 8.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004785/0.9522, allocations: 2.63 MB / 1.139 GB, free: 5.586 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002828/0.9525, allocations: 57.7 kB / 1.139 GB, free: 5.523 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.9538, allocations: 1.307 MB / 1.14 GB, free: 4.203 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005709/0.9544, allocations: 402.3 kB / 1.141 GB, free: 3.805 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.9545, allocations: 32 kB / 1.141 GB, free: 3.773 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.9547, allocations: 373.8 kB / 1.141 GB, free: 3.402 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.9566, allocations: 0.7964 MB / 1.142 GB, free: 2.605 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.9588, allocations: 1.336 MB / 1.143 GB, free: 1.051 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003698/0.9625, allocations: 1.93 MB / 1.145 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.9625, allocations: 0 / 1.145 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005275/0.9678, allocations: 2.319 MB / 1.147 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002797/0.9681, allocations: 426.4 kB / 1.148 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.9682, allocations: 8 kB / 1.148 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/0.9682, allocations: 20 kB / 1.148 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.97, allocations: 435.3 kB / 1.148 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.744e-05/0.9701, allocations: 27.88 kB / 1.148 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.9729, allocations: 329.7 kB / 1.149 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/0.9731, allocations: 71.97 kB / 1.149 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.9731, allocations: 4 kB / 1.149 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004338/0.9775, allocations: 2.043 MB / 1.151 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.9775, allocations: 8 kB / 1.151 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.9775, allocations: 20 kB / 1.151 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.9793, allocations: 427.7 kB / 1.151 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.141e-05/0.9793, allocations: 27.92 kB / 1.151 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/0.9826, allocations: 306.1 kB / 1.151 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/0.9828, allocations: 67.97 kB / 1.151 GB, free: 8.305 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001714/0.9845, allocations: 0.6923 MB / 1.152 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/0.9856, allocations: 276.7 kB / 1.152 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004786/0.9904, allocations: 2.156 MB / 1.155 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/0.9904, allocations: 19.98 kB / 1.155 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.9904, allocations: 8 kB / 1.155 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00328/0.9937, allocations: 1.712 MB / 1.156 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009875/1.004, allocations: 5.249 MB / 1.161 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/1.004, allocations: 12.16 kB / 1.161 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/1.005, allocations: 283.6 kB / 1.162 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.852e-05/1.005, allocations: 8 kB / 1.162 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/1.005, allocations: 39.97 kB / 1.162 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.287e-05/1.005, allocations: 11.94 kB / 1.162 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.005, allocations: 11.94 kB / 1.162 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006301/1.012, allocations: 3.18 MB / 1.165 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/1.013, allocations: 0.6259 MB / 1.165 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009117/1.014, allocations: 28 kB / 1.165 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002494/1.017, allocations: 183.6 kB / 1.166 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/1.017, allocations: 120.7 kB / 1.166 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/1.017, allocations: 55.91 kB / 1.166 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003606/1.021, allocations: 1.825 MB / 1.168 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.7e-07/1.021, allocations: 0 / 1.168 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005561/1.027, allocations: 1.423 MB / 1.169 GB, free: 6.055 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001794/1.028, allocations: 0.666 MB / 1.17 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007634/1.036, allocations: 3.101 MB / 1.173 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/1.036, allocations: 4.75 kB / 1.173 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002312/1.038, allocations: 0.9556 MB / 1.174 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01027/1.049, allocations: 1.396 MB / 1.175 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/1.06, allocations: 5.906 MB / 1.181 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002076/1.062, allocations: 1.766 MB / 1.182 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003931/1.066, allocations: 0.7012 MB / 1.183 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009969/1.067, allocations: 227.4 kB / 1.183 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/1.067, allocations: 3.938 kB / 1.183 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of Templates: time 0.0952/1.162, allocations: 57.13 MB / 1.239 GB, free: 14.68 MB / 0.8073 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)