Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.644/1.644, allocations: 292.6 MB / 307.8 MB, free: 7.16 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.00101/0.00101, allocations: 189.1 kB / 376.5 MB, free: 4.461 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.327/1.327, allocations: 225.7 MB / 0.655 GB, free: 13.16 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.0008416/0.0008416, allocations: 89.8 kB / 0.7711 GB, free: 50.27 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003614, allocations: 16 kB / 0.897 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5797/0.5801, allocations: 118.2 MB / 1.012 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04042/0.6206, allocations: 56.51 MB / 1.068 GB, free: 25.33 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01231/0.6329, allocations: 11.13 MB / 1.078 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.6347, allocations: 48.94 kB / 1.078 GB, free: 17.33 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.6361, allocations: 469.8 kB / 1.079 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.003877/0.64, allocations: 1.623 MB / 1.081 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.6422, allocations: 0.8831 MB / 1.081 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003216/0.6454, allocations: 3.41 MB / 1.085 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.6466, allocations: 0.8882 MB / 1.086 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.6485, allocations: 1.096 MB / 1.087 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.6496, allocations: 0.8113 MB / 1.087 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.6497, allocations: 42.59 kB / 1.087 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.6518, allocations: 1.273 MB / 1.089 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.652, allocations: 202 kB / 1.089 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004879/0.6525, allocations: 0.6089 MB / 1.09 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.654, allocations: 1.697 MB / 1.091 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.654, allocations: 4 kB / 1.091 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.833e-06/0.654, allocations: 0 / 1.091 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.654, allocations: 0 / 1.091 GB, free: 11.82 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.002107/0.6562, allocations: 1.499 MB / 1.093 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.6562, allocations: 6.594 kB / 1.093 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.6581, allocations: 478.8 kB / 1.093 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.6599, allocations: 1.136 MB / 1.094 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/0.6603, allocations: 124.6 kB / 1.094 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.791e-05/0.6604, allocations: 78.75 kB / 1.094 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.6621, allocations: 1.001 MB / 1.095 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.6621, allocations: 11.19 kB / 1.095 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.6622, allocations: 30.53 kB / 1.095 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.6622, allocations: 19.19 kB / 1.095 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.6643, allocations: 0.9222 MB / 1.096 GB, free: 9.164 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.004977/0.6692, allocations: 4.611 MB / 1.101 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.6725, allocations: 0.9401 MB / 1.102 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007109/0.6732, allocations: 343.4 kB / 1.102 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004247/0.6737, allocations: 0.9018 MB / 1.103 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.6737, allocations: 41.78 kB / 1.103 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 2.795e-06/0.6737, allocations: 0 / 1.103 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47): time 0.007534/0.6813, allocations: 2.02 MB / 1.105 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.6813, allocations: 59.12 kB / 1.105 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.6826, allocations: 1.05 MB / 1.106 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.6827, allocations: 36.61 kB / 1.106 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.6829, allocations: 0.5176 MB / 1.107 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.632e-05/0.683, allocations: 165.4 kB / 1.107 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.6831, allocations: 14.94 kB / 1.107 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.6831, allocations: 324.3 kB / 1.107 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008382/0.684, allocations: 337.8 kB / 1.107 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009286/0.6849, allocations: 0.5291 MB / 1.108 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.6864, allocations: 0.7352 MB / 1.109 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6865, allocations: 3.031 kB / 1.109 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003305/0.6898, allocations: 1.236 MB / 1.11 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.466e-05/0.6898, allocations: 196 kB / 1.11 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.6899, allocations: 3.031 kB / 1.11 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.691, allocations: 338.2 kB / 1.11 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.6916, allocations: 137.1 kB / 1.111 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.6928, allocations: 0.938 MB / 1.111 GB, free: 312 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.694, allocations: 193.2 kB / 1.112 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.44e-05/0.6941, allocations: 29.72 kB / 1.112 GB, free: 256 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/0.6941, allocations: 6.656 kB / 1.112 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003091/0.6972, allocations: 1.097 MB / 1.113 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6972, allocations: 3.062 kB / 1.113 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.6983, allocations: 325 kB / 1.113 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.6988, allocations: 131.3 kB / 1.113 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.7002, allocations: 0.9421 MB / 1.114 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.7014, allocations: 172.1 kB / 1.114 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/0.7015, allocations: 29.45 kB / 1.114 GB, free: 15.12 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.0005004/0.702, allocations: 351.7 kB / 1.115 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.7021, allocations: 109.8 kB / 1.115 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/0.7059, allocations: 1.244 MB / 1.116 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.706, allocations: 14.11 kB / 1.116 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.706, allocations: 4 kB / 1.116 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.706, allocations: 3.422 kB / 1.116 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005003/0.711, allocations: 2.306 MB / 1.118 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.711, allocations: 0 / 1.118 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.7113, allocations: 81.19 kB / 1.118 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009984/0.7123, allocations: 322.1 kB / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.7124, allocations: 17.7 kB / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.7138, allocations: 0.9715 MB / 1.12 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7139, allocations: 3.094 kB / 1.12 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004417/0.7183, allocations: 1.453 MB / 1.121 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005094/0.7188, allocations: 289.3 kB / 1.121 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.719, allocations: 14.06 kB / 1.121 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008888/0.7198, allocations: 115 kB / 1.121 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.7199, allocations: 49.22 kB / 1.121 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.72, allocations: 23.88 kB / 1.121 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001096/0.7211, allocations: 0.7391 MB / 1.122 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7211, allocations: 0 / 1.122 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001487/0.7226, allocations: 0.5567 MB / 1.123 GB, free: 11.34 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.000719/0.7233, allocations: 387.2 kB / 1.123 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003096/0.7264, allocations: 1.213 MB / 1.124 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7265, allocations: 0 / 1.124 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008986/0.7274, allocations: 389.9 kB / 1.125 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/0.7301, allocations: 0.5194 MB / 1.125 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/0.7353, allocations: 2.508 MB / 1.128 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/0.736, allocations: 1.067 MB / 1.129 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001041/0.737, allocations: 230.8 kB / 1.129 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.7373, allocations: 83.06 kB / 1.129 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of SimCode: time 4.5e-07/0.7373, allocations: 0 / 1.129 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of Templates: time 0.04197/0.7792, allocations: 24.23 MB / 1.153 GB, free: 5.598 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)