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.Examples.EquationFitReversible.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.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") 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.398/1.398, allocations: 255.9 MB / 271.2 MB, free: 8.898 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.0009656/0.0009659, allocations: 193.8 kB / 330.8 MB, free: 464 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.678/1.678, allocations: 225.7 MB / 0.6016 GB, free: 15.91 MB / 442.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.0008031/0.0008031, allocations: 105.4 kB / 0.709 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 12.48 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.203, allocations: 109.2 MB / 0.9327 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05146/0.2545, allocations: 62.09 MB / 0.9934 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0209/0.2755, allocations: 19.28 MB / 1.012 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002624/0.2781, allocations: 55.62 kB / 1.012 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00313/0.2813, allocations: 0.8938 MB / 1.013 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006805/0.2881, allocations: 2.181 MB / 1.015 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.4163/0.7044, allocations: 1.403 MB / 1.017 GB, free: 39.46 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007281/0.7117, allocations: 5.421 MB / 1.022 GB, free: 39.46 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.7138, allocations: 1.154 MB / 1.023 GB, free: 39.33 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003068/0.7169, allocations: 1.391 MB / 1.024 GB, free: 39.32 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002183/0.7191, allocations: 1.232 MB / 1.026 GB, free: 39.26 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002795/0.7194, allocations: 71.97 kB / 1.026 GB, free: 39.26 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/0.7223, allocations: 1.247 MB / 1.027 GB, free: 39.26 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005111/0.7228, allocations: 387.9 kB / 1.027 GB, free: 39.2 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.724, allocations: 0.9009 MB / 1.028 GB, free: 38.89 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004516/0.7285, allocations: 2.988 MB / 1.031 GB, free: 38.59 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.7285, allocations: 4 kB / 1.031 GB, free: 38.59 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7285, allocations: 0.625 kB / 1.031 GB, free: 38.59 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.371e-05/0.7286, allocations: 0 / 1.031 GB, free: 38.59 MB / 0.6511 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.004638/0.7332, allocations: 2.022 MB / 1.033 GB, free: 37.53 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.7333, allocations: 14.33 kB / 1.033 GB, free: 37.53 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.7347, allocations: 343.2 kB / 1.033 GB, free: 37.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002429/0.7372, allocations: 1.427 MB / 1.035 GB, free: 36.99 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.7374, allocations: 166.8 kB / 1.035 GB, free: 36.92 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.7375, allocations: 107.4 kB / 1.035 GB, free: 36.92 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.7405, allocations: 1.465 MB / 1.036 GB, free: 36.67 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.7406, allocations: 3.172 kB / 1.036 GB, free: 36.67 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.7407, allocations: 53.77 kB / 1.037 GB, free: 36.67 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-05/0.7407, allocations: 29.47 kB / 1.037 GB, free: 36.67 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003487/0.7442, allocations: 1.438 MB / 1.038 GB, free: 36.63 MB / 0.6511 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.009469/0.7537, allocations: 6.617 MB / 1.044 GB, free: 33.17 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.756, allocations: 1.228 MB / 1.046 GB, free: 32.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.7575, allocations: 0.6024 MB / 1.046 GB, free: 32.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006281/0.7582, allocations: 1.143 MB / 1.047 GB, free: 31.42 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.7582, allocations: 40.66 kB / 1.047 GB, free: 31.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=77): time 4.018e-06/0.7582, allocations: 4 kB / 1.047 GB, free: 31.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77): time 0.004615/0.7629, allocations: 1.732 MB / 1.049 GB, free: 31.24 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.7629, allocations: 115.4 kB / 1.049 GB, free: 31.12 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.7652, allocations: 1.371 MB / 1.05 GB, free: 30.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.7654, allocations: 43.83 kB / 1.051 GB, free: 30.92 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004869/0.7658, allocations: 0.7105 MB / 1.051 GB, free: 30.68 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.7661, allocations: 271.3 kB / 1.051 GB, free: 30.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.7662, allocations: 15.5 kB / 1.052 GB, free: 30.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.7663, allocations: 344.6 kB / 1.052 GB, free: 30.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.7675, allocations: 0.5281 MB / 1.052 GB, free: 30.19 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.7689, allocations: 0.7756 MB / 1.053 GB, free: 29.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00238/0.7713, allocations: 1.223 MB / 1.054 GB, free: 29.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.7713, allocations: 3.562 kB / 1.054 GB, free: 29.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003215/0.7745, allocations: 1.442 MB / 1.056 GB, free: 29.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.7747, allocations: 230.9 kB / 1.056 GB, free: 29.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.7747, allocations: 5.281 kB / 1.056 GB, free: 29.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.7747, allocations: 9.719 kB / 1.056 GB, free: 29.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.7759, allocations: 304 kB / 1.056 GB, free: 29.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.7759, allocations: 10.59 kB / 1.056 GB, free: 29.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.7776, allocations: 218.5 kB / 1.056 GB, free: 29.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.7777, allocations: 39.5 kB / 1.056 GB, free: 29.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.7777, allocations: 7.406 kB / 1.056 GB, free: 29.27 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002593/0.7803, allocations: 1.282 MB / 1.058 GB, free: 29.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.7803, allocations: 5.844 kB / 1.058 GB, free: 29.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.7803, allocations: 7.062 kB / 1.058 GB, free: 29.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.7815, allocations: 296.7 kB / 1.058 GB, free: 29.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.7815, allocations: 11.72 kB / 1.058 GB, free: 29.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.783, allocations: 209.9 kB / 1.058 GB, free: 29.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.7831, allocations: 38.67 kB / 1.058 GB, free: 29.19 MB / 0.6511 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.0008538/0.784, allocations: 462.3 kB / 1.059 GB, free: 29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.7843, allocations: 153.9 kB / 1.059 GB, free: 28.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/0.7874, allocations: 1.567 MB / 1.06 GB, free: 28.76 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/0.7874, allocations: 11.81 kB / 1.06 GB, free: 28.76 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.7874, allocations: 0 / 1.06 GB, free: 28.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002437/0.7899, allocations: 1.208 MB / 1.062 GB, free: 28.57 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005946/0.7958, allocations: 3.171 MB / 1.065 GB, free: 27.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.7959, allocations: 4.281 kB / 1.065 GB, free: 27.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009747/0.7969, allocations: 219.2 kB / 1.065 GB, free: 27.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.7969, allocations: 7.75 kB / 1.065 GB, free: 27.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.011e-05/0.797, allocations: 30.3 kB / 1.065 GB, free: 27.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.208e-06/0.797, allocations: 11.03 kB / 1.065 GB, free: 27.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.797, allocations: 7.906 kB / 1.065 GB, free: 27.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004548/0.8016, allocations: 2.205 MB / 1.067 GB, free: 27.01 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.8028, allocations: 407.5 kB / 1.068 GB, free: 26.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003366/0.8032, allocations: 27.23 kB / 1.068 GB, free: 26.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.8046, allocations: 155.1 kB / 1.068 GB, free: 26.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.8048, allocations: 84.25 kB / 1.068 GB, free: 26.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.945e-05/0.8049, allocations: 39.44 kB / 1.068 GB, free: 26.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00181/0.8068, allocations: 1.049 MB / 1.069 GB, free: 26.39 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.5e-07/0.8068, allocations: 0 / 1.069 GB, free: 26.39 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00298/0.8098, allocations: 0.792 MB / 1.07 GB, free: 26.29 MB / 0.6511 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.001205/0.811, allocations: 470.5 kB / 1.07 GB, free: 26.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004351/0.8153, allocations: 1.948 MB / 1.072 GB, free: 25.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.8154, allocations: 2.375 kB / 1.072 GB, free: 25.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.8169, allocations: 0.6892 MB / 1.073 GB, free: 25.63 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004917/0.8218, allocations: 0.8225 MB / 1.073 GB, free: 25.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004435/0.8263, allocations: 3.378 MB / 1.077 GB, free: 23.37 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006432/0.8269, allocations: 1.276 MB / 1.078 GB, free: 22.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002141/0.8291, allocations: 404.3 kB / 1.078 GB, free: 22.24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/0.8296, allocations: 133.4 kB / 1.078 GB, free: 22.21 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/0.8296, allocations: 0 / 1.078 GB, free: 22.21 MB / 0.6511 GB Notification: Performance of Templates: time 0.04776/0.8774, allocations: 33.01 MB / 1.111 GB, free: 7.727 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)