Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.743/1.743, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.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.001017/0.001017, allocations: 179.5 kB / 393.1 MB, free: 4.066 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.35/1.35, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007284/0.0007284, allocations: 93.61 kB / 0.7935 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 12 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5169/0.5173, allocations: 121.3 MB / 1.041 GB, free: 58.39 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04546/0.5628, allocations: 60.92 MB / 1.1 GB, free: 13.17 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.5813, allocations: 16.66 MB / 1.117 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002785/0.5842, allocations: 52.19 kB / 1.117 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.5864, allocations: 0.542 MB / 1.117 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006038/0.5924, allocations: 1.801 MB / 1.119 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003309/0.5957, allocations: 1.102 MB / 1.12 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005651/0.6014, allocations: 3.906 MB / 1.124 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/0.6033, allocations: 0.9247 MB / 1.125 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002886/0.6062, allocations: 1.149 MB / 1.126 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.6082, allocations: 0.8608 MB / 1.127 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002371/0.6084, allocations: 43.78 kB / 1.127 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/0.6118, allocations: 1.279 MB / 1.128 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.6122, allocations: 213.9 kB / 1.128 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.6134, allocations: 0.6313 MB / 1.129 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003757/0.6172, allocations: 2.213 MB / 1.131 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.6172, allocations: 1.531 kB / 1.131 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6172, allocations: 3.938 kB / 1.131 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.125e-05/0.6173, allocations: 0 / 1.131 GB, free: 8.273 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003283/0.6206, allocations: 1.507 MB / 1.132 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.6206, allocations: 9.344 kB / 1.132 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/0.6233, allocations: 0.5106 MB / 1.133 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/0.6259, allocations: 1.141 MB / 1.134 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000366/0.6263, allocations: 137 kB / 1.134 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.6265, allocations: 79.53 kB / 1.134 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.629, allocations: 1.031 MB / 1.135 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.6291, allocations: 3.938 kB / 1.135 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.6292, allocations: 35.56 kB / 1.135 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.6292, allocations: 18.28 kB / 1.135 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002736/0.6319, allocations: 1.011 MB / 1.136 GB, free: 5.57 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.006733/0.6387, allocations: 4.709 MB / 1.141 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004008/0.6427, allocations: 1.119 MB / 1.142 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.6438, allocations: 448.3 kB / 1.142 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009832/0.6448, allocations: 1.029 MB / 1.143 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.6448, allocations: 41.69 kB / 1.144 GB, free: 500 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=53): time 2.755e-06/0.6449, allocations: 0 / 1.144 GB, free: 500 kB / 0.7136 GB Notification: Performance of matching and sorting (n=53): time 0.009413/0.6543, allocations: 2.495 MB / 1.146 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.6543, allocations: 60.66 kB / 1.146 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.6557, allocations: 0.9249 MB / 1.147 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.733e-05/0.6558, allocations: 37.89 kB / 1.147 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/0.6562, allocations: 0.5117 MB / 1.147 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.6564, allocations: 181.6 kB / 1.148 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.6564, allocations: 9.938 kB / 1.148 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.6565, allocations: 330.7 kB / 1.148 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.6576, allocations: 378.5 kB / 1.148 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.6588, allocations: 0.54 MB / 1.149 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/0.661, allocations: 0.8278 MB / 1.15 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.661, allocations: 2.125 kB / 1.15 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003333/0.6644, allocations: 1.134 MB / 1.151 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.6645, allocations: 158.9 kB / 1.151 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6645, allocations: 2 kB / 1.151 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.6659, allocations: 333.5 kB / 1.151 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.6666, allocations: 150.5 kB / 1.151 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.6682, allocations: 0.9391 MB / 1.152 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.6697, allocations: 171.7 kB / 1.152 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.2e-05/0.6698, allocations: 28.78 kB / 1.152 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.6698, allocations: 3.5 kB / 1.152 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002787/0.6726, allocations: 1 MB / 1.153 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6726, allocations: 4 kB / 1.153 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.6737, allocations: 332.8 kB / 1.154 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/0.6744, allocations: 147.3 kB / 1.154 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.6759, allocations: 0.9259 MB / 1.155 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.6772, allocations: 182.7 kB / 1.155 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/0.6773, allocations: 28.55 kB / 1.155 GB, free: 10.49 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0006286/0.6779, allocations: 347.2 kB / 1.155 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.6782, allocations: 106.7 kB / 1.155 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004616/0.6828, allocations: 1.434 MB / 1.157 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.6828, allocations: 9.266 kB / 1.157 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.6828, allocations: 0 / 1.157 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.6828, allocations: 3.094 kB / 1.157 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006225/0.6891, allocations: 2.528 MB / 1.159 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.6891, allocations: 0.6562 kB / 1.159 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005754/0.6897, allocations: 119.7 kB / 1.159 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.6907, allocations: 322.9 kB / 1.16 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/0.6908, allocations: 19.61 kB / 1.16 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.6923, allocations: 0.9641 MB / 1.161 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.6923, allocations: 11.88 kB / 1.161 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004305/0.6966, allocations: 1.452 MB / 1.162 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/0.6973, allocations: 283.6 kB / 1.162 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.6974, allocations: 20.73 kB / 1.162 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009521/0.6984, allocations: 123.5 kB / 1.163 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.6985, allocations: 37.7 kB / 1.163 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/0.6986, allocations: 28.77 kB / 1.163 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009637/0.6995, allocations: 0.6519 MB / 1.163 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6995, allocations: 0 / 1.163 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001546/0.7011, allocations: 0.5677 MB / 1.164 GB, free: 2.684 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008058/0.7019, allocations: 399.3 kB / 1.164 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00391/0.7058, allocations: 1.394 MB / 1.166 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.7058, allocations: 0 / 1.166 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.7071, allocations: 497.3 kB / 1.166 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/0.7098, allocations: 0.5019 MB / 1.167 GB, free: 364 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.7138, allocations: 2.37 MB / 1.169 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.7144, allocations: 1.075 MB / 1.17 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00115/0.7156, allocations: 234.6 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.7158, allocations: 83.03 kB / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.7158, allocations: 4 kB / 1.17 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of Templates: time 0.03896/0.7548, allocations: 23.84 MB / 1.193 GB, free: 6.805 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)