Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.001431, allocations: 107.5 kB / 16.37 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 186.3 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.837/1.837, allocations: 292.3 MB / 0.5496 GB, free: 17.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001619, allocations: 66.88 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2682, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.5271/0.7953, allocations: 61.3 MB / 0.8446 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01719/0.8126, allocations: 11.91 MB / 0.8563 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003426/0.8161, allocations: 56.31 kB / 0.8563 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002744/0.8189, allocations: 0.6801 MB / 0.857 GB, free: 15.79 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007644/0.8266, allocations: 1.957 MB / 0.8589 GB, free: 14.62 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004192/0.8308, allocations: 1.226 MB / 0.8601 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006066/0.8369, allocations: 3.086 MB / 0.8631 GB, free: 12.45 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/0.8392, allocations: 1.126 MB / 0.8642 GB, free: 11.94 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004527/0.8437, allocations: 1.344 MB / 0.8655 GB, free: 11.28 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002551/0.8463, allocations: 0.9221 MB / 0.8664 GB, free: 10.84 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003779/0.8467, allocations: 118.1 kB / 0.8665 GB, free: 10.84 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004331/0.851, allocations: 1.442 MB / 0.8679 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004956/0.8515, allocations: 294.2 kB / 0.8682 GB, free: 10.16 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.8528, allocations: 0.7077 MB / 0.8689 GB, free: 9.723 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005349/0.8582, allocations: 2.328 MB / 0.8712 GB, free: 8.469 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.8583, allocations: 0 / 0.8712 GB, free: 8.469 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8583, allocations: 4 kB / 0.8712 GB, free: 8.465 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.35e-05/0.8583, allocations: 3.984 kB / 0.8712 GB, free: 8.461 MB / 0.67 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.004355/0.8627, allocations: 1.751 MB / 0.8729 GB, free: 7.117 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.8627, allocations: 8.906 kB / 0.8729 GB, free: 7.117 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.8651, allocations: 416.3 kB / 0.8733 GB, free: 6.926 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.8676, allocations: 1.171 MB / 0.8745 GB, free: 5.988 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.202e-05/0.8677, allocations: 65.31 kB / 0.8745 GB, free: 5.961 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.8678, allocations: 80.19 kB / 0.8746 GB, free: 5.938 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.87, allocations: 1.017 MB / 0.8756 GB, free: 5.266 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.8701, allocations: 5.844 kB / 0.8756 GB, free: 5.262 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.069e-05/0.8701, allocations: 32.31 kB / 0.8756 GB, free: 5.238 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.8702, allocations: 18.78 kB / 0.8756 GB, free: 5.238 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.8727, allocations: 0.9013 MB / 0.8765 GB, free: 4.797 MB / 0.67 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.0072/0.8799, allocations: 4.981 MB / 0.8814 GB, free: 380 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003594/0.8835, allocations: 0.824 MB / 0.8822 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008209/0.8843, allocations: 335.1 kB / 0.8825 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000688/0.885, allocations: 0.9107 MB / 0.8834 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.8851, allocations: 37.41 kB / 0.8834 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.415e-06/0.8851, allocations: 0 / 0.8834 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.00895/0.894, allocations: 1.945 MB / 0.8853 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.8941, allocations: 61.53 kB / 0.8854 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.896, allocations: 1.074 MB / 0.8864 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.8962, allocations: 42.25 kB / 0.8865 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.8966, allocations: 0.5349 MB / 0.887 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.8968, allocations: 174 kB / 0.8872 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.8971, allocations: 142.7 kB / 0.8873 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8972, allocations: 332.3 kB / 0.8876 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.8983, allocations: 331.4 kB / 0.8879 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.8995, allocations: 0.5576 MB / 0.8885 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.9014, allocations: 0.7583 MB / 0.8892 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.9014, allocations: 1.219 kB / 0.8892 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004078/0.9055, allocations: 1.22 MB / 0.8904 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.9055, allocations: 6.312 kB / 0.8904 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.9055, allocations: 4.844 kB / 0.8904 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.9068, allocations: 299.4 kB / 0.8907 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006301/0.9075, allocations: 142.3 kB / 0.8909 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.909, allocations: 0.9027 MB / 0.8917 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.9106, allocations: 167.9 kB / 0.8919 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.9107, allocations: 34.95 kB / 0.8919 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00141/0.9121, allocations: 0.5398 MB / 0.8925 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001193/0.9133, allocations: 0.5509 MB / 0.893 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001904/0.9152, allocations: 0.7504 MB / 0.8937 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.749e-06/0.9153, allocations: 1.125 kB / 0.8937 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.003892/0.9192, allocations: 1.199 MB / 0.8949 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.9192, allocations: 6.875 kB / 0.8949 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.9192, allocations: 4.219 kB / 0.8949 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.9203, allocations: 303.5 kB / 0.8952 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.921, allocations: 141 kB / 0.8953 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.9223, allocations: 0.9013 MB / 0.8962 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.9239, allocations: 143 kB / 0.8964 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/0.924, allocations: 31.36 kB / 0.8964 GB, free: 6.383 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 61 * 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.0002902/0.9243, allocations: 220.5 kB / 0.8966 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.9246, allocations: 113.6 kB / 0.8967 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004206/0.9288, allocations: 1.188 MB / 0.8979 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.9288, allocations: 10.08 kB / 0.8979 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.9288, allocations: 4 kB / 0.8979 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.9288, allocations: 5.516 kB / 0.8979 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005601/0.9345, allocations: 2.27 MB / 0.9001 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.9345, allocations: 2.062 kB / 0.9001 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.9349, allocations: 81 kB / 0.9002 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009789/0.9358, allocations: 294 kB / 0.9005 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.506e-05/0.9359, allocations: 16 kB / 0.9005 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.9373, allocations: 0.923 MB / 0.9014 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.9373, allocations: 4 kB / 0.9014 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003907/0.9412, allocations: 1.236 MB / 0.9026 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006287/0.9419, allocations: 267.5 kB / 0.9028 GB, free: 260 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.9421, allocations: 19.92 kB / 0.9029 GB, free: 240 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008498/0.9429, allocations: 75.91 kB / 0.9029 GB, free: 164 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.24e-05/0.943, allocations: 43.27 kB / 0.903 GB, free: 124 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/0.9431, allocations: 27.92 kB / 0.903 GB, free: 96 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001215/0.9443, allocations: 0.7633 MB / 0.9037 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9443, allocations: 0 / 0.9037 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001732/0.946, allocations: 0.5731 MB / 0.9043 GB, free: 14.75 MB / 0.7012 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 (38): * Single equations (assignments): 33 * 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.0008723/0.9469, allocations: 396.5 kB / 0.9047 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003538/0.9505, allocations: 1.222 MB / 0.9059 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.9505, allocations: 4.125 kB / 0.9059 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.9515, allocations: 390.5 kB / 0.9062 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/0.9542, allocations: 0.5376 MB / 0.9068 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005408/0.9596, allocations: 2.084 MB / 0.9088 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/0.9602, allocations: 1.066 MB / 0.9099 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/0.9606, allocations: 91.41 kB / 0.9099 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of SimCode: time 1.533e-06/0.9606, allocations: 0 / 0.9099 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of Templates: time 0.03498/0.9956, allocations: 24.64 MB / 0.934 GB, free: 0.5859 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)