Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.7/1.7, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.001012/0.001012, allocations: 179.4 kB / 393.1 MB, free: 4.078 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.368/1.368, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00081/0.0008102, allocations: 98.55 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 8 kB / 0.9224 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5377/0.5381, allocations: 121.3 MB / 1.041 GB, free: 58.51 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002067/0.5402, allocations: 2.017 MB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.542, allocations: 1.782 MB / 1.045 GB, free: 55.76 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.5421, allocations: 8.094 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000612/0.5428, allocations: 264.6 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.5429, allocations: 68.67 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.5432, allocations: 98.3 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.5434, allocations: 317.8 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.5435, allocations: 49.8 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.5437, allocations: 117.2 kB / 1.045 GB, free: 55.32 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.5439, allocations: 181.1 kB / 1.046 GB, free: 55.25 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.544, allocations: 18.28 kB / 1.046 GB, free: 55.25 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.5441, allocations: 55.69 kB / 1.046 GB, free: 55.24 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.5442, allocations: 113.1 kB / 1.046 GB, free: 55.19 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.5444, allocations: 182.2 kB / 1.046 GB, free: 55.06 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.5448, allocations: 484.3 kB / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5448, allocations: 1.219 kB / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5448, allocations: 0 / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5448, allocations: 0 / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001039/0.5459, allocations: 0.6585 MB / 1.047 GB, free: 54.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.5459, allocations: 11.16 kB / 1.047 GB, free: 54.42 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008339/0.5468, allocations: 171.8 kB / 1.047 GB, free: 54.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.5471, allocations: 353.8 kB / 1.048 GB, free: 54.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.635e-05/0.5472, allocations: 85.52 kB / 1.048 GB, free: 54.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.979e-05/0.5473, allocations: 16.19 kB / 1.048 GB, free: 54.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007667/0.5481, allocations: 321 kB / 1.048 GB, free: 53.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5481, allocations: 0 / 1.048 GB, free: 53.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.5481, allocations: 5.156 kB / 1.048 GB, free: 53.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.5482, allocations: 8.625 kB / 1.048 GB, free: 53.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.5493, allocations: 458.5 kB / 1.048 GB, free: 53.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.5509, allocations: 0.8736 MB / 1.049 GB, free: 53.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/0.5517, allocations: 305.5 kB / 1.05 GB, free: 53.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006217/0.5523, allocations: 235.6 kB / 1.05 GB, free: 53.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.5524, allocations: 2.594 kB / 1.05 GB, free: 53.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.5524, allocations: 31.69 kB / 1.05 GB, free: 52.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.974e-06/0.5524, allocations: 0 / 1.05 GB, free: 52.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001989/0.5544, allocations: 0.7091 MB / 1.051 GB, free: 52.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.5545, allocations: 63.69 kB / 1.051 GB, free: 52.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.5549, allocations: 419.7 kB / 1.051 GB, free: 52.47 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.555, allocations: 31.36 kB / 1.051 GB, free: 52.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.5551, allocations: 178.4 kB / 1.051 GB, free: 52.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.5551, allocations: 59.62 kB / 1.051 GB, free: 52.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.5552, allocations: 0 / 1.051 GB, free: 52.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.849e-05/0.5552, allocations: 347.7 kB / 1.052 GB, free: 51.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000525/0.5558, allocations: 218.1 kB / 1.052 GB, free: 51.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.5563, allocations: 249.1 kB / 1.052 GB, free: 51.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009479/0.5573, allocations: 410.9 kB / 1.052 GB, free: 51.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5573, allocations: 0 / 1.052 GB, free: 51.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001142/0.5584, allocations: 0.5026 MB / 1.053 GB, free: 51.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5585, allocations: 12 kB / 1.053 GB, free: 51.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.5585, allocations: 3.938 kB / 1.053 GB, free: 51.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.5585, allocations: 1.312 kB / 1.053 GB, free: 51.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/0.559, allocations: 73.88 kB / 1.053 GB, free: 51.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.559, allocations: 3.938 kB / 1.053 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.5593, allocations: 58.44 kB / 1.053 GB, free: 51.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.5594, allocations: 5.938 kB / 1.053 GB, free: 51.38 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0001663/0.5596, allocations: 166.7 kB / 1.053 GB, free: 51.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/0.5596, allocations: 32.42 kB / 1.053 GB, free: 51.22 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/0.5597, allocations: 47.06 kB / 1.053 GB, free: 51.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.5597, allocations: 1.594 kB / 1.053 GB, free: 51.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5597, allocations: 7.938 kB / 1.053 GB, free: 51.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5597, allocations: 1.219 kB / 1.053 GB, free: 51.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.5602, allocations: 488.9 kB / 1.054 GB, free: 50.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5602, allocations: 0 / 1.054 GB, free: 50.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/0.5606, allocations: 74.42 kB / 1.054 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5606, allocations: 2.469 kB / 1.054 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.5607, allocations: 4 kB / 1.054 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.5607, allocations: 2.594 kB / 1.054 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5607, allocations: 3.938 kB / 1.054 GB, free: 50.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.5618, allocations: 0.5943 MB / 1.054 GB, free: 50.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.855e-05/0.5619, allocations: 113 kB / 1.055 GB, free: 50.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/0.562, allocations: 7.75 kB / 1.055 GB, free: 50.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.5623, allocations: 47.2 kB / 1.055 GB, free: 50.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.5624, allocations: 25.72 kB / 1.055 GB, free: 50.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.5625, allocations: 8.094 kB / 1.055 GB, free: 50.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003034/0.5628, allocations: 307.4 kB / 1.055 GB, free: 50.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5628, allocations: 1.406 kB / 1.055 GB, free: 50.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003159/0.5631, allocations: 62.56 kB / 1.055 GB, free: 50.25 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001146/0.5632, allocations: 110.4 kB / 1.055 GB, free: 50.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.5644, allocations: 478 kB / 1.056 GB, free: 50.01 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5644, allocations: 0.7812 kB / 1.056 GB, free: 50.01 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005695/0.5649, allocations: 248 kB / 1.056 GB, free: 49.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.5654, allocations: 57.97 kB / 1.056 GB, free: 49.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.5668, allocations: 0.782 MB / 1.057 GB, free: 49.47 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.5671, allocations: 0.7977 MB / 1.057 GB, free: 48.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002907/0.5674, allocations: 59.72 kB / 1.057 GB, free: 48.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.5675, allocations: 27.16 kB / 1.057 GB, free: 48.73 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/0.5675, allocations: 0 / 1.057 GB, free: 48.73 MB / 0.698 GB Notification: Performance of Templates: time 0.007293/0.5748, allocations: 3.992 MB / 1.061 GB, free: 48.51 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)