Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.69/1.69, allocations: 291.7 MB / 306.8 MB, free: 7.672 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.0009444/0.0009445, allocations: 182.2 kB / 375.4 MB, free: 5.121 MB / 298.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.376/1.376, allocations: 225.7 MB / 0.6538 GB, free: 13.63 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.0007888/0.0007886, allocations: 101.3 kB / 0.7699 GB, free: 50.48 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003597, allocations: 12 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5862/0.5866, allocations: 118.1 MB / 1.011 GB, free: 58.13 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05421/0.6408, allocations: 69.43 MB / 1.079 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01561/0.6565, allocations: 14.08 MB / 1.092 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/0.6589, allocations: 55.94 kB / 1.092 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002006/0.6609, allocations: 0.5675 MB / 1.093 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005851/0.6668, allocations: 1.973 MB / 1.095 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003661/0.6704, allocations: 0.9786 MB / 1.096 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00494/0.6754, allocations: 4.816 MB / 1.101 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.6772, allocations: 1.136 MB / 1.102 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.6799, allocations: 1.281 MB / 1.103 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.6819, allocations: 1.086 MB / 1.104 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.6821, allocations: 55.81 kB / 1.104 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.685, allocations: 0.9172 MB / 1.105 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003212/0.6853, allocations: 278.1 kB / 1.105 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005581/0.6859, allocations: 360.5 kB / 1.106 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.6885, allocations: 2.077 MB / 1.108 GB, free: 16 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.6885, allocations: 0 / 1.108 GB, free: 16 kB / 0.7136 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6885, allocations: 0 / 1.108 GB, free: 16 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.765e-05/0.6886, allocations: 0 / 1.108 GB, free: 16 kB / 0.7136 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.003474/0.6921, allocations: 1.786 MB / 1.109 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.6921, allocations: 9.25 kB / 1.109 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007287/0.6928, allocations: 246.9 kB / 1.11 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/0.6953, allocations: 1.484 MB / 1.111 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.6953, allocations: 77.56 kB / 1.111 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.6955, allocations: 104.4 kB / 1.111 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.6974, allocations: 1.115 MB / 1.112 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.6974, allocations: 1.688 kB / 1.112 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/0.6975, allocations: 49.14 kB / 1.112 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/0.6976, allocations: 26.59 kB / 1.112 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.6994, allocations: 0.9239 MB / 1.113 GB, free: 12.93 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.005689/0.7051, allocations: 4.921 MB / 1.118 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.7064, allocations: 0.6395 MB / 1.119 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006655/0.7071, allocations: 371.1 kB / 1.119 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005909/0.7077, allocations: 0.8305 MB / 1.12 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.7077, allocations: 38.59 kB / 1.12 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=61): time 3.026e-06/0.7078, allocations: 3.281 kB / 1.12 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of matching and sorting (n=61): time 0.006904/0.7147, allocations: 1.895 MB / 1.122 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.7148, allocations: 62.16 kB / 1.122 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.7164, allocations: 1.192 MB / 1.123 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.7165, allocations: 43.02 kB / 1.123 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/0.717, allocations: 0.5982 MB / 1.124 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.7172, allocations: 218.5 kB / 1.124 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.7173, allocations: 11 kB / 1.124 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7174, allocations: 338.5 kB / 1.124 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006193/0.718, allocations: 297.7 kB / 1.124 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007993/0.7188, allocations: 0.5105 MB / 1.125 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.7202, allocations: 0.7412 MB / 1.126 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7202, allocations: 0 / 1.126 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004565/0.7247, allocations: 1.402 MB / 1.127 GB, free: 4.816 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.7249, allocations: 186.8 kB / 1.127 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.7249, allocations: 11.19 kB / 1.127 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005778/0.7255, allocations: 145.6 kB / 1.127 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/0.7261, allocations: 175.8 kB / 1.128 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000822/0.7269, allocations: 0.7104 MB / 1.128 GB, free: 3.945 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.7282, allocations: 173.7 kB / 1.128 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-05/0.7283, allocations: 35.75 kB / 1.128 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.7284, allocations: 3.156 kB / 1.128 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004208/0.7326, allocations: 1.246 MB / 1.13 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.7326, allocations: 3.375 kB / 1.13 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004996/0.7331, allocations: 150.1 kB / 1.13 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005794/0.7337, allocations: 176.7 kB / 1.13 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007962/0.7345, allocations: 0.704 MB / 1.131 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.7358, allocations: 170.2 kB / 1.131 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-05/0.7359, allocations: 37.27 kB / 1.131 GB, free: 2.828 MB / 0.7292 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.0006853/0.7366, allocations: 419 kB / 1.131 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.7368, allocations: 132.4 kB / 1.131 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004435/0.7412, allocations: 1.4 MB / 1.133 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.7413, allocations: 6.344 kB / 1.133 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.7413, allocations: 4.125 kB / 1.133 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003965/0.7453, allocations: 1.226 MB / 1.134 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006625/0.7519, allocations: 2.74 MB / 1.137 GB, free: 408 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.752, allocations: 3.031 kB / 1.137 GB, free: 408 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/0.7525, allocations: 122.5 kB / 1.137 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004955/0.753, allocations: 140.6 kB / 1.137 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.753, allocations: 16.81 kB / 1.137 GB, free: 352 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004854/0.7579, allocations: 2.488 MB / 1.139 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.7579, allocations: 3.531 kB / 1.139 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005827/0.7638, allocations: 1.851 MB / 1.141 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009697/0.7648, allocations: 335 kB / 1.141 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.765, allocations: 18.66 kB / 1.141 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009211/0.7659, allocations: 92.81 kB / 1.142 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.7661, allocations: 64.92 kB / 1.142 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.7662, allocations: 30.66 kB / 1.142 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001443/0.7676, allocations: 0.8577 MB / 1.143 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3e-07/0.7676, allocations: 1.438 kB / 1.143 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002362/0.77, allocations: 0.706 MB / 1.143 GB, free: 13.01 MB / 0.7448 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.0009422/0.771, allocations: 433.5 kB / 1.144 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002799/0.7738, allocations: 1.159 MB / 1.145 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.7738, allocations: 1.281 kB / 1.145 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/0.7754, allocations: 0.6024 MB / 1.145 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004685/0.7801, allocations: 0.7924 MB / 1.146 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.7849, allocations: 2.76 MB / 1.149 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008439/0.7857, allocations: 1.174 MB / 1.15 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001593/0.7873, allocations: 305.1 kB / 1.15 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.7877, allocations: 109.7 kB / 1.15 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/0.7877, allocations: 2.938 kB / 1.15 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of Templates: time 0.05775/0.8455, allocations: 31.41 MB / 1.181 GB, free: 11.96 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)