Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") 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.794/1.794, allocations: 297.4 MB / 312.6 MB, free: 2.934 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.001143/0.001143, allocations: 194 kB / 382.3 MB, free: 14.82 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.414/1.414, allocations: 225.7 MB / 0.6617 GB, free: 7.234 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.0007822/0.0007822, allocations: 94.41 kB / 0.7789 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003913, allocations: 12.62 kB / 0.9058 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5552/0.5556, allocations: 119.2 MB / 1.022 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002263/0.5579, allocations: 2.013 MB / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.5599, allocations: 1.794 MB / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.5601, allocations: 2.156 kB / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008423/0.561, allocations: 268.4 kB / 1.026 GB, free: 55.3 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.5612, allocations: 59.28 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.5616, allocations: 104.3 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.5619, allocations: 314.4 kB / 1.027 GB, free: 55.07 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.562, allocations: 44.22 kB / 1.027 GB, free: 55.05 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.5622, allocations: 126.7 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.5625, allocations: 175.3 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.5626, allocations: 20.34 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.5627, allocations: 56.06 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.5629, allocations: 112.4 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.563, allocations: 185.4 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004747/0.5635, allocations: 482.9 kB / 1.028 GB, free: 54.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.5635, allocations: 2.406 kB / 1.028 GB, free: 54.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5635, allocations: 0 / 1.028 GB, free: 54.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.5636, allocations: 0 / 1.028 GB, free: 54.6 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.001129/0.5647, allocations: 0.6631 MB / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.5647, allocations: 8.25 kB / 1.029 GB, free: 54.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000828/0.5656, allocations: 175.3 kB / 1.029 GB, free: 54.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.566, allocations: 348.2 kB / 1.029 GB, free: 53.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.5661, allocations: 86.95 kB / 1.029 GB, free: 53.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.5662, allocations: 11.41 kB / 1.029 GB, free: 53.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006851/0.5668, allocations: 325.2 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5669, allocations: 0.7031 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.5669, allocations: 9.016 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.5669, allocations: 4.656 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.568, allocations: 453.3 kB / 1.03 GB, free: 53.44 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.5695, allocations: 0.8683 MB / 1.031 GB, free: 52.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.5701, allocations: 300.9 kB / 1.031 GB, free: 52.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004879/0.5706, allocations: 238.5 kB / 1.031 GB, free: 52.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.5706, allocations: 0 / 1.031 GB, free: 52.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.5707, allocations: 40.91 kB / 1.031 GB, free: 52.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.5707, allocations: 0 / 1.031 GB, free: 52.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001635/0.5723, allocations: 0.7115 MB / 1.032 GB, free: 52.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.5724, allocations: 58.69 kB / 1.032 GB, free: 52.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.5728, allocations: 416.9 kB / 1.032 GB, free: 52.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.5729, allocations: 30.86 kB / 1.032 GB, free: 52.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.573, allocations: 183 kB / 1.033 GB, free: 51.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.5731, allocations: 57.73 kB / 1.033 GB, free: 51.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.5731, allocations: 11.22 kB / 1.033 GB, free: 51.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.48e-05/0.5732, allocations: 342.4 kB / 1.033 GB, free: 51.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.5737, allocations: 221.7 kB / 1.033 GB, free: 51.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/0.5742, allocations: 253.4 kB / 1.033 GB, free: 51.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009207/0.5751, allocations: 415.4 kB / 1.034 GB, free: 51.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5751, allocations: 0 / 1.034 GB, free: 51.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001147/0.5763, allocations: 0.4965 MB / 1.034 GB, free: 51.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.5763, allocations: 5.688 kB / 1.034 GB, free: 51.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.5763, allocations: 7.734 kB / 1.034 GB, free: 51.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.5764, allocations: 0 / 1.034 GB, free: 51.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.5768, allocations: 72.61 kB / 1.034 GB, free: 51.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.5769, allocations: 5.75 kB / 1.034 GB, free: 51.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.5772, allocations: 50.83 kB / 1.034 GB, free: 51.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.5773, allocations: 8.094 kB / 1.034 GB, free: 51.05 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.0002177/0.5775, allocations: 168.5 kB / 1.035 GB, free: 50.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/0.5776, allocations: 41.88 kB / 1.035 GB, free: 50.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.973e-05/0.5777, allocations: 38.34 kB / 1.035 GB, free: 50.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5777, allocations: 4.297 kB / 1.035 GB, free: 50.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.5777, allocations: 3.938 kB / 1.035 GB, free: 50.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5777, allocations: 4.469 kB / 1.035 GB, free: 50.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006158/0.5783, allocations: 481 kB / 1.035 GB, free: 50.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.5784, allocations: 1.094 kB / 1.035 GB, free: 50.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004145/0.5788, allocations: 73.45 kB / 1.035 GB, free: 50.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5788, allocations: 2.781 kB / 1.035 GB, free: 50.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.5788, allocations: 6.812 kB / 1.035 GB, free: 50.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.5788, allocations: 1.172 kB / 1.035 GB, free: 50.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5789, allocations: 6.281 kB / 1.035 GB, free: 50.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.58, allocations: 0.5937 MB / 1.036 GB, free: 50.22 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.5802, allocations: 117.3 kB / 1.036 GB, free: 50.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.5802, allocations: 2.094 kB / 1.036 GB, free: 50.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.5806, allocations: 43.59 kB / 1.036 GB, free: 50.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.5807, allocations: 27.73 kB / 1.036 GB, free: 50.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.5808, allocations: 4.547 kB / 1.036 GB, free: 50.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004114/0.5812, allocations: 320 kB / 1.036 GB, free: 49.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5812, allocations: 0 / 1.036 GB, free: 49.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003876/0.5816, allocations: 65.28 kB / 1.036 GB, free: 49.92 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.0001665/0.5818, allocations: 115.3 kB / 1.037 GB, free: 49.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.5829, allocations: 469.6 kB / 1.037 GB, free: 49.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5829, allocations: 0 / 1.037 GB, free: 49.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000538/0.5834, allocations: 253.4 kB / 1.037 GB, free: 49.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.5839, allocations: 57.19 kB / 1.037 GB, free: 49.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.5852, allocations: 0.7968 MB / 1.038 GB, free: 49.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.5855, allocations: 0.7835 MB / 1.039 GB, free: 48.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003174/0.5858, allocations: 65.58 kB / 1.039 GB, free: 48.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.586, allocations: 25.78 kB / 1.039 GB, free: 48.41 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.586, allocations: 0 / 1.039 GB, free: 48.41 MB / 0.698 GB Notification: Performance of Templates: time 0.008196/0.5942, allocations: 3.985 MB / 1.043 GB, free: 48.2 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)