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_TCon.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_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.772/1.772, allocations: 291.7 MB / 306.8 MB, free: 7.707 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.0008954/0.0008956, allocations: 185.7 kB / 375.4 MB, free: 5.113 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.318/1.318, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0007655/0.0007655, allocations: 103.5 kB / 0.7699 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 12.84 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5993/0.5997, allocations: 118.1 MB / 1.011 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04321/0.643, allocations: 56.51 MB / 1.066 GB, free: 25.34 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01288/0.6559, allocations: 11.15 MB / 1.077 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.6579, allocations: 53.34 kB / 1.077 GB, free: 17.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.6594, allocations: 454.4 kB / 1.077 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.004211/0.6637, allocations: 1.526 MB / 1.079 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.6662, allocations: 0.8718 MB / 1.08 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003702/0.6699, allocations: 3.416 MB / 1.083 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.6712, allocations: 0.8896 MB / 1.084 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/0.6733, allocations: 1.047 MB / 1.085 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.6746, allocations: 0.8063 MB / 1.086 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.6747, allocations: 46.59 kB / 1.086 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.6769, allocations: 1.094 MB / 1.087 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.6772, allocations: 199.9 kB / 1.087 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.6775, allocations: 284.6 kB / 1.087 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.6792, allocations: 1.641 MB / 1.089 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6793, allocations: 0 / 1.089 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6793, allocations: 0 / 1.089 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.6793, allocations: 3.938 kB / 1.089 GB, free: 12.15 MB / 0.7136 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.002438/0.6817, allocations: 1.499 MB / 1.09 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.6818, allocations: 13.88 kB / 1.09 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/0.6838, allocations: 471.5 kB / 1.091 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.6859, allocations: 1.133 MB / 1.092 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003271/0.6863, allocations: 127.9 kB / 1.092 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.6864, allocations: 84.66 kB / 1.092 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.6883, allocations: 0.9992 MB / 1.093 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.6884, allocations: 0 / 1.093 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.602e-05/0.6884, allocations: 33.34 kB / 1.093 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.6885, allocations: 23.64 kB / 1.093 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.6907, allocations: 0.9292 MB / 1.094 GB, free: 9.488 MB / 0.7136 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.005442/0.6961, allocations: 4.616 MB / 1.099 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/0.6994, allocations: 0.9461 MB / 1.1 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006841/0.7001, allocations: 339.1 kB / 1.1 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004159/0.7005, allocations: 0.9002 MB / 1.101 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.7005, allocations: 46.03 kB / 1.101 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 2.665e-06/0.7005, allocations: 0 / 1.101 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47): time 0.007474/0.708, allocations: 2.013 MB / 1.103 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.7081, allocations: 65.58 kB / 1.103 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.7094, allocations: 1.048 MB / 1.104 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.745e-05/0.7094, allocations: 38.3 kB / 1.104 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.7098, allocations: 0.52 MB / 1.104 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.731e-05/0.7099, allocations: 165.5 kB / 1.105 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.7099, allocations: 8 kB / 1.105 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.71, allocations: 327.4 kB / 1.105 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008443/0.7108, allocations: 331.7 kB / 1.105 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009485/0.7118, allocations: 0.5338 MB / 1.106 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.7133, allocations: 0.7348 MB / 1.106 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7133, allocations: 3.562 kB / 1.106 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003308/0.7166, allocations: 1.232 MB / 1.108 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.916e-05/0.7168, allocations: 202.1 kB / 1.108 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.7168, allocations: 10.19 kB / 1.108 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.7179, allocations: 327.3 kB / 1.108 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.7184, allocations: 139.6 kB / 1.108 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.7197, allocations: 0.94 MB / 1.109 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.721, allocations: 188.7 kB / 1.109 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/0.721, allocations: 30.77 kB / 1.109 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/0.721, allocations: 6.031 kB / 1.109 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002935/0.724, allocations: 1.09 MB / 1.111 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.724, allocations: 10.25 kB / 1.111 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009743/0.725, allocations: 322.9 kB / 1.111 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.7255, allocations: 137.8 kB / 1.111 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.7269, allocations: 0.9402 MB / 1.112 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.7279, allocations: 175.1 kB / 1.112 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/0.728, allocations: 34 kB / 1.112 GB, free: 15.44 MB / 0.7292 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 (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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004839/0.7285, allocations: 345.2 kB / 1.112 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.7287, allocations: 109.5 kB / 1.113 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003704/0.7324, allocations: 1.237 MB / 1.114 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.7324, allocations: 10.25 kB / 1.114 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.7324, allocations: 0 / 1.114 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.7324, allocations: 4.641 kB / 1.114 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004967/0.7374, allocations: 2.318 MB / 1.116 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.7374, allocations: 3.125 kB / 1.116 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.7377, allocations: 74.16 kB / 1.116 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009741/0.7387, allocations: 327.8 kB / 1.116 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.7388, allocations: 19.28 kB / 1.116 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/0.7401, allocations: 0.9671 MB / 1.117 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7401, allocations: 7.062 kB / 1.117 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004274/0.7444, allocations: 1.448 MB / 1.119 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/0.7449, allocations: 285.6 kB / 1.119 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.745, allocations: 18.17 kB / 1.119 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008614/0.7459, allocations: 115.2 kB / 1.119 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/0.746, allocations: 40.34 kB / 1.119 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/0.746, allocations: 27.12 kB / 1.119 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001033/0.7471, allocations: 0.7366 MB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7471, allocations: 0 / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001345/0.7484, allocations: 0.558 MB / 1.12 GB, free: 11.66 MB / 0.7292 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 (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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006757/0.7491, allocations: 376 kB / 1.121 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003095/0.7522, allocations: 1.201 MB / 1.122 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.7523, allocations: 7.406 kB / 1.122 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008971/0.7532, allocations: 386.7 kB / 1.122 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.7558, allocations: 0.5273 MB / 1.123 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004871/0.7607, allocations: 2.499 MB / 1.125 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.7613, allocations: 1.062 MB / 1.126 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0009802/0.7622, allocations: 233.9 kB / 1.127 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.7624, allocations: 86.58 kB / 1.127 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of SimCode: time 6.21e-07/0.7624, allocations: 0 / 1.127 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of Templates: time 0.04552/0.808, allocations: 23.92 MB / 1.15 GB, free: 6.309 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)