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.001573/0.001574, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 188 kB / 16.62 MB, free: 6.613 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.399/1.399, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.693/1.693, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001423/0.001423, allocations: 75.33 kB / 0.6723 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2185, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05834/0.2769, allocations: 61.29 MB / 0.844 GB, free: 15.25 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01781/0.2948, allocations: 11.91 MB / 0.8556 GB, free: 3.305 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/0.2976, allocations: 63.62 kB / 0.8557 GB, free: 3.242 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00244/0.3001, allocations: 0.6791 MB / 0.8563 GB, free: 2.559 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006863/0.307, allocations: 1.951 MB / 0.8582 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.3105, allocations: 1.231 MB / 0.8594 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004978/0.3155, allocations: 3.102 MB / 0.8625 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.3173, allocations: 1.135 MB / 0.8636 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/0.3207, allocations: 1.349 MB / 0.8649 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.3223, allocations: 0.9061 MB / 0.8658 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.3225, allocations: 120 kB / 0.8659 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/0.3252, allocations: 1.447 MB / 0.8673 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.3255, allocations: 298.8 kB / 0.8676 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008532/0.3264, allocations: 0.7036 MB / 0.8683 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003431/0.3298, allocations: 2.329 MB / 0.8705 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3299, allocations: 0 / 0.8705 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3299, allocations: 0 / 0.8705 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.028e-05/0.3299, allocations: 0 / 0.8705 GB, free: 3.938 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.00321/0.3331, allocations: 1.758 MB / 0.8723 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3332, allocations: 8.031 kB / 0.8723 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.3353, allocations: 410.8 kB / 0.8727 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.3375, allocations: 1.175 MB / 0.8738 GB, free: 488 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.198e-05/0.3376, allocations: 66 kB / 0.8739 GB, free: 424 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.3377, allocations: 80 kB / 0.8739 GB, free: 344 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.3399, allocations: 1.019 MB / 0.8749 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.34, allocations: 4 kB / 0.8749 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/0.3401, allocations: 32 kB / 0.875 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.3401, allocations: 19.98 kB / 0.875 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.3425, allocations: 0.9016 MB / 0.8759 GB, free: 14.31 MB / 0.7012 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.006777/0.3493, allocations: 4.972 MB / 0.8807 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003486/0.3528, allocations: 0.8357 MB / 0.8815 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008211/0.3536, allocations: 326 kB / 0.8819 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006626/0.3543, allocations: 0.9029 MB / 0.8827 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.3544, allocations: 42.94 kB / 0.8828 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 4.389e-06/0.3544, allocations: 0 / 0.8828 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.008689/0.3631, allocations: 1.939 MB / 0.8847 GB, free: 4.715 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.3631, allocations: 63.83 kB / 0.8847 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.3649, allocations: 1.084 MB / 0.8858 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.397e-05/0.365, allocations: 33.7 kB / 0.8858 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000424/0.3654, allocations: 0.539 MB / 0.8864 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.3656, allocations: 165.6 kB / 0.8865 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.3658, allocations: 146.1 kB / 0.8866 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.366, allocations: 337.9 kB / 0.887 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009945/0.367, allocations: 335.2 kB / 0.8873 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.3682, allocations: 0.5522 MB / 0.8878 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/0.3701, allocations: 0.754 MB / 0.8886 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3701, allocations: 0 / 0.8886 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003916/0.374, allocations: 1.225 MB / 0.8898 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.3741, allocations: 8 kB / 0.8898 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.3741, allocations: 4 kB / 0.8898 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.3754, allocations: 311 kB / 0.8901 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/0.3761, allocations: 147.8 kB / 0.8902 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.3776, allocations: 0.8919 MB / 0.8911 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.3789, allocations: 159.2 kB / 0.8912 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.379, allocations: 43.91 kB / 0.8913 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001363/0.3804, allocations: 0.5408 MB / 0.8918 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001194/0.3816, allocations: 0.5405 MB / 0.8923 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001809/0.3834, allocations: 0.754 MB / 0.8931 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.052e-06/0.3834, allocations: 4 kB / 0.8931 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.003934/0.3874, allocations: 1.193 MB / 0.8942 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3874, allocations: 12.06 kB / 0.8942 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3874, allocations: 4 kB / 0.8943 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.3885, allocations: 288.6 kB / 0.8945 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.3891, allocations: 147.8 kB / 0.8947 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.3906, allocations: 0.9025 MB / 0.8955 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.3923, allocations: 135.6 kB / 0.8957 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.3924, allocations: 31.98 kB / 0.8957 GB, free: 8.949 MB / 0.7169 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.0003187/0.3927, allocations: 224.1 kB / 0.8959 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.393, allocations: 118.6 kB / 0.896 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/0.397, allocations: 1.193 MB / 0.8972 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.3971, allocations: 4 kB / 0.8972 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.3971, allocations: 7.938 kB / 0.8972 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3971, allocations: 3.984 kB / 0.8972 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005319/0.4024, allocations: 2.273 MB / 0.8994 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.4025, allocations: 4.281 kB / 0.8994 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.4028, allocations: 83.81 kB / 0.8995 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009626/0.4038, allocations: 287.6 kB / 0.8998 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.4038, allocations: 15.98 kB / 0.8998 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.4053, allocations: 0.9269 MB / 0.9007 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4053, allocations: 3.938 kB / 0.9007 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/0.4091, allocations: 1.232 MB / 0.9019 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/0.4096, allocations: 267.5 kB / 0.9022 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.4097, allocations: 23.88 kB / 0.9022 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/0.4106, allocations: 79.89 kB / 0.9023 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.888e-05/0.4107, allocations: 39.33 kB / 0.9023 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/0.4107, allocations: 27.97 kB / 0.9023 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001204/0.4119, allocations: 0.7594 MB / 0.9031 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4119, allocations: 0 / 0.9031 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001533/0.4135, allocations: 0.5848 MB / 0.9037 GB, free: 0.6094 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.0007924/0.4143, allocations: 389.4 kB / 0.904 GB, free: 232 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003503/0.4178, allocations: 1.216 MB / 0.9052 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4178, allocations: 0 / 0.9052 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009872/0.4188, allocations: 390.8 kB / 0.9056 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.4212, allocations: 0.5389 MB / 0.9061 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005029/0.4262, allocations: 2.047 MB / 0.9081 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.4268, allocations: 1.066 MB / 0.9092 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008611/0.4277, allocations: 251 kB / 0.9094 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.4279, allocations: 79.42 kB / 0.9095 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of SimCode: time 9.02e-07/0.4279, allocations: 0 / 0.9095 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of Templates: time 0.4217/0.8497, allocations: 25.88 MB / 0.9347 GB, free: 132.3 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)