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_TCon.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_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") 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.626/1.626, allocations: 255.9 MB / 271.2 MB, free: 8.891 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.0009771/0.0009771, allocations: 179.3 kB / 330.8 MB, free: 468 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.544/1.544, allocations: 225.7 MB / 0.6016 GB, free: 15.89 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.0007582/0.0007582, allocations: 93.52 kB / 0.709 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 9.125 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2231, allocations: 109.2 MB / 0.9327 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05197/0.2752, allocations: 60.89 MB / 0.9922 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.2937, allocations: 16.52 MB / 1.008 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.2959, allocations: 47.69 kB / 1.008 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.2977, allocations: 0.5555 MB / 1.009 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005607/0.3034, allocations: 1.785 MB / 1.011 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.3065, allocations: 1.088 MB / 1.012 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005009/0.3115, allocations: 3.89 MB / 1.016 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.3131, allocations: 0.9019 MB / 1.016 GB, free: 28 kB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4551/0.7682, allocations: 1.121 MB / 1.018 GB, free: 36.48 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.7706, allocations: 0.8615 MB / 1.018 GB, free: 36.48 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002851/0.7709, allocations: 41.94 kB / 1.018 GB, free: 36.48 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003935/0.7748, allocations: 1.249 MB / 1.02 GB, free: 36.48 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004381/0.7753, allocations: 213.6 kB / 1.02 GB, free: 36.48 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.7766, allocations: 0.6292 MB / 1.02 GB, free: 36.35 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00521/0.7818, allocations: 2.188 MB / 1.023 GB, free: 36.14 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7819, allocations: 1.844 kB / 1.023 GB, free: 36.14 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.275e-06/0.7819, allocations: 0 / 1.023 GB, free: 36.14 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.896e-05/0.7819, allocations: 0.5 kB / 1.023 GB, free: 36.14 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003583/0.7855, allocations: 1.494 MB / 1.024 GB, free: 35.24 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.7856, allocations: 12.67 kB / 1.024 GB, free: 35.24 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/0.7882, allocations: 479.3 kB / 1.024 GB, free: 35.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.7908, allocations: 1.123 MB / 1.026 GB, free: 34.79 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003838/0.7912, allocations: 130.6 kB / 1.026 GB, free: 34.78 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.7914, allocations: 82.41 kB / 1.026 GB, free: 34.78 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.7939, allocations: 0.9995 MB / 1.027 GB, free: 34.63 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.7939, allocations: 1.469 kB / 1.027 GB, free: 34.63 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.794, allocations: 31.88 kB / 1.027 GB, free: 34.63 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.794, allocations: 22.25 kB / 1.027 GB, free: 34.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.7968, allocations: 0.9254 MB / 1.028 GB, free: 34.6 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.007024/0.8038, allocations: 4.644 MB / 1.032 GB, free: 32.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003478/0.8073, allocations: 0.9392 MB / 1.033 GB, free: 32.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007779/0.8081, allocations: 334.4 kB / 1.034 GB, free: 32.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005273/0.8087, allocations: 0.9073 MB / 1.034 GB, free: 31.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.8087, allocations: 40.3 kB / 1.034 GB, free: 31.07 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 2.254e-06/0.8087, allocations: 0 / 1.034 GB, free: 31.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47): time 0.008145/0.8168, allocations: 2.011 MB / 1.036 GB, free: 30.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.8169, allocations: 60.88 kB / 1.036 GB, free: 30.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.8186, allocations: 1.048 MB / 1.037 GB, free: 30.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.159e-05/0.8187, allocations: 39.89 kB / 1.038 GB, free: 30.54 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.819, allocations: 0.5195 MB / 1.038 GB, free: 30.35 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.8192, allocations: 159.7 kB / 1.038 GB, free: 30.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.8192, allocations: 11.53 kB / 1.038 GB, free: 30.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.16e-05/0.8193, allocations: 331 kB / 1.038 GB, free: 29.94 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009346/0.8202, allocations: 337.1 kB / 1.039 GB, free: 29.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.8213, allocations: 0.538 MB / 1.039 GB, free: 29.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.823, allocations: 0.7393 MB / 1.04 GB, free: 29.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.823, allocations: 2.094 kB / 1.04 GB, free: 29.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003746/0.8267, allocations: 1.243 MB / 1.041 GB, free: 29.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-05/0.8268, allocations: 199.4 kB / 1.041 GB, free: 29.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.8269, allocations: 5.406 kB / 1.041 GB, free: 29.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.8281, allocations: 327.6 kB / 1.042 GB, free: 29.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.8288, allocations: 135.1 kB / 1.042 GB, free: 29.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.8302, allocations: 0.939 MB / 1.043 GB, free: 28.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.8317, allocations: 194.6 kB / 1.043 GB, free: 28.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.324e-05/0.8318, allocations: 33.98 kB / 1.043 GB, free: 28.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.8319, allocations: 3.75 kB / 1.043 GB, free: 28.55 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003429/0.8353, allocations: 1.097 MB / 1.044 GB, free: 28.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.8353, allocations: 6.094 kB / 1.044 GB, free: 28.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.8365, allocations: 325.3 kB / 1.044 GB, free: 28.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005815/0.8371, allocations: 131.2 kB / 1.045 GB, free: 28.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.8386, allocations: 0.9335 MB / 1.045 GB, free: 27.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.84, allocations: 177.1 kB / 1.046 GB, free: 27.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.852e-05/0.8401, allocations: 31.75 kB / 1.046 GB, free: 27.87 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000677/0.8408, allocations: 357.4 kB / 1.046 GB, free: 27.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.8409, allocations: 113.8 kB / 1.046 GB, free: 27.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/0.845, allocations: 1.236 MB / 1.047 GB, free: 27.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.845, allocations: 7.234 kB / 1.047 GB, free: 27.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.845, allocations: 3.938 kB / 1.047 GB, free: 27.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.8451, allocations: 7.781 kB / 1.047 GB, free: 27.49 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005881/0.8509, allocations: 2.31 MB / 1.05 GB, free: 27.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.851, allocations: 2.375 kB / 1.05 GB, free: 27.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.8513, allocations: 80.45 kB / 1.05 GB, free: 27.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/0.8524, allocations: 323.8 kB / 1.05 GB, free: 27.02 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.8525, allocations: 20.38 kB / 1.05 GB, free: 27.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.8539, allocations: 0.9681 MB / 1.051 GB, free: 26.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.8539, allocations: 9.844 kB / 1.051 GB, free: 26.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004501/0.8584, allocations: 1.46 MB / 1.052 GB, free: 26.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006128/0.8591, allocations: 282.1 kB / 1.053 GB, free: 25.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.8592, allocations: 19.7 kB / 1.053 GB, free: 25.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008978/0.8601, allocations: 106.9 kB / 1.053 GB, free: 25.97 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/0.8602, allocations: 43.34 kB / 1.053 GB, free: 25.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.048e-05/0.8603, allocations: 25.66 kB / 1.053 GB, free: 25.96 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001115/0.8614, allocations: 0.7323 MB / 1.054 GB, free: 25.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8614, allocations: 4 kB / 1.054 GB, free: 25.85 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001719/0.8632, allocations: 0.5546 MB / 1.054 GB, free: 25.78 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (37): * Single equations (assignments): 32 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007781/0.864, allocations: 391 kB / 1.054 GB, free: 25.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003157/0.8671, allocations: 1.215 MB / 1.056 GB, free: 25.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.8671, allocations: 0 / 1.056 GB, free: 25.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008952/0.868, allocations: 395.2 kB / 1.056 GB, free: 25.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/0.8709, allocations: 0.5212 MB / 1.057 GB, free: 25.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005485/0.8764, allocations: 2.548 MB / 1.059 GB, free: 24.31 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.877, allocations: 1.069 MB / 1.06 GB, free: 23.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00126/0.8782, allocations: 230 kB / 1.06 GB, free: 23.53 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.8785, allocations: 79.23 kB / 1.06 GB, free: 23.52 MB / 0.6511 GB Notification: Performance of SimCode: time 7.51e-07/0.8785, allocations: 0 / 1.06 GB, free: 23.52 MB / 0.6511 GB Notification: Performance of Templates: time 0.03894/0.9174, allocations: 24.46 MB / 1.084 GB, free: 11.34 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)