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.701/1.701, allocations: 288.4 MB / 303.7 MB, free: 8.102 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.001023/0.001024, allocations: 189.7 kB / 372.3 MB, free: 10.09 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.452/1.452, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0007295/0.0007297, allocations: 98.81 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004009, allocations: 16.45 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1724, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04422/0.2167, allocations: 56.53 MB / 1.035 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01508/0.2318, allocations: 11.12 MB / 1.046 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.2336, allocations: 51.69 kB / 1.046 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.2351, allocations: 464.8 kB / 1.047 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004529/0.2397, allocations: 1.629 MB / 1.048 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.2422, allocations: 0.8747 MB / 1.049 GB, free: 4.473 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004085/0.2463, allocations: 3.424 MB / 1.052 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.2478, allocations: 0.8902 MB / 1.053 GB, free: 120 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.2503, allocations: 1.096 MB / 1.054 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.2516, allocations: 0.8089 MB / 1.055 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.2517, allocations: 44 kB / 1.055 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.2542, allocations: 1.275 MB / 1.056 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.2544, allocations: 207 kB / 1.057 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007264/0.2552, allocations: 0.6081 MB / 1.057 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002085/0.2573, allocations: 1.695 MB / 1.059 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2573, allocations: 0 / 1.059 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2573, allocations: 0 / 1.059 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.2573, allocations: 0 / 1.059 GB, free: 10.36 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.002567/0.2599, allocations: 1.497 MB / 1.06 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2599, allocations: 8.031 kB / 1.06 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/0.262, allocations: 474.8 kB / 1.061 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.264, allocations: 1.139 MB / 1.062 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003521/0.2644, allocations: 125.9 kB / 1.062 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.2645, allocations: 84 kB / 1.062 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.2666, allocations: 0.9995 MB / 1.063 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.2666, allocations: 4 kB / 1.063 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.671e-05/0.2667, allocations: 35.94 kB / 1.063 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.2667, allocations: 16 kB / 1.063 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.2691, allocations: 0.9289 MB / 1.064 GB, free: 4.91 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.3582/0.6273, allocations: 4.626 MB / 1.069 GB, free: 90.37 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004025/0.6314, allocations: 0.933 MB / 1.07 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008714/0.6323, allocations: 339.6 kB / 1.07 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004703/0.6328, allocations: 0.9019 MB / 1.071 GB, free: 89.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.6328, allocations: 42.31 kB / 1.071 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.597e-06/0.6328, allocations: 0 / 1.071 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008331/0.6411, allocations: 2.021 MB / 1.073 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.6412, allocations: 58.5 kB / 1.073 GB, free: 89.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.6431, allocations: 1.051 MB / 1.074 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.247e-05/0.6432, allocations: 34.52 kB / 1.074 GB, free: 88.65 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/0.6435, allocations: 0.5179 MB / 1.074 GB, free: 88.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.6437, allocations: 164.7 kB / 1.075 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.6437, allocations: 9.969 kB / 1.075 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.886e-05/0.6438, allocations: 326.1 kB / 1.075 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009831/0.6448, allocations: 339 kB / 1.075 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.6459, allocations: 0.5303 MB / 1.076 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.6478, allocations: 0.7323 MB / 1.076 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.6478, allocations: 1.688 kB / 1.076 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004748/0.6526, allocations: 1.225 MB / 1.078 GB, free: 86.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.6528, allocations: 202.7 kB / 1.078 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.6529, allocations: 3.625 kB / 1.078 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.6543, allocations: 329.3 kB / 1.078 GB, free: 86.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/0.655, allocations: 139.9 kB / 1.078 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.6565, allocations: 0.9439 MB / 1.079 GB, free: 85.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.6579, allocations: 197.4 kB / 1.079 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/0.658, allocations: 30.14 kB / 1.079 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.658, allocations: 5.969 kB / 1.079 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003439/0.6615, allocations: 1.095 MB / 1.08 GB, free: 85.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6615, allocations: 5.25 kB / 1.08 GB, free: 85.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/0.6632, allocations: 326.5 kB / 1.081 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/0.664, allocations: 133.1 kB / 1.081 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.6659, allocations: 0.9338 MB / 1.082 GB, free: 84.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.6674, allocations: 167.8 kB / 1.082 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.103e-05/0.6675, allocations: 30.42 kB / 1.082 GB, free: 84.64 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.000579/0.6681, allocations: 356.3 kB / 1.082 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.6683, allocations: 116.2 kB / 1.082 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/0.6724, allocations: 1.239 MB / 1.084 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.6724, allocations: 10.75 kB / 1.084 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6724, allocations: 0 / 1.084 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.6724, allocations: 4.031 kB / 1.084 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005402/0.6778, allocations: 2.311 MB / 1.086 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.6779, allocations: 2.094 kB / 1.086 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.6782, allocations: 76.36 kB / 1.086 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.6793, allocations: 329.2 kB / 1.086 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.6793, allocations: 17.83 kB / 1.086 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.6807, allocations: 0.9603 MB / 1.087 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.6808, allocations: 7.031 kB / 1.087 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004673/0.6854, allocations: 1.458 MB / 1.089 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005703/0.686, allocations: 285.4 kB / 1.089 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.6862, allocations: 21.17 kB / 1.089 GB, free: 81.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008609/0.687, allocations: 109.2 kB / 1.089 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.6871, allocations: 33.75 kB / 1.089 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.6872, allocations: 24.94 kB / 1.089 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001187/0.6884, allocations: 0.7346 MB / 1.09 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6884, allocations: 0 / 1.09 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001426/0.6898, allocations: 0.5681 MB / 1.09 GB, free: 80.88 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.0006642/0.6905, allocations: 381.5 kB / 1.091 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003265/0.6938, allocations: 1.211 MB / 1.092 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6938, allocations: 256 / 1.092 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009574/0.6948, allocations: 391.3 kB / 1.092 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/0.6976, allocations: 0.5218 MB / 1.093 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.7029, allocations: 2.504 MB / 1.095 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.7035, allocations: 1.064 MB / 1.096 GB, free: 78.13 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001306/0.7049, allocations: 224 kB / 1.097 GB, free: 78.08 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.7051, allocations: 81.73 kB / 1.097 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of SimCode: time 6.21e-07/0.7051, allocations: 4 kB / 1.097 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.03776/0.7429, allocations: 24.24 MB / 1.12 GB, free: 65.79 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)