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.764/2.764, allocations: 287.5 MB / 302.4 MB, free: 8.375 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.001349/0.001349, allocations: 184.5 kB / 371 MB, free: 10.86 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.122/2.122, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009479/0.0009479, allocations: 86.42 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006007/0.000601, allocations: 21.36 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2188, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.08125/0.3001, allocations: 56.52 MB / 1.034 GB, free: 3.699 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02317/0.3233, allocations: 11.13 MB / 1.044 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002253/0.3256, allocations: 51.62 kB / 1.044 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.3282, allocations: 460.9 kB / 1.045 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00691/0.3351, allocations: 1.523 MB / 1.046 GB, free: 6.516 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004512/0.3397, allocations: 0.8801 MB / 1.047 GB, free: 5.648 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006647/0.3463, allocations: 3.374 MB / 1.051 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/0.3485, allocations: 0.7899 MB / 1.051 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003606/0.3522, allocations: 1.05 MB / 1.052 GB, free: 404 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.3545, allocations: 0.8089 MB / 1.053 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003521/0.3549, allocations: 44 kB / 1.053 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/0.3592, allocations: 1.099 MB / 1.054 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005611/0.3598, allocations: 199 kB / 1.054 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007366/0.3606, allocations: 281.1 kB / 1.055 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004132/0.3647, allocations: 1.641 MB / 1.056 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.3648, allocations: 4 kB / 1.056 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.667e-06/0.3648, allocations: 0 / 1.056 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.547e-05/0.3649, allocations: 0 / 1.056 GB, free: 12.31 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.00502/0.3699, allocations: 1.504 MB / 1.058 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.37, allocations: 8.031 kB / 1.058 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004116/0.3741, allocations: 477.9 kB / 1.058 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003785/0.378, allocations: 1.105 MB / 1.059 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006681/0.3787, allocations: 125.9 kB / 1.059 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.3789, allocations: 80 kB / 1.06 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003666/0.3826, allocations: 1.003 MB / 1.06 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.3827, allocations: 4 kB / 1.06 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.3828, allocations: 32 kB / 1.061 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.3829, allocations: 16 kB / 1.061 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00434/0.3872, allocations: 0.9212 MB / 1.061 GB, free: 6.898 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.01104/0.3983, allocations: 4.631 MB / 1.066 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006447/0.4048, allocations: 0.9412 MB / 1.067 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.4064, allocations: 336.5 kB / 1.067 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6277/1.034, allocations: 0.909 MB / 1.068 GB, free: 90.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/1.034, allocations: 36.08 kB / 1.068 GB, free: 90.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.677e-06/1.034, allocations: 0 / 1.068 GB, free: 90.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.01572/1.05, allocations: 2.004 MB / 1.07 GB, free: 90.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/1.05, allocations: 61.5 kB / 1.07 GB, free: 90.54 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/1.053, allocations: 1.049 MB / 1.071 GB, free: 90.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/1.053, allocations: 39.66 kB / 1.071 GB, free: 90.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/1.054, allocations: 0.5201 MB / 1.072 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/1.054, allocations: 160.5 kB / 1.072 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/1.054, allocations: 9.812 kB / 1.072 GB, free: 89.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.886e-05/1.054, allocations: 332.4 kB / 1.072 GB, free: 89.47 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/1.056, allocations: 334.9 kB / 1.073 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/1.058, allocations: 0.5294 MB / 1.073 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/1.06, allocations: 366.5 kB / 1.073 GB, free: 88.97 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/1.06, allocations: 1.734 kB / 1.073 GB, free: 88.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.007163/1.068, allocations: 1.234 MB / 1.075 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/1.068, allocations: 203.8 kB / 1.075 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.068, allocations: 4.875 kB / 1.075 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/1.07, allocations: 325.5 kB / 1.075 GB, free: 88.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.071, allocations: 141.3 kB / 1.075 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/1.074, allocations: 0.9423 MB / 1.076 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/1.077, allocations: 197.2 kB / 1.076 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/1.077, allocations: 29.75 kB / 1.076 GB, free: 87.56 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.077, allocations: 4.25 kB / 1.076 GB, free: 87.56 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006513/1.083, allocations: 1.093 MB / 1.077 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/1.083, allocations: 8.125 kB / 1.077 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/1.085, allocations: 320.5 kB / 1.078 GB, free: 87.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/1.087, allocations: 137.8 kB / 1.078 GB, free: 87.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/1.089, allocations: 0.9262 MB / 1.079 GB, free: 86.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/1.092, allocations: 172.7 kB / 1.079 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/1.092, allocations: 29.05 kB / 1.079 GB, free: 86.45 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.0008549/1.093, allocations: 358.4 kB / 1.079 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004779/1.093, allocations: 112 kB / 1.079 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007293/1.1, allocations: 1.234 MB / 1.081 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-05/1.101, allocations: 11.05 kB / 1.081 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.101, allocations: 0.8438 kB / 1.081 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/1.101, allocations: 3.047 kB / 1.081 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/1.111, allocations: 2.321 MB / 1.083 GB, free: 84.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/1.111, allocations: 2.203 kB / 1.083 GB, free: 84.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006438/1.111, allocations: 76.19 kB / 1.083 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/1.113, allocations: 322.9 kB / 1.083 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/1.113, allocations: 17.78 kB / 1.083 GB, free: 84.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/1.116, allocations: 0.9707 MB / 1.084 GB, free: 83.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.116, allocations: 6.812 kB / 1.084 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008448/1.124, allocations: 1.454 MB / 1.086 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000928/1.125, allocations: 285.7 kB / 1.086 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/1.126, allocations: 14.52 kB / 1.086 GB, free: 83.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.127, allocations: 110 kB / 1.086 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.128, allocations: 38.27 kB / 1.086 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.128, allocations: 25.41 kB / 1.086 GB, free: 83.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002186/1.13, allocations: 0.7351 MB / 1.087 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.032e-06/1.13, allocations: 0 / 1.087 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002783/1.133, allocations: 0.565 MB / 1.087 GB, free: 82.69 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.001127/1.134, allocations: 382.5 kB / 1.088 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006121/1.14, allocations: 1.199 MB / 1.089 GB, free: 82.22 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.14, allocations: 4.25 kB / 1.089 GB, free: 82.21 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/1.142, allocations: 385.7 kB / 1.089 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004985/1.147, allocations: 0.5202 MB / 1.09 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009799/1.157, allocations: 2.505 MB / 1.092 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008516/1.158, allocations: 1.07 MB / 1.093 GB, free: 79.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001875/1.16, allocations: 229.9 kB / 1.094 GB, free: 79.88 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/1.16, allocations: 88.94 kB / 1.094 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of SimCode: time 1.322e-06/1.16, allocations: 0 / 1.094 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of Templates: time 0.06548/1.225, allocations: 23.59 MB / 1.117 GB, free: 69.52 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)