Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.585/2.585, allocations: 254.9 MB / 269.9 MB, free: 9.652 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.001367/0.001367, allocations: 200.1 kB / 329.5 MB, free: 1.184 MB / 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 2.567/2.567, allocations: 225.6 MB / 0.6001 GB, free: 412 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.001066/0.001066, allocations: 102.1 kB / 0.7074 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006502/0.0006504, allocations: 11.28 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2129, allocations: 109.1 MB / 0.9308 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.1325/0.3454, allocations: 69.41 MB / 0.9985 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.04012/0.3856, allocations: 14.04 MB / 1.012 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/0.3882, allocations: 55.62 kB / 1.012 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002871/0.3911, allocations: 0.5627 MB / 1.013 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009937/0.4011, allocations: 1.978 MB / 1.015 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006516/0.4077, allocations: 0.9432 MB / 1.016 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.7959/1.204, allocations: 4.797 MB / 1.02 GB, free: 33.27 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004383/1.208, allocations: 1.088 MB / 1.021 GB, free: 33.18 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006191/1.214, allocations: 1.274 MB / 1.023 GB, free: 33.18 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003697/1.218, allocations: 1.087 MB / 1.024 GB, free: 33.18 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0006269/1.219, allocations: 55 kB / 1.024 GB, free: 33.18 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004616/1.223, allocations: 0.9219 MB / 1.025 GB, free: 33.18 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0008703/1.224, allocations: 266.3 kB / 1.025 GB, free: 33.18 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/1.225, allocations: 357.5 kB / 1.025 GB, free: 33.14 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004999/1.23, allocations: 2.072 MB / 1.027 GB, free: 33.08 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/1.23, allocations: 1.125 kB / 1.027 GB, free: 33.08 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.555e-06/1.23, allocations: 1 kB / 1.027 GB, free: 33.08 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.085e-05/1.23, allocations: 0 / 1.027 GB, free: 33.08 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.00611/1.237, allocations: 1.806 MB / 1.029 GB, free: 32.08 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.237, allocations: 9.438 kB / 1.029 GB, free: 32.08 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/1.238, allocations: 241 kB / 1.029 GB, free: 32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004265/1.243, allocations: 1.429 MB / 1.031 GB, free: 31.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.098e-05/1.243, allocations: 80.66 kB / 1.031 GB, free: 31.63 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/1.243, allocations: 101.8 kB / 1.031 GB, free: 31.63 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003374/1.246, allocations: 1.109 MB / 1.032 GB, free: 31.49 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.653e-05/1.246, allocations: 3.422 kB / 1.032 GB, free: 31.49 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/1.247, allocations: 40.59 kB / 1.032 GB, free: 31.49 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-05/1.247, allocations: 27.95 kB / 1.032 GB, free: 31.49 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003363/1.25, allocations: 0.9205 MB / 1.033 GB, free: 31.48 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.009572/1.26, allocations: 4.917 MB / 1.038 GB, free: 29.26 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/1.262, allocations: 0.6308 MB / 1.038 GB, free: 29.22 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/1.263, allocations: 374.1 kB / 1.039 GB, free: 29.21 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006521/1.264, allocations: 0.823 MB / 1.04 GB, free: 28.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/1.264, allocations: 49.34 kB / 1.04 GB, free: 28.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.176e-06/1.264, allocations: 0 / 1.04 GB, free: 28.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.01313/1.277, allocations: 1.886 MB / 1.041 GB, free: 27.95 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/1.277, allocations: 58.16 kB / 1.041 GB, free: 27.89 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/1.28, allocations: 1.2 MB / 1.043 GB, free: 27.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000238/1.28, allocations: 41.89 kB / 1.043 GB, free: 27.69 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000626/1.281, allocations: 0.606 MB / 1.043 GB, free: 27.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/1.281, allocations: 215.2 kB / 1.043 GB, free: 27.35 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/1.281, allocations: 15.91 kB / 1.043 GB, free: 27.35 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.914e-05/1.281, allocations: 328.2 kB / 1.044 GB, free: 27.04 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/1.282, allocations: 295.4 kB / 1.044 GB, free: 27.04 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/1.284, allocations: 0.508 MB / 1.045 GB, free: 26.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/1.285, allocations: 363.3 kB / 1.045 GB, free: 26.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/1.285, allocations: 1.375 kB / 1.045 GB, free: 26.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.008621/1.294, allocations: 1.405 MB / 1.046 GB, free: 26.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/1.294, allocations: 188.3 kB / 1.046 GB, free: 26.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/1.294, allocations: 8.031 kB / 1.046 GB, free: 26.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009574/1.295, allocations: 147.1 kB / 1.047 GB, free: 26.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.296, allocations: 169.2 kB / 1.047 GB, free: 26.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/1.298, allocations: 0.7167 MB / 1.047 GB, free: 25.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/1.3, allocations: 172.6 kB / 1.048 GB, free: 25.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/1.301, allocations: 31.41 kB / 1.048 GB, free: 25.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.301, allocations: 9.875 kB / 1.048 GB, free: 25.84 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008237/1.309, allocations: 1.251 MB / 1.049 GB, free: 25.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.309, allocations: 3.656 kB / 1.049 GB, free: 25.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008579/1.31, allocations: 142.4 kB / 1.049 GB, free: 25.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/1.311, allocations: 167.5 kB / 1.049 GB, free: 25.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/1.312, allocations: 0.7202 MB / 1.05 GB, free: 25.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/1.315, allocations: 165.8 kB / 1.05 GB, free: 25.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/1.315, allocations: 33.52 kB / 1.05 GB, free: 25.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0009228/1.316, allocations: 413.8 kB / 1.051 GB, free: 25.01 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/1.316, allocations: 131.5 kB / 1.051 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008227/1.324, allocations: 1.409 MB / 1.052 GB, free: 24.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/1.324, allocations: 13.67 kB / 1.052 GB, free: 24.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.324, allocations: 1.344 kB / 1.052 GB, free: 24.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007536/1.332, allocations: 1.229 MB / 1.053 GB, free: 24.57 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/1.343, allocations: 2.726 MB / 1.056 GB, free: 24.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/1.343, allocations: 7.375 kB / 1.056 GB, free: 24.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/1.344, allocations: 122.2 kB / 1.056 GB, free: 24.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000814/1.345, allocations: 139.4 kB / 1.056 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.942e-05/1.345, allocations: 22.73 kB / 1.056 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007694/1.353, allocations: 2.487 MB / 1.059 GB, free: 22.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.353, allocations: 7.375 kB / 1.059 GB, free: 22.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00947/1.362, allocations: 1.84 MB / 1.06 GB, free: 22.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.364, allocations: 325.5 kB / 1.061 GB, free: 22 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003756/1.364, allocations: 16.64 kB / 1.061 GB, free: 22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/1.366, allocations: 100.8 kB / 1.061 GB, free: 21.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/1.366, allocations: 56.78 kB / 1.061 GB, free: 21.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.502e-05/1.366, allocations: 26.8 kB / 1.061 GB, free: 21.98 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001924/1.368, allocations: 0.8577 MB / 1.062 GB, free: 21.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.51e-07/1.368, allocations: 1.031 kB / 1.062 GB, free: 21.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003213/1.371, allocations: 0.7061 MB / 1.062 GB, free: 21.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/1.372, allocations: 448.2 kB / 1.063 GB, free: 21.61 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004373/1.377, allocations: 1.162 MB / 1.064 GB, free: 21.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/1.377, allocations: 1.5 kB / 1.064 GB, free: 21.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002566/1.379, allocations: 0.5971 MB / 1.065 GB, free: 21.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006747/1.386, allocations: 0.7648 MB / 1.065 GB, free: 21.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/1.392, allocations: 2.758 MB / 1.068 GB, free: 19.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008652/1.393, allocations: 1.176 MB / 1.069 GB, free: 19.17 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002307/1.395, allocations: 304 kB / 1.069 GB, free: 19.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/1.396, allocations: 104.4 kB / 1.07 GB, free: 19 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/1.396, allocations: 0 / 1.07 GB, free: 19 MB / 0.6511 GB Notification: Performance of Templates: time 0.07355/1.47, allocations: 29.55 MB / 1.098 GB, free: 13.52 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)