Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.639/1.639, allocations: 288.4 MB / 303.4 MB, free: 8.18 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.001189/0.00119, allocations: 176.5 kB / 372 MB, free: 10.25 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.418/1.418, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.0007573/0.0007571, allocations: 96.73 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004095, allocations: 15.28 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1858, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.0462/0.232, allocations: 56.52 MB / 1.035 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.247, allocations: 11.13 MB / 1.046 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.2489, allocations: 51.62 kB / 1.046 GB, free: 7.789 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.2504, allocations: 460.9 kB / 1.046 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.2545, allocations: 1.518 MB / 1.048 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.257, allocations: 0.8872 MB / 1.048 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003874/0.2609, allocations: 3.374 MB / 1.052 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.2622, allocations: 0.7938 MB / 1.053 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.2648, allocations: 1.05 MB / 1.054 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.2663, allocations: 0.8089 MB / 1.054 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.2665, allocations: 40 kB / 1.054 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/0.2692, allocations: 1.099 MB / 1.055 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.2695, allocations: 199 kB / 1.056 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000413/0.2699, allocations: 289.1 kB / 1.056 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.272, allocations: 1.637 MB / 1.058 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.272, allocations: 0 / 1.058 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.633e-06/0.272, allocations: 0 / 1.058 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.011e-05/0.272, allocations: 0 / 1.058 GB, free: 11.6 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.002742/0.2748, allocations: 1.504 MB / 1.059 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2748, allocations: 12.03 kB / 1.059 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/0.277, allocations: 473.9 kB / 1.059 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.279, allocations: 1.108 MB / 1.061 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003518/0.2794, allocations: 121.9 kB / 1.061 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.2795, allocations: 84 kB / 1.061 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.2815, allocations: 1.003 MB / 1.062 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.2815, allocations: 0 / 1.062 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.867e-05/0.2816, allocations: 32 kB / 1.062 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.2817, allocations: 20 kB / 1.062 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.2839, allocations: 0.9173 MB / 1.063 GB, free: 6.184 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.006192/0.2901, allocations: 4.631 MB / 1.067 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003527/0.2937, allocations: 0.9411 MB / 1.068 GB, free: 296 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3665/0.6602, allocations: 332.8 kB / 1.068 GB, free: 91.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006121/0.6608, allocations: 0.9044 MB / 1.069 GB, free: 90.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.6609, allocations: 38.56 kB / 1.069 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.574e-06/0.6609, allocations: 0 / 1.069 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008849/0.6697, allocations: 2.008 MB / 1.071 GB, free: 90.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.6698, allocations: 61.64 kB / 1.071 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.6714, allocations: 1.045 MB / 1.072 GB, free: 89.85 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.692e-05/0.6715, allocations: 39.58 kB / 1.072 GB, free: 89.81 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.6719, allocations: 0.5252 MB / 1.073 GB, free: 89.47 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.672, allocations: 159.7 kB / 1.073 GB, free: 89.37 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.6721, allocations: 10.59 kB / 1.073 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.6721, allocations: 334.1 kB / 1.073 GB, free: 89.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000997/0.6732, allocations: 330.3 kB / 1.074 GB, free: 88.97 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.6742, allocations: 0.5324 MB / 1.074 GB, free: 88.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.6753, allocations: 371 kB / 1.075 GB, free: 88.54 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.6753, allocations: 1.875 kB / 1.075 GB, free: 88.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00394/0.6792, allocations: 1.226 MB / 1.076 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.571e-05/0.6793, allocations: 201.7 kB / 1.076 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6793, allocations: 4.484 kB / 1.076 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.6807, allocations: 325.2 kB / 1.076 GB, free: 87.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/0.6813, allocations: 140.6 kB / 1.076 GB, free: 87.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.6828, allocations: 0.9391 MB / 1.077 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.6842, allocations: 198 kB / 1.078 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.6843, allocations: 30.16 kB / 1.078 GB, free: 87.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.6843, allocations: 3.625 kB / 1.078 GB, free: 87.15 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003591/0.6879, allocations: 1.097 MB / 1.079 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.6879, allocations: 3.625 kB / 1.079 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.6892, allocations: 328.7 kB / 1.079 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/0.6898, allocations: 134.3 kB / 1.079 GB, free: 86.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.6912, allocations: 0.9289 MB / 1.08 GB, free: 86.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.6926, allocations: 172.3 kB / 1.08 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.486e-05/0.6927, allocations: 33.23 kB / 1.08 GB, free: 86.03 MB / 0.6823 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 (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.0006052/0.6933, allocations: 354.5 kB / 1.081 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/0.6936, allocations: 116.8 kB / 1.081 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004395/0.698, allocations: 1.227 MB / 1.082 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/0.6981, allocations: 6.797 kB / 1.082 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.6981, allocations: 4.609 kB / 1.082 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.6981, allocations: 3.625 kB / 1.082 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005891/0.704, allocations: 2.315 MB / 1.084 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.704, allocations: 2.688 kB / 1.084 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.7044, allocations: 85.06 kB / 1.084 GB, free: 84.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.7055, allocations: 328.2 kB / 1.085 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/0.7056, allocations: 17.05 kB / 1.085 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.707, allocations: 0.9758 MB / 1.085 GB, free: 83.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.707, allocations: 2.812 kB / 1.085 GB, free: 83.49 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00468/0.7117, allocations: 1.451 MB / 1.087 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/0.7123, allocations: 284.5 kB / 1.087 GB, free: 82.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.7125, allocations: 13.42 kB / 1.087 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.7135, allocations: 109.6 kB / 1.087 GB, free: 82.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/0.7136, allocations: 44.23 kB / 1.087 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.7137, allocations: 24.28 kB / 1.087 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00128/0.715, allocations: 0.7393 MB / 1.088 GB, free: 82.36 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.715, allocations: 0 / 1.088 GB, free: 82.36 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00171/0.7167, allocations: 0.5653 MB / 1.089 GB, free: 82.27 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 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.000762/0.7175, allocations: 357.7 kB / 1.089 GB, free: 82.13 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003435/0.7209, allocations: 1.207 MB / 1.09 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.721, allocations: 3.938 kB / 1.09 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.722, allocations: 388.7 kB / 1.091 GB, free: 81.69 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/0.7248, allocations: 0.5235 MB / 1.091 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005906/0.7308, allocations: 2.503 MB / 1.093 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.7314, allocations: 1.066 MB / 1.095 GB, free: 79.51 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001379/0.7328, allocations: 230.5 kB / 1.095 GB, free: 79.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.7332, allocations: 80.64 kB / 1.095 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of SimCode: time 1.312e-06/0.7332, allocations: 0 / 1.095 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of Templates: time 0.04152/0.7747, allocations: 23.62 MB / 1.118 GB, free: 68.45 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)