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.713/1.713, allocations: 288.4 MB / 303.4 MB, free: 8.051 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.0009326/0.0009326, allocations: 178.2 kB / 372 MB, free: 10.24 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.413/1.413, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007938/0.0007938, allocations: 99.19 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004249, allocations: 12.31 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2052, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05058/0.2558, allocations: 56.54 MB / 1.035 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.2705, allocations: 11.13 MB / 1.046 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.2725, allocations: 51.62 kB / 1.046 GB, free: 7.77 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.2744, allocations: 460.9 kB / 1.046 GB, free: 7.316 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005929/0.2804, allocations: 1.513 MB / 1.048 GB, free: 5.797 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.2835, allocations: 0.8831 MB / 1.049 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004503/0.288, allocations: 3.382 MB / 1.052 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.2897, allocations: 0.7937 MB / 1.053 GB, free: 0.7148 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.2925, allocations: 1.057 MB / 1.054 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.2944, allocations: 0.8011 MB / 1.054 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.2946, allocations: 44 kB / 1.054 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.2975, allocations: 1.123 MB / 1.056 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.2978, allocations: 199 kB / 1.056 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005236/0.2983, allocations: 281.1 kB / 1.056 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.3009, allocations: 1.652 MB / 1.058 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3009, allocations: 0 / 1.058 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3009, allocations: 7.875 kB / 1.058 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.302e-05/0.3009, allocations: 0 / 1.058 GB, free: 11.54 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.003008/0.304, allocations: 1.509 MB / 1.059 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.304, allocations: 12.03 kB / 1.059 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.3058, allocations: 378 kB / 1.059 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/0.3082, allocations: 1.099 MB / 1.061 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000372/0.3086, allocations: 125.9 kB / 1.061 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.3087, allocations: 84 kB / 1.061 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.3108, allocations: 0.9605 MB / 1.062 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.3108, allocations: 0 / 1.062 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.083e-05/0.3109, allocations: 39.94 kB / 1.062 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.3109, allocations: 20 kB / 1.062 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.3131, allocations: 0.8548 MB / 1.063 GB, free: 6.316 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.006557/0.3197, allocations: 4.524 MB / 1.067 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.3214, allocations: 0.6339 MB / 1.068 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006654/0.3221, allocations: 298 kB / 1.068 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4511/0.7732, allocations: 1.392 MB / 1.069 GB, free: 90.21 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.7733, allocations: 37.89 kB / 1.069 GB, free: 90.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.947e-06/0.7733, allocations: 0 / 1.069 GB, free: 90.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008725/0.782, allocations: 1.899 MB / 1.071 GB, free: 90.03 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.7821, allocations: 58.47 kB / 1.071 GB, free: 89.97 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.7838, allocations: 1.05 MB / 1.072 GB, free: 89.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.518e-05/0.7839, allocations: 37.8 kB / 1.072 GB, free: 89.67 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.7844, allocations: 0.5202 MB / 1.073 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.7845, allocations: 161.3 kB / 1.073 GB, free: 89.22 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.7846, allocations: 10.31 kB / 1.073 GB, free: 89.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.7846, allocations: 333.3 kB / 1.073 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000844/0.7855, allocations: 295.8 kB / 1.074 GB, free: 88.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.7865, allocations: 0.4888 MB / 1.074 GB, free: 88.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009083/0.7874, allocations: 337 kB / 1.074 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.7875, allocations: 0.9688 kB / 1.074 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003797/0.7913, allocations: 1.173 MB / 1.075 GB, free: 88.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.7914, allocations: 197.4 kB / 1.076 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.7914, allocations: 9.438 kB / 1.076 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.7928, allocations: 329.8 kB / 1.076 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005528/0.7933, allocations: 118.1 kB / 1.076 GB, free: 87.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.7949, allocations: 0.9403 MB / 1.077 GB, free: 87.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.7964, allocations: 184.2 kB / 1.077 GB, free: 87.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/0.7965, allocations: 33.08 kB / 1.077 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.7965, allocations: 5.406 kB / 1.077 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003496/0.8, allocations: 1.029 MB / 1.078 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.8001, allocations: 6.688 kB / 1.078 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.8015, allocations: 324.2 kB / 1.079 GB, free: 86.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/0.8021, allocations: 125.4 kB / 1.079 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.8036, allocations: 0.934 MB / 1.08 GB, free: 86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.8051, allocations: 153.8 kB / 1.08 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.8052, allocations: 32.81 kB / 1.08 GB, free: 85.95 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.0007821/0.806, allocations: 352.4 kB / 1.08 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/0.8063, allocations: 116.6 kB / 1.08 GB, free: 85.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/0.8106, allocations: 1.191 MB / 1.081 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.8107, allocations: 6.375 kB / 1.081 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.8107, allocations: 1.5 kB / 1.081 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.8107, allocations: 2.391 kB / 1.081 GB, free: 85.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005657/0.8164, allocations: 2.213 MB / 1.084 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.8164, allocations: 3.438 kB / 1.084 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.8167, allocations: 67.52 kB / 1.084 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.818, allocations: 333.6 kB / 1.084 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.409e-05/0.8181, allocations: 20.14 kB / 1.084 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.8197, allocations: 0.9728 MB / 1.085 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.8197, allocations: 2.781 kB / 1.085 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003947/0.8237, allocations: 1.249 MB / 1.086 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007011/0.8244, allocations: 283.4 kB / 1.086 GB, free: 82.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.8245, allocations: 14.3 kB / 1.086 GB, free: 82.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000923/0.8255, allocations: 103.2 kB / 1.086 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.8256, allocations: 33.33 kB / 1.087 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.247e-05/0.8256, allocations: 24.3 kB / 1.087 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001364/0.827, allocations: 0.7389 MB / 1.087 GB, free: 82.35 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.827, allocations: 0 / 1.087 GB, free: 82.35 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001789/0.8288, allocations: 0.5681 MB / 1.088 GB, free: 82.26 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.0007848/0.8296, allocations: 395.9 kB / 1.088 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003367/0.833, allocations: 1.092 MB / 1.089 GB, free: 81.81 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.833, allocations: 4.109 kB / 1.089 GB, free: 81.81 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009292/0.834, allocations: 355.3 kB / 1.09 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/0.8369, allocations: 0.5161 MB / 1.09 GB, free: 81.58 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.8409, allocations: 2.222 MB / 1.092 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.8416, allocations: 1.064 MB / 1.093 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001324/0.843, allocations: 231.9 kB / 1.094 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.8432, allocations: 80.69 kB / 1.094 GB, free: 79.49 MB / 0.6823 GB Notification: Performance of SimCode: time 1.503e-06/0.8432, allocations: 1.281 kB / 1.094 GB, free: 79.49 MB / 0.6823 GB Notification: Performance of Templates: time 0.04209/0.8853, allocations: 23.82 MB / 1.117 GB, free: 68.86 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)