Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 297.4 MB / 312.6 MB, free: 2.98 MB / 234.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.0009683/0.0009683, allocations: 186 kB / 382.3 MB, free: 14.87 MB / 314.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.452/1.452, allocations: 225.7 MB / 0.6617 GB, free: 7.18 MB / 490.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.0008357/0.0008358, allocations: 91.84 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005916/0.0005917, allocations: 12 kB / 0.9058 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5728/0.5734, allocations: 119.2 MB / 1.022 GB, free: 58.05 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.08502/0.6585, allocations: 114.8 MB / 1.134 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03264/0.6912, allocations: 28.6 MB / 1.162 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004088/0.6953, allocations: 95.41 kB / 1.162 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004775/0.7001, allocations: 1.523 MB / 1.164 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.7106, allocations: 3.64 MB / 1.167 GB, free: 9.535 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.008264/0.7189, allocations: 2.637 MB / 1.17 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01345/0.7324, allocations: 10.34 MB / 1.18 GB, free: 4.098 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004037/0.7364, allocations: 2.19 MB / 1.182 GB, free: 3.18 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006293/0.7428, allocations: 2.527 MB / 1.185 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004962/0.7478, allocations: 2.24 MB / 1.187 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0007949/0.7486, allocations: 140.6 kB / 1.187 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0057/0.7543, allocations: 1.737 MB / 1.189 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.7556, allocations: 0.7268 MB / 1.189 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.003291/0.7589, allocations: 1.643 MB / 1.191 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.009106/0.768, allocations: 5.271 MB / 1.196 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.768, allocations: 0 / 1.196 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.886e-06/0.768, allocations: 0.6562 kB / 1.196 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001396/0.7682, allocations: 0 / 1.196 GB, free: 12.02 MB / 0.7761 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.007555/0.7758, allocations: 3.221 MB / 1.199 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.7758, allocations: 8.031 kB / 1.199 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003271/0.7791, allocations: 0.6483 MB / 1.2 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004704/0.7838, allocations: 2.553 MB / 1.202 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003656/0.7842, allocations: 310.6 kB / 1.203 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004153/0.7846, allocations: 204 kB / 1.203 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005108/0.7898, allocations: 2.589 MB / 1.206 GB, free: 2.621 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.536e-05/0.7898, allocations: 3.938 kB / 1.206 GB, free: 2.617 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/0.7901, allocations: 88 kB / 1.206 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.885e-05/0.7901, allocations: 59.98 kB / 1.206 GB, free: 2.473 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005049/0.7952, allocations: 2.286 MB / 1.208 GB, free: 188 kB / 0.7761 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.01716/0.8124, allocations: 11.48 MB / 1.219 GB, free: 4.195 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003122/0.8155, allocations: 1.344 MB / 1.22 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/0.8174, allocations: 0.8405 MB / 1.221 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.8185, allocations: 1.331 MB / 1.223 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002386/0.8209, allocations: 1.091 MB / 1.224 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=115): time 3.527e-06/0.8209, allocations: 0 / 1.224 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=115): time 0.006269/0.8272, allocations: 2.481 MB / 1.226 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002391/0.8275, allocations: 487.6 kB / 1.226 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00492/0.8324, allocations: 2.637 MB / 1.229 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002968/0.8327, allocations: 57.7 kB / 1.229 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.834, allocations: 1.299 MB / 1.23 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005356/0.8345, allocations: 398.3 kB / 1.231 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.8347, allocations: 32 kB / 1.231 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.8349, allocations: 369.8 kB / 1.231 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.8368, allocations: 0.8042 MB / 1.232 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/0.8391, allocations: 1.336 MB / 1.233 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003791/0.8429, allocations: 1.926 MB / 1.235 GB, free: 2.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.843, allocations: 3.938 kB / 1.235 GB, free: 2.906 MB / 0.8073 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005274/0.8482, allocations: 2.319 MB / 1.237 GB, free: 0.5703 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003268/0.8486, allocations: 426.5 kB / 1.238 GB, free: 12 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.8486, allocations: 8 kB / 1.238 GB, free: 4 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.907e-05/0.8487, allocations: 20.05 kB / 1.238 GB, free: 15.98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/0.8505, allocations: 435.2 kB / 1.238 GB, free: 15.56 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.768e-05/0.8506, allocations: 31.86 kB / 1.238 GB, free: 15.53 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/0.8532, allocations: 341.7 kB / 1.239 GB, free: 15.19 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.8534, allocations: 67.97 kB / 1.239 GB, free: 15.12 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.8534, allocations: 4 kB / 1.239 GB, free: 15.12 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004586/0.858, allocations: 2.043 MB / 1.241 GB, free: 13.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.8581, allocations: 8 kB / 1.241 GB, free: 13.06 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.8581, allocations: 20 kB / 1.241 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.8599, allocations: 431.7 kB / 1.241 GB, free: 12.62 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.548e-05/0.86, allocations: 23.94 kB / 1.241 GB, free: 12.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003011/0.863, allocations: 314 kB / 1.241 GB, free: 12.29 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/0.8633, allocations: 63.98 kB / 1.241 GB, free: 12.23 MB / 0.823 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.002184/0.8655, allocations: 0.6996 MB / 1.242 GB, free: 11.52 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008837/0.8664, allocations: 280.6 kB / 1.242 GB, free: 11.24 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004992/0.8714, allocations: 2.158 MB / 1.245 GB, free: 9.055 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.961e-05/0.8714, allocations: 16 kB / 1.245 GB, free: 9.039 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.8714, allocations: 12 kB / 1.245 GB, free: 9.027 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003474/0.8749, allocations: 1.712 MB / 1.246 GB, free: 7.266 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.8851, allocations: 5.269 MB / 1.251 GB, free: 1.848 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.8851, allocations: 8.031 kB / 1.251 GB, free: 1.84 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.8866, allocations: 283.6 kB / 1.252 GB, free: 1.562 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.816e-05/0.8866, allocations: 12 kB / 1.252 GB, free: 1.551 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.8867, allocations: 35.98 kB / 1.252 GB, free: 1.516 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.438e-05/0.8867, allocations: 15.92 kB / 1.252 GB, free: 1.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.8868, allocations: 11.94 kB / 1.252 GB, free: 1.488 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006563/0.8933, allocations: 3.18 MB / 1.255 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/0.8948, allocations: 0.6299 MB / 1.255 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006284/0.8954, allocations: 32 kB / 1.255 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/0.8975, allocations: 184.6 kB / 1.256 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/0.8978, allocations: 116.7 kB / 1.256 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/0.898, allocations: 63.95 kB / 1.256 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003287/0.9013, allocations: 1.825 MB / 1.258 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9013, allocations: 0 / 1.258 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004268/0.9055, allocations: 1.427 MB / 1.259 GB, free: 9.918 MB / 0.8386 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.001547/0.9071, allocations: 0.6641 MB / 1.26 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00672/0.9138, allocations: 3.097 MB / 1.263 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/0.9139, allocations: 5.422 kB / 1.263 GB, free: 6.141 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002195/0.9161, allocations: 0.9633 MB / 1.264 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009129/0.9252, allocations: 1.407 MB / 1.265 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009131/0.9344, allocations: 5.902 MB / 1.271 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/0.9361, allocations: 1.762 MB / 1.272 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003695/0.9398, allocations: 0.7051 MB / 1.273 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000957/0.9408, allocations: 227.4 kB / 1.273 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of SimCode: time 1.213e-06/0.9408, allocations: 0 / 1.273 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of Templates: time 0.09334/1.034, allocations: 57.58 MB / 1.33 GB, free: 2.105 MB / 0.9011 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)