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.001632/0.001632, allocations: 107.1 kB / 15.99 MB, free: 5.887 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.001776/0.001776, allocations: 196.6 kB / 16.91 MB, free: 5.746 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.44/1.44, allocations: 205.1 MB / 222.8 MB, free: 4.664 MB / 174.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.779/1.779, allocations: 292.3 MB / 0.5492 GB, free: 13.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.001374/0.001374, allocations: 65.75 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2693, allocations: 114.6 MB / 0.7835 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05716/0.3265, allocations: 60.79 MB / 0.8429 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01662/0.3432, allocations: 11.84 MB / 0.8544 GB, free: 5.066 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002777/0.346, allocations: 51.69 kB / 0.8545 GB, free: 5.016 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002346/0.3484, allocations: 0.5828 MB / 0.8551 GB, free: 4.43 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006058/0.3545, allocations: 1.812 MB / 0.8568 GB, free: 2.609 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.358, allocations: 1.119 MB / 0.8579 GB, free: 1.504 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005113/0.3631, allocations: 3.122 MB / 0.861 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.365, allocations: 1.108 MB / 0.862 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00373/0.3687, allocations: 1.35 MB / 0.8634 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.3705, allocations: 0.9412 MB / 0.8643 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.3707, allocations: 120 kB / 0.8644 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.3738, allocations: 1.458 MB / 0.8658 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000355/0.3741, allocations: 294.9 kB / 0.8661 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000983/0.3751, allocations: 0.7114 MB / 0.8668 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002742/0.3779, allocations: 1.774 MB / 0.8685 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3779, allocations: 4 kB / 0.8685 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3779, allocations: 0 / 0.8685 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.942e-05/0.3779, allocations: 0 / 0.8685 GB, free: 6.562 MB / 0.6856 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.00328/0.3812, allocations: 1.754 MB / 0.8702 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3813, allocations: 12.03 kB / 0.8703 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.3834, allocations: 406.9 kB / 0.8706 GB, free: 4.34 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.3857, allocations: 1.147 MB / 0.8718 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003308/0.3861, allocations: 113.9 kB / 0.8719 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.3862, allocations: 84 kB / 0.872 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.3884, allocations: 0.9995 MB / 0.8729 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.3884, allocations: 4 kB / 0.8729 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.491e-05/0.3885, allocations: 28 kB / 0.873 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.3885, allocations: 23.98 kB / 0.873 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.3908, allocations: 0.9055 MB / 0.8739 GB, free: 0.9453 MB / 0.6856 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.006899/0.3977, allocations: 4.604 MB / 0.8784 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00348/0.4012, allocations: 0.8437 MB / 0.8792 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007975/0.4021, allocations: 333.9 kB / 0.8795 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006477/0.4027, allocations: 0.9068 MB / 0.8804 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.4028, allocations: 39 kB / 0.8804 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.595e-06/0.4028, allocations: 3.938 kB / 0.8804 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.008715/0.4115, allocations: 2.006 MB / 0.8824 GB, free: 7.652 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.4116, allocations: 59.84 kB / 0.8824 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.4133, allocations: 1.06 MB / 0.8835 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.4134, allocations: 37.7 kB / 0.8835 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004135/0.4138, allocations: 0.5237 MB / 0.884 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.414, allocations: 169.6 kB / 0.8842 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.4143, allocations: 138 kB / 0.8843 GB, free: 5.625 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4144, allocations: 330 kB / 0.8846 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009427/0.4153, allocations: 334.9 kB / 0.885 GB, free: 4.969 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.4165, allocations: 0.525 MB / 0.8855 GB, free: 4.363 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.4182, allocations: 0.7253 MB / 0.8862 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.4182, allocations: 4 kB / 0.8862 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003872/0.4221, allocations: 1.183 MB / 0.8873 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4221, allocations: 10.53 kB / 0.8873 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.4221, allocations: 4 kB / 0.8874 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.4234, allocations: 319.7 kB / 0.8877 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/0.424, allocations: 135.8 kB / 0.8878 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.4255, allocations: 0.9151 MB / 0.8887 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.427, allocations: 171.3 kB / 0.8888 GB, free: 0.8242 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-05/0.4271, allocations: 43.91 kB / 0.8889 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00135/0.4284, allocations: 0.5329 MB / 0.8894 GB, free: 252 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001078/0.4295, allocations: 0.5284 MB / 0.8899 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001686/0.4312, allocations: 0.7137 MB / 0.8906 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.867e-06/0.4312, allocations: 3.938 kB / 0.8906 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.0037/0.4349, allocations: 1.171 MB / 0.8918 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.435, allocations: 4 kB / 0.8918 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.435, allocations: 4 kB / 0.8918 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.4361, allocations: 312.9 kB / 0.8921 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.4366, allocations: 135.8 kB / 0.8922 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.438, allocations: 0.9145 MB / 0.8931 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.4395, allocations: 163.6 kB / 0.8932 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.404e-05/0.4395, allocations: 27.98 kB / 0.8933 GB, free: 12.11 MB / 0.7169 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 (56): * Single equations (assignments): 55 * 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.0002878/0.4398, allocations: 220.1 kB / 0.8935 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.44, allocations: 118.5 kB / 0.8936 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003999/0.444, allocations: 1.2 MB / 0.8948 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.444, allocations: 4 kB / 0.8948 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.4441, allocations: 0 / 0.8948 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4441, allocations: 3.984 kB / 0.8948 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00559/0.4497, allocations: 2.284 MB / 0.897 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.4497, allocations: 4 kB / 0.897 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.4501, allocations: 80.14 kB / 0.8971 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.4511, allocations: 300.6 kB / 0.8974 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.4512, allocations: 19.98 kB / 0.8974 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.4527, allocations: 0.9451 MB / 0.8983 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.4527, allocations: 4 kB / 0.8983 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/0.4565, allocations: 1.24 MB / 0.8995 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006243/0.4572, allocations: 279.4 kB / 0.8998 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002867/0.4575, allocations: 15.98 kB / 0.8998 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.4586, allocations: 99.89 kB / 0.8999 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.4587, allocations: 39.31 kB / 0.8999 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-05/0.4588, allocations: 23.98 kB / 0.9 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001425/0.4602, allocations: 0.7432 MB / 0.9007 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4602, allocations: 3.938 kB / 0.9007 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002057/0.4623, allocations: 0.5652 MB / 0.9013 GB, free: 3.727 MB / 0.7169 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.00115/0.4635, allocations: 397 kB / 0.9016 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00372/0.4672, allocations: 1.218 MB / 0.9028 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.4672, allocations: 0 / 0.9028 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.4683, allocations: 398.7 kB / 0.9032 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/0.4712, allocations: 0.5236 MB / 0.9037 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00642/0.4777, allocations: 2.509 MB / 0.9062 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008232/0.4785, allocations: 1.074 MB / 0.9072 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.4789, allocations: 83.41 kB / 0.9073 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of SimCode: time 7.91e-07/0.4789, allocations: 0 / 0.9073 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.451/0.93, allocations: 24.41 MB / 0.9311 GB, free: 134.1 MB / 0.7325 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)