Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.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.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.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.782/1.782, allocations: 297.4 MB / 312.6 MB, free: 2.941 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.001557/0.001557, allocations: 174 kB / 382.3 MB, free: 14.85 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.362/1.362, allocations: 225.7 MB / 0.6617 GB, free: 7.211 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.0007443/0.0007446, allocations: 98.5 kB / 0.7789 GB, free: 46.84 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003498, allocations: 11.98 kB / 0.9058 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5657/0.5661, allocations: 119.2 MB / 1.022 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.04464/0.6108, allocations: 62.04 MB / 1.083 GB, free: 11.85 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.6275, allocations: 19.32 MB / 1.102 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/0.6297, allocations: 52.06 kB / 1.102 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002613/0.6324, allocations: 0.8918 MB / 1.103 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006145/0.6385, allocations: 2.192 MB / 1.105 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004642/0.6432, allocations: 1.472 MB / 1.106 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006988/0.6502, allocations: 5.426 MB / 1.112 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.6525, allocations: 1.165 MB / 1.113 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.6557, allocations: 1.412 MB / 1.114 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.658, allocations: 1.225 MB / 1.115 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004732/0.6585, allocations: 78.97 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003286/0.6618, allocations: 1.233 MB / 1.117 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006559/0.6625, allocations: 397.6 kB / 1.117 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001634/0.6642, allocations: 0.9076 MB / 1.118 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004051/0.6682, allocations: 3.028 MB / 1.121 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6682, allocations: 4 kB / 1.121 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6683, allocations: 0 / 1.121 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.424e-05/0.6683, allocations: 0 / 1.121 GB, free: 2.719 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003808/0.6721, allocations: 2.013 MB / 1.123 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.6722, allocations: 13.06 kB / 1.123 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.6735, allocations: 348.7 kB / 1.123 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/0.6759, allocations: 1.446 MB / 1.124 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.6761, allocations: 156.2 kB / 1.125 GB, free: 416 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.6763, allocations: 107.9 kB / 1.125 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/0.6792, allocations: 1.476 MB / 1.126 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.6792, allocations: 1.344 kB / 1.126 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.6794, allocations: 51.58 kB / 1.126 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/0.6794, allocations: 32.58 kB / 1.126 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003221/0.6827, allocations: 1.436 MB / 1.128 GB, free: 15.19 MB / 0.7292 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.00807/0.6907, allocations: 6.649 MB / 1.134 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.6929, allocations: 1.215 MB / 1.135 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/0.6942, allocations: 0.6057 MB / 1.136 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008153/0.695, allocations: 1.144 MB / 1.137 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.6951, allocations: 44.09 kB / 1.137 GB, free: 7.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=77): time 3.096e-06/0.6951, allocations: 4 kB / 1.137 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77): time 0.004136/0.6992, allocations: 1.729 MB / 1.139 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.6993, allocations: 115.9 kB / 1.139 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.7013, allocations: 1.376 MB / 1.14 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.7014, allocations: 43.27 kB / 1.14 GB, free: 6.676 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/0.702, allocations: 0.7124 MB / 1.141 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.7023, allocations: 265.5 kB / 1.141 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.7023, allocations: 15.84 kB / 1.141 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.7025, allocations: 340.3 kB / 1.142 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.7037, allocations: 0.5295 MB / 1.142 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.7052, allocations: 0.7693 MB / 1.143 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/0.7078, allocations: 1.222 MB / 1.144 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.7078, allocations: 2 kB / 1.144 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003499/0.7113, allocations: 1.444 MB / 1.145 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.7115, allocations: 232.1 kB / 1.146 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.7115, allocations: 4.719 kB / 1.146 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.7115, allocations: 13.03 kB / 1.146 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.7127, allocations: 304.7 kB / 1.146 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.7128, allocations: 15.02 kB / 1.146 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.7142, allocations: 220.9 kB / 1.146 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/0.7143, allocations: 35.14 kB / 1.146 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.7143, allocations: 12.34 kB / 1.146 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002712/0.717, allocations: 1.281 MB / 1.147 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.7171, allocations: 5.469 kB / 1.147 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.7171, allocations: 8.281 kB / 1.147 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.7182, allocations: 297.6 kB / 1.148 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.7182, allocations: 15.12 kB / 1.148 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.7196, allocations: 207.6 kB / 1.148 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/0.7197, allocations: 38.72 kB / 1.148 GB, free: 2.922 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0007994/0.7205, allocations: 468.2 kB / 1.148 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.7208, allocations: 151.8 kB / 1.149 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/0.724, allocations: 1.567 MB / 1.15 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.724, allocations: 9.328 kB / 1.15 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.724, allocations: 0 / 1.15 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002565/0.7266, allocations: 1.203 MB / 1.151 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005876/0.7325, allocations: 3.193 MB / 1.154 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.7325, allocations: 4.125 kB / 1.154 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009695/0.7335, allocations: 218.8 kB / 1.155 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.7335, allocations: 8.25 kB / 1.155 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.601e-05/0.7336, allocations: 20.91 kB / 1.155 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.7336, allocations: 15.56 kB / 1.155 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7336, allocations: 6.156 kB / 1.155 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004449/0.7381, allocations: 2.214 MB / 1.157 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007833/0.7389, allocations: 408.7 kB / 1.157 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/0.7391, allocations: 21.09 kB / 1.157 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.7404, allocations: 169.8 kB / 1.157 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/0.7406, allocations: 77.8 kB / 1.158 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.97e-05/0.7407, allocations: 43.73 kB / 1.158 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001629/0.7423, allocations: 1.052 MB / 1.159 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7423, allocations: 3.938 kB / 1.159 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001985/0.7443, allocations: 0.7908 MB / 1.159 GB, free: 13.89 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0009139/0.7453, allocations: 472.2 kB / 1.16 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004529/0.7498, allocations: 1.942 MB / 1.162 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.7498, allocations: 0.9375 kB / 1.162 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.7515, allocations: 0.6954 MB / 1.162 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/0.7561, allocations: 0.8275 MB / 1.163 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/0.761, allocations: 3.384 MB / 1.166 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009697/0.762, allocations: 1.27 MB / 1.168 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002098/0.7641, allocations: 402.7 kB / 1.168 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004509/0.7646, allocations: 133.8 kB / 1.168 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of SimCode: time 6.22e-07/0.7646, allocations: 0 / 1.168 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of Templates: time 0.05289/0.8175, allocations: 33.28 MB / 1.201 GB, free: 8.074 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)