Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.634/1.634, allocations: 288.4 MB / 303.6 MB, free: 8.035 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000985/0.000985, allocations: 182.4 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 0.631 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006983/0.0006984, allocations: 78.38 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004451, allocations: 16.69 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2819, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05197/0.3339, allocations: 56.56 MB / 1.035 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.017/0.351, allocations: 11.13 MB / 1.046 GB, free: 7.48 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003552/0.3546, allocations: 47.69 kB / 1.046 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002733/0.3574, allocations: 460.8 kB / 1.047 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007978/0.3654, allocations: 1.632 MB / 1.048 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004219/0.3696, allocations: 0.8685 MB / 1.049 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006581/0.3762, allocations: 3.427 MB / 1.053 GB, free: 1.043 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002681/0.379, allocations: 0.8902 MB / 1.053 GB, free: 124 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003928/0.3829, allocations: 1.104 MB / 1.054 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.3851, allocations: 0.8011 MB / 1.055 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004398/0.3855, allocations: 48 kB / 1.055 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004151/0.3897, allocations: 1.302 MB / 1.057 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006753/0.3904, allocations: 195 kB / 1.057 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.3924, allocations: 0.612 MB / 1.057 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004148/0.3966, allocations: 1.707 MB / 1.059 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.3966, allocations: 3.938 kB / 1.059 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.286e-06/0.3966, allocations: 0 / 1.059 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.172e-05/0.3967, allocations: 0 / 1.059 GB, free: 10.33 MB / 0.6823 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.004905/0.4016, allocations: 1.501 MB / 1.06 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.4017, allocations: 12.03 kB / 1.06 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/0.4043, allocations: 387 kB / 1.061 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/0.4078, allocations: 1.124 MB / 1.062 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004962/0.4083, allocations: 129.9 kB / 1.062 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.4086, allocations: 80 kB / 1.062 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002807/0.4114, allocations: 0.9644 MB / 1.063 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.4114, allocations: 3.938 kB / 1.063 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.882e-05/0.4115, allocations: 35.94 kB / 1.063 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.4116, allocations: 20 kB / 1.063 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003072/0.4146, allocations: 0.8626 MB / 1.064 GB, free: 5.066 MB / 0.6823 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.008005/0.4227, allocations: 4.52 MB / 1.068 GB, free: 236 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.459/0.8817, allocations: 0.6306 MB / 1.069 GB, free: 91.09 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008565/0.8826, allocations: 304.3 kB / 1.069 GB, free: 91.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/0.8839, allocations: 1.393 MB / 1.071 GB, free: 89.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.8839, allocations: 42.25 kB / 1.071 GB, free: 89.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.816e-06/0.8839, allocations: 0 / 1.071 GB, free: 89.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008474/0.8924, allocations: 1.909 MB / 1.073 GB, free: 89.37 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.8925, allocations: 56.56 kB / 1.073 GB, free: 89.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/0.895, allocations: 1.05 MB / 1.074 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.8952, allocations: 39.8 kB / 1.074 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005187/0.8957, allocations: 0.5173 MB / 1.074 GB, free: 88.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.8959, allocations: 161.9 kB / 1.074 GB, free: 88.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.8959, allocations: 14.06 kB / 1.074 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.896, allocations: 328.7 kB / 1.075 GB, free: 88.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009837/0.897, allocations: 295.1 kB / 1.075 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.8983, allocations: 0.4907 MB / 1.075 GB, free: 87.74 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.9003, allocations: 0.6581 MB / 1.076 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/0.9003, allocations: 0.75 kB / 1.076 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004255/0.9046, allocations: 1.176 MB / 1.077 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.425e-05/0.9047, allocations: 196.7 kB / 1.077 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.9047, allocations: 3.844 kB / 1.077 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.9061, allocations: 334.4 kB / 1.078 GB, free: 86.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/0.9067, allocations: 121.9 kB / 1.078 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.9083, allocations: 0.935 MB / 1.079 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.9097, allocations: 187 kB / 1.079 GB, free: 86.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.068e-05/0.9098, allocations: 29.05 kB / 1.079 GB, free: 86.01 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.9098, allocations: 5.094 kB / 1.079 GB, free: 86.01 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003573/0.9134, allocations: 1.034 MB / 1.08 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.9134, allocations: 3.344 kB / 1.08 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.9147, allocations: 329 kB / 1.08 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.9153, allocations: 121.4 kB / 1.08 GB, free: 85.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.9168, allocations: 0.9328 MB / 1.081 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.9183, allocations: 159.3 kB / 1.081 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.519e-05/0.9184, allocations: 29.03 kB / 1.082 GB, free: 84.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007093/0.9191, allocations: 356.5 kB / 1.082 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.9193, allocations: 113.2 kB / 1.082 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/0.9238, allocations: 1.192 MB / 1.083 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.9238, allocations: 10.22 kB / 1.083 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.9238, allocations: 0 / 1.083 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.9238, allocations: 3.578 kB / 1.083 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005812/0.9297, allocations: 2.212 MB / 1.085 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.9297, allocations: 2.703 kB / 1.085 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.93, allocations: 68.67 kB / 1.085 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.9311, allocations: 335.7 kB / 1.086 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.9312, allocations: 17.44 kB / 1.086 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.9327, allocations: 0.9746 MB / 1.087 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.9327, allocations: 6.406 kB / 1.087 GB, free: 82.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003943/0.9367, allocations: 1.237 MB / 1.088 GB, free: 81.87 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006153/0.9373, allocations: 282.8 kB / 1.088 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.9375, allocations: 9.578 kB / 1.088 GB, free: 81.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008953/0.9384, allocations: 99.42 kB / 1.088 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.9385, allocations: 45.48 kB / 1.088 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/0.9386, allocations: 24.5 kB / 1.088 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00137/0.9399, allocations: 0.7348 MB / 1.089 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9399, allocations: 0 / 1.089 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00178/0.9417, allocations: 0.5775 MB / 1.09 GB, free: 81.21 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009388/0.9427, allocations: 408.9 kB / 1.09 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003249/0.9459, allocations: 1.097 MB / 1.091 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.946, allocations: 0 / 1.091 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009514/0.9469, allocations: 351.9 kB / 1.091 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/0.9502, allocations: 0.5207 MB / 1.092 GB, free: 80.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/0.9545, allocations: 2.217 MB / 1.094 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006532/0.9551, allocations: 1.065 MB / 1.095 GB, free: 78.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001396/0.9566, allocations: 229.6 kB / 1.095 GB, free: 78.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.9568, allocations: 85.86 kB / 1.095 GB, free: 78.45 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/0.9568, allocations: 0 / 1.095 GB, free: 78.45 MB / 0.6823 GB Notification: Performance of Templates: time 0.04422/1.001, allocations: 24.45 MB / 1.119 GB, free: 67.04 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)