Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.641/2.641, allocations: 287.3 MB / 302.3 MB, free: 8.41 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.001584/0.001584, allocations: 184.8 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001138/0.001138, allocations: 94.91 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004778, allocations: 12.72 kB / 0.8656 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2525, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.07961/0.3321, allocations: 51.32 MB / 1.028 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.022/0.3542, allocations: 10.22 MB / 1.038 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.3563, allocations: 55.56 kB / 1.038 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003057/0.3594, allocations: 0.6219 MB / 1.039 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008235/0.3677, allocations: 1.896 MB / 1.041 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006183/0.3739, allocations: 1.322 MB / 1.042 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005023/0.3789, allocations: 1.859 MB / 1.044 GB, free: 8.969 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/0.381, allocations: 0.7979 MB / 1.045 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.3844, allocations: 0.9925 MB / 1.046 GB, free: 7.152 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.3862, allocations: 0.6027 MB / 1.046 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003387/0.3865, allocations: 51.94 kB / 1.046 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.3903, allocations: 0.9868 MB / 1.047 GB, free: 5.508 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004608/0.3908, allocations: 199.1 kB / 1.047 GB, free: 5.312 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006785/0.3915, allocations: 285.1 kB / 1.048 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00357/0.3951, allocations: 1.582 MB / 1.049 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3951, allocations: 0 / 1.049 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3951, allocations: 0 / 1.049 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.777e-05/0.3952, allocations: 4 kB / 1.049 GB, free: 3.438 MB / 0.6667 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.004522/0.3997, allocations: 1.493 MB / 1.051 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.3998, allocations: 8.031 kB / 1.051 GB, free: 1.879 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003975/0.4038, allocations: 465.9 kB / 1.051 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/0.4072, allocations: 1.066 MB / 1.052 GB, free: 304 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007097/0.4079, allocations: 125.9 kB / 1.052 GB, free: 180 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/0.4082, allocations: 84 kB / 1.052 GB, free: 96 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/0.4119, allocations: 0.9995 MB / 1.053 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.412, allocations: 0 / 1.053 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.4122, allocations: 35.98 kB / 1.053 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.4122, allocations: 16 kB / 1.053 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004421/0.4166, allocations: 0.9289 MB / 1.054 GB, free: 14.07 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.01132/0.428, allocations: 4.658 MB / 1.059 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006637/0.4347, allocations: 0.9497 MB / 1.06 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009806/0.4357, allocations: 0.8951 MB / 1.061 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.4358, allocations: 43 kB / 1.061 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.566e-06/0.4358, allocations: 0 / 1.061 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.01486/0.4506, allocations: 2.006 MB / 1.063 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.4507, allocations: 55.84 kB / 1.063 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/0.4533, allocations: 1.071 MB / 1.064 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.4535, allocations: 37.7 kB / 1.064 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006447/0.4542, allocations: 0.5118 MB / 1.064 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.4544, allocations: 169.6 kB / 1.064 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/0.4545, allocations: 8 kB / 1.064 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4547, allocations: 329.9 kB / 1.065 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.4565, allocations: 340.9 kB / 1.065 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/0.4585, allocations: 0.5289 MB / 1.066 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.4604, allocations: 364.6 kB / 1.066 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.4604, allocations: 4 kB / 1.066 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.007113/0.4675, allocations: 1.225 MB / 1.067 GB, free: 216 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.6634/1.131, allocations: 1.49 MB / 1.069 GB, free: 89.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/1.131, allocations: 5.641 kB / 1.069 GB, free: 89.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002469/1.133, allocations: 334.5 kB / 1.069 GB, free: 89.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/1.135, allocations: 137 kB / 1.069 GB, free: 89.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/1.137, allocations: 0.9387 MB / 1.07 GB, free: 88.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/1.14, allocations: 197.8 kB / 1.07 GB, free: 88.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/1.14, allocations: 31.98 kB / 1.07 GB, free: 88.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.14, allocations: 4.688 kB / 1.07 GB, free: 88.52 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006383/1.147, allocations: 1.09 MB / 1.071 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/1.147, allocations: 4.344 kB / 1.071 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/1.149, allocations: 326.8 kB / 1.072 GB, free: 88.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.15, allocations: 133.8 kB / 1.072 GB, free: 88.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/1.152, allocations: 0.9277 MB / 1.073 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/1.155, allocations: 176.9 kB / 1.073 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/1.155, allocations: 29.69 kB / 1.073 GB, free: 87.79 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.0008349/1.156, allocations: 356.4 kB / 1.073 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003654/1.156, allocations: 109.6 kB / 1.073 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007242/1.163, allocations: 1.239 MB / 1.075 GB, free: 87.17 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-05/1.163, allocations: 10.5 kB / 1.075 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/1.163, allocations: 3.016 kB / 1.075 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/1.163, allocations: 5.031 kB / 1.075 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/1.177, allocations: 2.332 MB / 1.077 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.463e-05/1.177, allocations: 2.438 kB / 1.077 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008897/1.178, allocations: 74 kB / 1.077 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002701/1.181, allocations: 329.4 kB / 1.077 GB, free: 86.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/1.181, allocations: 18.2 kB / 1.077 GB, free: 86.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003464/1.184, allocations: 0.9623 MB / 1.078 GB, free: 85.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/1.184, allocations: 12 kB / 1.078 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/1.196, allocations: 1.561 MB / 1.08 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.198, allocations: 297 kB / 1.08 GB, free: 84.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003983/1.198, allocations: 18.59 kB / 1.08 GB, free: 84.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002892/1.201, allocations: 109.7 kB / 1.08 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/1.201, allocations: 34.5 kB / 1.08 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/1.201, allocations: 23.88 kB / 1.08 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003466/1.205, allocations: 0.7509 MB / 1.081 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.91e-07/1.205, allocations: 1.594 kB / 1.081 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003835/1.209, allocations: 0.5698 MB / 1.081 GB, free: 84.03 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.001596/1.21, allocations: 394.5 kB / 1.082 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007957/1.218, allocations: 1.202 MB / 1.083 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.219, allocations: 1.375 kB / 1.083 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/1.22, allocations: 385 kB / 1.083 GB, free: 83.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00484/1.225, allocations: 0.518 MB / 1.084 GB, free: 83.31 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009632/1.235, allocations: 2.495 MB / 1.086 GB, free: 82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008496/1.236, allocations: 1.088 MB / 1.087 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001948/1.238, allocations: 230.2 kB / 1.088 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/1.238, allocations: 84.55 kB / 1.088 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of SimCode: time 1.173e-06/1.238, allocations: 3.938 kB / 1.088 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of Templates: time 0.06867/1.307, allocations: 23.91 MB / 1.111 GB, free: 71.96 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)