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.001846/0.001846, allocations: 107.4 kB / 15.34 MB, free: 0.4961 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.002462/0.002462, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.626/1.626, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.679/1.679, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001373/0.001373, allocations: 63.81 kB / 0.671 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2218, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05523/0.277, allocations: 60.71 MB / 0.8421 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01739/0.2945, allocations: 11.84 MB / 0.8537 GB, free: 5.133 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/0.2969, allocations: 55.62 kB / 0.8537 GB, free: 5.078 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.2991, allocations: 0.5828 MB / 0.8543 GB, free: 4.492 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005414/0.3046, allocations: 1.808 MB / 0.8561 GB, free: 2.676 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00312/0.3077, allocations: 1.102 MB / 0.8572 GB, free: 1.582 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004693/0.3124, allocations: 3.094 MB / 0.8602 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.3144, allocations: 1.1 MB / 0.8613 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00357/0.318, allocations: 1.348 MB / 0.8626 GB, free: 12 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.3198, allocations: 0.9373 MB / 0.8635 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.32, allocations: 116 kB / 0.8636 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/0.3226, allocations: 1.45 MB / 0.865 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000317/0.3229, allocations: 294.8 kB / 0.8653 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008727/0.3238, allocations: 0.7036 MB / 0.866 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003695/0.3275, allocations: 2.302 MB / 0.8682 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3276, allocations: 4 kB / 0.8682 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3276, allocations: 0 / 0.8682 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.833e-05/0.3276, allocations: 0 / 0.8682 GB, free: 6.18 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.00364/0.3313, allocations: 1.738 MB / 0.8699 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3313, allocations: 12.03 kB / 0.8699 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.3335, allocations: 406.8 kB / 0.8703 GB, free: 3.969 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.3357, allocations: 1.124 MB / 0.8714 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003387/0.336, allocations: 125.9 kB / 0.8715 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.3361, allocations: 83.94 kB / 0.8716 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.3381, allocations: 0.9799 MB / 0.8726 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.3382, allocations: 4 kB / 0.8726 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.3383, allocations: 32 kB / 0.8726 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.3383, allocations: 16 kB / 0.8726 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.3405, allocations: 0.8821 MB / 0.8735 GB, free: 0.6328 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.006836/0.3474, allocations: 4.58 MB / 0.878 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003409/0.3508, allocations: 0.8395 MB / 0.8788 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007603/0.3516, allocations: 318 kB / 0.8791 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006868/0.3523, allocations: 0.9029 MB / 0.88 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.3524, allocations: 42.98 kB / 0.88 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.735e-06/0.3524, allocations: 0 / 0.88 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.007774/0.3601, allocations: 1.795 MB / 0.8818 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.3602, allocations: 59.84 kB / 0.8818 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.3618, allocations: 1.051 MB / 0.8828 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.362, allocations: 37.7 kB / 0.8829 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/0.3624, allocations: 0.5158 MB / 0.8834 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.3626, allocations: 169.6 kB / 0.8835 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.3628, allocations: 130.1 kB / 0.8837 GB, free: 5.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3629, allocations: 330 kB / 0.884 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008912/0.3638, allocations: 318.8 kB / 0.8843 GB, free: 4.949 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.3649, allocations: 0.5133 MB / 0.8848 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.3666, allocations: 0.6942 MB / 0.8855 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.3666, allocations: 4 kB / 0.8855 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003837/0.3704, allocations: 1.17 MB / 0.8866 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.3705, allocations: 11.94 kB / 0.8866 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.3705, allocations: 4 kB / 0.8866 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.3717, allocations: 324 kB / 0.8869 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.3723, allocations: 119.8 kB / 0.8871 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.3738, allocations: 0.9191 MB / 0.888 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.3753, allocations: 169.8 kB / 0.8881 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.514e-05/0.3754, allocations: 31.98 kB / 0.8881 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0013/0.3767, allocations: 0.5244 MB / 0.8887 GB, free: 316 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001092/0.3778, allocations: 0.5131 MB / 0.8892 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001577/0.3794, allocations: 0.6863 MB / 0.8898 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.688e-06/0.3794, allocations: 4 kB / 0.8898 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00359/0.383, allocations: 1.151 MB / 0.891 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3831, allocations: 4.375 kB / 0.891 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3831, allocations: 8 kB / 0.891 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.3842, allocations: 304.6 kB / 0.8913 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/0.3848, allocations: 127.8 kB / 0.8914 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.3862, allocations: 0.9066 MB / 0.8923 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.3877, allocations: 159.5 kB / 0.8924 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.3878, allocations: 31.98 kB / 0.8925 GB, free: 12.25 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.0002606/0.388, allocations: 220.1 kB / 0.8927 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.3882, allocations: 106.7 kB / 0.8928 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003712/0.3919, allocations: 1.147 MB / 0.8939 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/0.392, allocations: 8 kB / 0.8939 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.392, allocations: 0 / 0.8939 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.392, allocations: 3.984 kB / 0.8939 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005123/0.3972, allocations: 2.223 MB / 0.8961 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.3972, allocations: 4 kB / 0.8961 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.3975, allocations: 71.83 kB / 0.8961 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.3985, allocations: 312.8 kB / 0.8964 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.3986, allocations: 19.98 kB / 0.8965 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.4, allocations: 0.9449 MB / 0.8974 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4, allocations: 0 / 0.8974 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004375/0.4044, allocations: 1.348 MB / 0.8987 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005643/0.405, allocations: 263.5 kB / 0.8989 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.4051, allocations: 12 kB / 0.899 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008691/0.406, allocations: 95.89 kB / 0.899 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-05/0.4061, allocations: 35.89 kB / 0.8991 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.4062, allocations: 23.98 kB / 0.8991 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001123/0.4073, allocations: 0.7508 MB / 0.8998 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4073, allocations: 0 / 0.8998 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001588/0.4089, allocations: 0.5614 MB / 0.9004 GB, free: 3.902 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.0007818/0.4097, allocations: 384.6 kB / 0.9008 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003394/0.4131, allocations: 1.167 MB / 0.9019 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.4131, allocations: 0 / 0.9019 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009521/0.4141, allocations: 375.3 kB / 0.9022 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.4165, allocations: 0.5402 MB / 0.9028 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/0.4218, allocations: 2.445 MB / 0.9052 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/0.4224, allocations: 1.062 MB / 0.9062 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001024/0.4234, allocations: 228.8 kB / 0.9064 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.4236, allocations: 83.41 kB / 0.9065 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.4236, allocations: 0 / 0.9065 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of Templates: time 0.4407/0.8644, allocations: 25.18 MB / 0.9311 GB, free: 131.1 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)