Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001484/0.001484, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.524/1.524, allocations: 205.1 MB / 222 MB, free: 4.777 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.68/1.68, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.00134/0.00134, allocations: 65.28 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2319, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05514/0.2871, allocations: 60.87 MB / 0.8421 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.3032, allocations: 11.96 MB / 0.8538 GB, free: 4.945 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.3052, allocations: 51.69 kB / 0.8538 GB, free: 4.895 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.3073, allocations: 0.5555 MB / 0.8544 GB, free: 4.336 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005538/0.3129, allocations: 1.788 MB / 0.8561 GB, free: 2.543 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003395/0.3163, allocations: 1.095 MB / 0.8572 GB, free: 1.457 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005392/0.3217, allocations: 3.89 MB / 0.861 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.3235, allocations: 0.9274 MB / 0.8619 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.3262, allocations: 1.167 MB / 0.863 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.3279, allocations: 0.8982 MB / 0.8639 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003144/0.3282, allocations: 60 kB / 0.864 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.3313, allocations: 1.341 MB / 0.8653 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003801/0.3317, allocations: 234.9 kB / 0.8655 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009977/0.3327, allocations: 0.6372 MB / 0.8661 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002977/0.3357, allocations: 2.251 MB / 0.8683 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3357, allocations: 0 / 0.8683 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of FrontEnd: time 8.22e-07/0.3357, allocations: 4 kB / 0.8683 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.3357, allocations: 0 / 0.8683 GB, free: 5.988 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002953/0.3387, allocations: 1.734 MB / 0.87 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3387, allocations: 8.031 kB / 0.87 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.3408, allocations: 410.8 kB / 0.8704 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.3427, allocations: 1.132 MB / 0.8715 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003489/0.3431, allocations: 121.9 kB / 0.8716 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.3432, allocations: 80 kB / 0.8717 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.3452, allocations: 0.9761 MB / 0.8727 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.3452, allocations: 0 / 0.8727 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-05/0.3453, allocations: 32 kB / 0.8727 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.3453, allocations: 20 kB / 0.8727 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.3476, allocations: 0.8821 MB / 0.8736 GB, free: 460 kB / 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.005855/0.3535, allocations: 4.572 MB / 0.878 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/0.3569, allocations: 0.8366 MB / 0.8789 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007166/0.3576, allocations: 318.9 kB / 0.8792 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006883/0.3583, allocations: 0.9068 MB / 0.8801 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.3583, allocations: 46.94 kB / 0.8801 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.083e-06/0.3583, allocations: 0 / 0.8801 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.00751/0.3659, allocations: 1.799 MB / 0.8819 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.3659, allocations: 59.84 kB / 0.8819 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.3673, allocations: 1.047 MB / 0.8829 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.3674, allocations: 41.7 kB / 0.883 GB, free: 6.234 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.3678, allocations: 0.5158 MB / 0.8835 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.3679, allocations: 169.5 kB / 0.8836 GB, free: 5.547 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.3681, allocations: 130.1 kB / 0.8838 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3683, allocations: 326 kB / 0.8841 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008655/0.3691, allocations: 322.9 kB / 0.8844 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.3702, allocations: 0.5211 MB / 0.8849 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.3718, allocations: 0.6863 MB / 0.8856 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3718, allocations: 0 / 0.8856 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00346/0.3752, allocations: 1.175 MB / 0.8867 GB, free: 2.242 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.3753, allocations: 12 kB / 0.8867 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.3753, allocations: 4 kB / 0.8867 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.3765, allocations: 320.5 kB / 0.887 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.3771, allocations: 123.8 kB / 0.8871 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.3785, allocations: 0.9143 MB / 0.888 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.3799, allocations: 179.2 kB / 0.8882 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.617e-05/0.38, allocations: 27.98 kB / 0.8882 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001211/0.3812, allocations: 0.5244 MB / 0.8887 GB, free: 124 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001064/0.3823, allocations: 0.5053 MB / 0.8892 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001559/0.3838, allocations: 0.6902 MB / 0.8899 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.3839, allocations: 0 / 0.8899 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003546/0.3874, allocations: 1.155 MB / 0.891 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3875, allocations: 10.88 kB / 0.8911 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3875, allocations: 8 kB / 0.8911 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.3885, allocations: 296.6 kB / 0.8913 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/0.3891, allocations: 131.8 kB / 0.8915 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.3905, allocations: 0.9113 MB / 0.8924 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.3919, allocations: 155.5 kB / 0.8925 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-05/0.392, allocations: 31.98 kB / 0.8925 GB, free: 12.07 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 (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.0002641/0.3923, allocations: 228 kB / 0.8928 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.3925, allocations: 110.6 kB / 0.8929 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/0.3962, allocations: 1.139 MB / 0.894 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/0.3963, allocations: 11.98 kB / 0.894 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.3963, allocations: 4 kB / 0.894 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3963, allocations: 0 / 0.894 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005238/0.4015, allocations: 2.212 MB / 0.8961 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.4016, allocations: 4.062 kB / 0.8962 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.4019, allocations: 75.83 kB / 0.8962 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009915/0.4029, allocations: 304.6 kB / 0.8965 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/0.4029, allocations: 15.98 kB / 0.8965 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.4044, allocations: 0.9463 MB / 0.8975 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4044, allocations: 0 / 0.8975 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004395/0.4088, allocations: 1.34 MB / 0.8988 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005211/0.4094, allocations: 279.4 kB / 0.899 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.4096, allocations: 12 kB / 0.899 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009307/0.4105, allocations: 91.89 kB / 0.8991 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.746e-05/0.4106, allocations: 43.83 kB / 0.8992 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/0.4107, allocations: 23.98 kB / 0.8992 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001257/0.412, allocations: 0.7391 MB / 0.8999 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/0.412, allocations: 0 / 0.8999 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001629/0.4136, allocations: 0.5653 MB / 0.9005 GB, free: 3.723 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 (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.0007965/0.4144, allocations: 386.5 kB / 0.9008 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003193/0.4176, allocations: 1.139 MB / 0.9019 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4176, allocations: 3.938 kB / 0.902 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009401/0.4186, allocations: 371.4 kB / 0.9023 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/0.4211, allocations: 0.5153 MB / 0.9028 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005221/0.4263, allocations: 2.451 MB / 0.9052 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006174/0.4269, allocations: 1.066 MB / 0.9062 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001042/0.428, allocations: 232.8 kB / 0.9065 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.4282, allocations: 83.42 kB / 0.9065 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of SimCode: time 7.52e-07/0.4282, allocations: 0 / 0.9065 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.4186/0.8469, allocations: 24.4 MB / 0.9304 GB, free: 131.4 MB / 0.7325 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)