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.Carnot_y.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.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") 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.392/1.392, allocations: 255.9 MB / 271.2 MB, free: 8.906 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.001017/0.001017, allocations: 185.2 kB / 330.8 MB, free: 492 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.613/1.613, allocations: 225.7 MB / 0.6016 GB, free: 116 kB / 426.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.0007644/0.0007643, allocations: 111.6 kB / 0.709 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 10.38 kB / 0.8261 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1997, allocations: 109.2 MB / 0.9328 GB, free: 24.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06614/0.2658, allocations: 74.77 MB / 1.006 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.4743/0.7402, allocations: 20.34 MB / 1.026 GB, free: 37 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003124/0.7433, allocations: 55.16 kB / 1.026 GB, free: 37 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003066/0.7464, allocations: 0.6724 MB / 1.026 GB, free: 37 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008647/0.7551, allocations: 2.359 MB / 1.029 GB, free: 36.93 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.759, allocations: 1.25 MB / 1.03 GB, free: 36.88 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009024/0.7681, allocations: 5.526 MB / 1.035 GB, free: 36.87 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.7707, allocations: 1.14 MB / 1.036 GB, free: 36.7 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003814/0.7745, allocations: 1.359 MB / 1.038 GB, free: 36.52 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002788/0.7773, allocations: 1.146 MB / 1.039 GB, free: 36.37 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003795/0.7777, allocations: 55.22 kB / 1.039 GB, free: 36.37 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004713/0.7825, allocations: 1.182 MB / 1.04 GB, free: 36.25 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005469/0.783, allocations: 279.5 kB / 1.04 GB, free: 36.18 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.7848, allocations: 0.7978 MB / 1.041 GB, free: 35.89 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004837/0.7896, allocations: 2.704 MB / 1.044 GB, free: 35.54 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.7896, allocations: 3.938 kB / 1.044 GB, free: 35.53 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.875e-06/0.7897, allocations: 0 / 1.044 GB, free: 35.53 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.846e-05/0.7897, allocations: 0 / 1.044 GB, free: 35.53 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004318/0.794, allocations: 1.789 MB / 1.045 GB, free: 34.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.7941, allocations: 12.67 kB / 1.045 GB, free: 34.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008616/0.795, allocations: 244 kB / 1.046 GB, free: 34.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/0.7977, allocations: 1.476 MB / 1.047 GB, free: 33.97 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/0.7978, allocations: 83.84 kB / 1.047 GB, free: 33.97 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.798, allocations: 100.4 kB / 1.047 GB, free: 33.97 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.8004, allocations: 1.11 MB / 1.048 GB, free: 33.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.8005, allocations: 4.906 kB / 1.048 GB, free: 33.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.793e-05/0.8005, allocations: 36.44 kB / 1.048 GB, free: 33.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/0.8006, allocations: 28.45 kB / 1.048 GB, free: 33.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.8029, allocations: 0.924 MB / 1.049 GB, free: 33.79 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.006859/0.8097, allocations: 4.904 MB / 1.054 GB, free: 31.53 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.8113, allocations: 0.6364 MB / 1.055 GB, free: 31.49 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007212/0.8121, allocations: 368.1 kB / 1.055 GB, free: 31.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005082/0.8126, allocations: 0.8207 MB / 1.056 GB, free: 30.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.8126, allocations: 46.16 kB / 1.056 GB, free: 30.49 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.476e-06/0.8126, allocations: 0 / 1.056 GB, free: 30.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.007395/0.82, allocations: 1.897 MB / 1.058 GB, free: 30.21 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.8201, allocations: 57.91 kB / 1.058 GB, free: 30.14 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.822, allocations: 1.207 MB / 1.059 GB, free: 29.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.8221, allocations: 38.92 kB / 1.059 GB, free: 29.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004764/0.8226, allocations: 0.6017 MB / 1.06 GB, free: 29.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.8228, allocations: 216 kB / 1.06 GB, free: 29.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.8228, allocations: 13.72 kB / 1.06 GB, free: 29.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.8229, allocations: 336.7 kB / 1.06 GB, free: 29.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006409/0.8236, allocations: 298.6 kB / 1.061 GB, free: 29.29 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007571/0.8243, allocations: 0.5117 MB / 1.061 GB, free: 29.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.8256, allocations: 0.7447 MB / 1.062 GB, free: 28.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.8257, allocations: 6.656 kB / 1.062 GB, free: 28.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004562/0.8302, allocations: 1.404 MB / 1.063 GB, free: 28.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.934e-05/0.8303, allocations: 193.7 kB / 1.063 GB, free: 28.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.8304, allocations: 3.688 kB / 1.063 GB, free: 28.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006484/0.831, allocations: 148.7 kB / 1.063 GB, free: 28.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/0.8317, allocations: 166 kB / 1.064 GB, free: 28.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007942/0.8325, allocations: 0.7215 MB / 1.064 GB, free: 27.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.834, allocations: 167.5 kB / 1.064 GB, free: 27.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.163e-05/0.8341, allocations: 38.33 kB / 1.065 GB, free: 27.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.8341, allocations: 2.906 kB / 1.065 GB, free: 27.9 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004278/0.8384, allocations: 1.24 MB / 1.066 GB, free: 27.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.8384, allocations: 10.16 kB / 1.066 GB, free: 27.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005102/0.839, allocations: 152.3 kB / 1.066 GB, free: 27.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.8396, allocations: 159.4 kB / 1.066 GB, free: 27.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007252/0.8403, allocations: 0.7188 MB / 1.067 GB, free: 27.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.8418, allocations: 162.8 kB / 1.067 GB, free: 26.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/0.8419, allocations: 36.02 kB / 1.067 GB, free: 26.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0009199/0.8428, allocations: 411.4 kB / 1.067 GB, free: 26.72 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003576/0.8432, allocations: 134.8 kB / 1.067 GB, free: 26.65 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005211/0.8484, allocations: 1.41 MB / 1.069 GB, free: 26.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.298e-05/0.8485, allocations: 6.5 kB / 1.069 GB, free: 26.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.8485, allocations: 0 / 1.069 GB, free: 26.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004207/0.8527, allocations: 1.226 MB / 1.07 GB, free: 25.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007517/0.8602, allocations: 2.733 MB / 1.073 GB, free: 24.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.8603, allocations: 4.094 kB / 1.073 GB, free: 24.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005298/0.8608, allocations: 125.4 kB / 1.073 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005383/0.8614, allocations: 137.6 kB / 1.073 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.433e-05/0.8614, allocations: 20.34 kB / 1.073 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004608/0.866, allocations: 2.483 MB / 1.075 GB, free: 22.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.8661, allocations: 11.97 kB / 1.075 GB, free: 22.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005861/0.8719, allocations: 1.849 MB / 1.077 GB, free: 21.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.8732, allocations: 327.9 kB / 1.078 GB, free: 21.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005874/0.8738, allocations: 15.34 kB / 1.078 GB, free: 21.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.8752, allocations: 94 kB / 1.078 GB, free: 21.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.8754, allocations: 61.7 kB / 1.078 GB, free: 21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.614e-05/0.8755, allocations: 32.08 kB / 1.078 GB, free: 20.99 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002034/0.8776, allocations: 0.8544 MB / 1.079 GB, free: 20.51 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8776, allocations: 0 / 1.079 GB, free: 20.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003031/0.8806, allocations: 0.7092 MB / 1.079 GB, free: 20.37 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/0.8818, allocations: 460.1 kB / 1.08 GB, free: 20.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002851/0.8847, allocations: 1.157 MB / 1.081 GB, free: 19.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.8847, allocations: 0 / 1.081 GB, free: 19.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.8862, allocations: 0.5983 MB / 1.081 GB, free: 19.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004583/0.8908, allocations: 0.8105 MB / 1.082 GB, free: 18.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/0.8949, allocations: 2.805 MB / 1.085 GB, free: 16.92 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000707/0.8957, allocations: 1.168 MB / 1.086 GB, free: 16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001436/0.8971, allocations: 308 kB / 1.086 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.8975, allocations: 120.6 kB / 1.086 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/0.8975, allocations: 0 / 1.086 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of Templates: time 0.05135/0.9488, allocations: 32.08 MB / 1.118 GB, free: 2.102 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)