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.001408/0.001408, allocations: 108 kB / 15.6 MB, free: 132 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.001558/0.001558, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.384/1.384, allocations: 205.1 MB / 222.4 MB, free: 4.418 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.687/1.687, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001445/0.001445, allocations: 70.12 kB / 0.6715 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2205, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05632/0.2769, allocations: 61.29 MB / 0.8432 GB, free: 15.95 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01681/0.2937, allocations: 11.92 MB / 0.8549 GB, free: 4.004 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002283/0.2961, allocations: 63.62 kB / 0.8549 GB, free: 3.941 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.2982, allocations: 0.6791 MB / 0.8556 GB, free: 3.258 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005603/0.3039, allocations: 1.946 MB / 0.8575 GB, free: 1.305 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.3071, allocations: 1.232 MB / 0.8587 GB, free: 84 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004246/0.3114, allocations: 3.087 MB / 0.8617 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.3131, allocations: 1.124 MB / 0.8628 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003358/0.3165, allocations: 1.341 MB / 0.8641 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.3182, allocations: 0.9139 MB / 0.865 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002735/0.3185, allocations: 116 kB / 0.8651 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003006/0.3215, allocations: 1.439 MB / 0.8665 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.3219, allocations: 302.8 kB / 0.8668 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009312/0.3228, allocations: 0.7036 MB / 0.8675 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003468/0.3263, allocations: 2.306 MB / 0.8697 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3263, allocations: 0 / 0.8697 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3263, allocations: 0 / 0.8697 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.3263, allocations: 0 / 0.8697 GB, free: 4.695 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.003058/0.3294, allocations: 1.754 MB / 0.8714 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3295, allocations: 8.031 kB / 0.8715 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.3317, allocations: 410.8 kB / 0.8718 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.3337, allocations: 1.124 MB / 0.8729 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003815/0.334, allocations: 117.9 kB / 0.8731 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.3342, allocations: 80 kB / 0.8731 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.3362, allocations: 1.029 MB / 0.8741 GB, free: 16 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.3363, allocations: 3.938 kB / 0.8741 GB, free: 12 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-05/0.3364, allocations: 32.05 kB / 0.8742 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.3364, allocations: 20 kB / 0.8742 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/0.3389, allocations: 0.9132 MB / 0.8751 GB, free: 15.05 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.006584/0.3455, allocations: 5.015 MB / 0.88 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003676/0.3492, allocations: 0.8396 MB / 0.8808 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008822/0.3501, allocations: 337.6 kB / 0.8811 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006638/0.3508, allocations: 0.9028 MB / 0.882 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.3508, allocations: 39 kB / 0.882 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.966e-06/0.3508, allocations: 0 / 0.882 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.009457/0.3603, allocations: 2.017 MB / 0.884 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.3604, allocations: 55.84 kB / 0.8841 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.3621, allocations: 1.088 MB / 0.8851 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.594e-05/0.3622, allocations: 37.7 kB / 0.8852 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.3626, allocations: 0.5312 MB / 0.8857 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.3628, allocations: 165.6 kB / 0.8858 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.363, allocations: 146.1 kB / 0.886 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3632, allocations: 330 kB / 0.8863 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.3642, allocations: 343.2 kB / 0.8866 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.3654, allocations: 0.5561 MB / 0.8872 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.3673, allocations: 0.7735 MB / 0.8879 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3673, allocations: 0 / 0.8879 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004105/0.3714, allocations: 1.248 MB / 0.8891 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.3714, allocations: 4 kB / 0.8891 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3715, allocations: 8 kB / 0.8892 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.3727, allocations: 312.6 kB / 0.8894 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006227/0.3734, allocations: 143.8 kB / 0.8896 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.3749, allocations: 0.9113 MB / 0.8905 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.3762, allocations: 171.1 kB / 0.8906 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/0.3763, allocations: 31.98 kB / 0.8907 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001305/0.3776, allocations: 0.5479 MB / 0.8912 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001159/0.3788, allocations: 0.56 MB / 0.8918 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001829/0.3806, allocations: 0.7579 MB / 0.8925 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.448e-06/0.3806, allocations: 4 kB / 0.8925 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.003853/0.3845, allocations: 1.225 MB / 0.8937 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3845, allocations: 11.94 kB / 0.8937 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3846, allocations: 4 kB / 0.8937 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.3857, allocations: 307.6 kB / 0.894 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.3864, allocations: 147.8 kB / 0.8941 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.3879, allocations: 0.9112 MB / 0.895 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.3894, allocations: 147.5 kB / 0.8952 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.079e-05/0.3895, allocations: 31.98 kB / 0.8952 GB, free: 9.406 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.0003389/0.3898, allocations: 220.1 kB / 0.8954 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.39, allocations: 118.5 kB / 0.8955 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004136/0.3942, allocations: 1.201 MB / 0.8967 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.3942, allocations: 8 kB / 0.8967 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3942, allocations: 0 / 0.8967 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.3942, allocations: 3.984 kB / 0.8967 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005296/0.3995, allocations: 2.281 MB / 0.8989 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.3996, allocations: 3.984 kB / 0.8989 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.3999, allocations: 80.16 kB / 0.899 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.401, allocations: 312.4 kB / 0.8993 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.401, allocations: 15.98 kB / 0.8993 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.4025, allocations: 0.9415 MB / 0.9002 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.4026, allocations: 4.031 kB / 0.9003 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/0.4066, allocations: 1.248 MB / 0.9015 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005282/0.4071, allocations: 271.5 kB / 0.9017 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.4073, allocations: 15.94 kB / 0.9017 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008606/0.4081, allocations: 75.91 kB / 0.9018 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.4083, allocations: 55.25 kB / 0.9019 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.4083, allocations: 23.98 kB / 0.9019 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001106/0.4094, allocations: 0.7555 MB / 0.9026 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.673e-06/0.4094, allocations: 0 / 0.9026 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001514/0.411, allocations: 0.5847 MB / 0.9032 GB, free: 1.008 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.0007926/0.4118, allocations: 388.5 kB / 0.9036 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003809/0.4156, allocations: 1.259 MB / 0.9048 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4156, allocations: 0 / 0.9048 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.4167, allocations: 394.8 kB / 0.9052 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/0.4192, allocations: 0.5328 MB / 0.9057 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005593/0.4248, allocations: 2.097 MB / 0.9077 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.4255, allocations: 1.066 MB / 0.9088 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001135/0.4267, allocations: 246.5 kB / 0.909 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.4269, allocations: 75.42 kB / 0.9091 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of SimCode: time 7.02e-07/0.4269, allocations: 0 / 0.9091 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.4039/0.8308, allocations: 25.91 MB / 0.9344 GB, free: 132.5 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)