Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 297.4 MB / 312.6 MB, free: 2.938 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.001092/0.001092, allocations: 178 kB / 382.3 MB, free: 14.84 MB / 314.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.412/1.412, allocations: 225.7 MB / 0.6617 GB, free: 7.25 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.0007203/0.0007203, allocations: 90.67 kB / 0.7789 GB, free: 46.77 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004136, allocations: 8 kB / 0.9058 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6438/0.6442, allocations: 119.2 MB / 1.022 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05003/0.6943, allocations: 60.91 MB / 1.082 GB, free: 12.55 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01575/0.7101, allocations: 16.57 MB / 1.098 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.7129, allocations: 52.62 kB / 1.098 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.7151, allocations: 0.5349 MB / 1.098 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006233/0.7214, allocations: 1.795 MB / 1.1 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003575/0.725, allocations: 1.095 MB / 1.101 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005625/0.7306, allocations: 3.877 MB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.7325, allocations: 0.9019 MB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.7354, allocations: 1.162 MB / 1.107 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.7374, allocations: 0.8468 MB / 1.108 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.7376, allocations: 44.06 kB / 1.108 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/0.7406, allocations: 1.278 MB / 1.109 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003177/0.7409, allocations: 211.5 kB / 1.109 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00094/0.7419, allocations: 0.6369 MB / 1.11 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003162/0.745, allocations: 2.204 MB / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7451, allocations: 0 / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7451, allocations: 0 / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.093e-05/0.7451, allocations: 3.219 kB / 1.112 GB, free: 7.785 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.002712/0.7478, allocations: 1.492 MB / 1.114 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.7479, allocations: 9.906 kB / 1.114 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.7499, allocations: 474.4 kB / 1.114 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.752, allocations: 1.135 MB / 1.115 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/0.7524, allocations: 132.2 kB / 1.115 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.7525, allocations: 79.66 kB / 1.115 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.7544, allocations: 0.9993 MB / 1.116 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.7545, allocations: 3.938 kB / 1.116 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.912e-05/0.7546, allocations: 30.41 kB / 1.116 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.7546, allocations: 23.59 kB / 1.116 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.7568, allocations: 0.9332 MB / 1.117 GB, free: 5.121 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.006478/0.7633, allocations: 4.605 MB / 1.122 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003352/0.7667, allocations: 0.9434 MB / 1.123 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007852/0.7675, allocations: 337 kB / 1.123 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007033/0.7682, allocations: 0.9036 MB / 1.124 GB, free: 416 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.7683, allocations: 46 kB / 1.124 GB, free: 364 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 2.444e-06/0.7683, allocations: 0 / 1.124 GB, free: 364 kB / 0.7136 GB Notification: Performance of matching and sorting (n=47): time 0.007718/0.776, allocations: 2.013 MB / 1.126 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.7761, allocations: 63.25 kB / 1.126 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/0.778, allocations: 1.047 MB / 1.127 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.7781, allocations: 42.11 kB / 1.127 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.7785, allocations: 0.5185 MB / 1.128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.7787, allocations: 163.3 kB / 1.128 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.7787, allocations: 10.84 kB / 1.128 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.7788, allocations: 325.7 kB / 1.128 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008809/0.7797, allocations: 339.4 kB / 1.128 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.7808, allocations: 0.5412 MB / 1.129 GB, free: 14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.7825, allocations: 0.7374 MB / 1.13 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7825, allocations: 1.312 kB / 1.13 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003814/0.7863, allocations: 1.237 MB / 1.131 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.7865, allocations: 199.3 kB / 1.131 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.7865, allocations: 3.75 kB / 1.131 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.7878, allocations: 338.8 kB / 1.131 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/0.7884, allocations: 133.6 kB / 1.132 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.7898, allocations: 0.9414 MB / 1.132 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.7913, allocations: 189.2 kB / 1.133 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-05/0.7914, allocations: 32.34 kB / 1.133 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.7914, allocations: 3.844 kB / 1.133 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003154/0.7945, allocations: 1.101 MB / 1.134 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.7946, allocations: 4.156 kB / 1.134 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.7956, allocations: 318.6 kB / 1.134 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/0.7962, allocations: 141.2 kB / 1.134 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.7976, allocations: 0.9404 MB / 1.135 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.7989, allocations: 177.7 kB / 1.135 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/0.799, allocations: 28.47 kB / 1.135 GB, free: 11.05 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 (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.0007499/0.7997, allocations: 350.4 kB / 1.136 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.8, allocations: 108.2 kB / 1.136 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/0.8039, allocations: 1.233 MB / 1.137 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.8039, allocations: 13.08 kB / 1.137 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.804, allocations: 0 / 1.137 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.804, allocations: 4.516 kB / 1.137 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005144/0.8091, allocations: 2.316 MB / 1.139 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.8092, allocations: 6.562 kB / 1.139 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.8095, allocations: 84.53 kB / 1.139 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.8105, allocations: 317.9 kB / 1.14 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/0.8106, allocations: 17.55 kB / 1.14 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.812, allocations: 0.9715 MB / 1.141 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.812, allocations: 2.312 kB / 1.141 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004526/0.8166, allocations: 1.454 MB / 1.142 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006907/0.8173, allocations: 288.6 kB / 1.142 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.8174, allocations: 12.56 kB / 1.142 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008946/0.8183, allocations: 116.8 kB / 1.142 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.8185, allocations: 42.81 kB / 1.142 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/0.8185, allocations: 23.67 kB / 1.142 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001292/0.8198, allocations: 0.7346 MB / 1.143 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8198, allocations: 0 / 1.143 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00164/0.8215, allocations: 0.5611 MB / 1.144 GB, free: 7.25 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 (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.0008069/0.8223, allocations: 393 kB / 1.144 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003289/0.8256, allocations: 1.209 MB / 1.145 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.8256, allocations: 0 / 1.145 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009317/0.8266, allocations: 392.7 kB / 1.146 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/0.8293, allocations: 0.5186 MB / 1.146 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005594/0.835, allocations: 2.548 MB / 1.149 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007553/0.8357, allocations: 1.069 MB / 1.15 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001258/0.837, allocations: 234 kB / 1.15 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.8372, allocations: 82.11 kB / 1.15 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of SimCode: time 1.623e-06/0.8373, allocations: 0 / 1.15 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.04604/0.8833, allocations: 24.54 MB / 1.174 GB, free: 3.984 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)