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 1.654/1.654, allocations: 287.5 MB / 302.6 MB, free: 8.219 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.0009599/0.0009598, allocations: 178 kB / 371.2 MB, free: 10.82 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.321/1.321, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.000788/0.0007882, allocations: 98.67 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 11.81 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1813, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04677/0.2281, allocations: 56.52 MB / 1.034 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.2431, allocations: 11.13 MB / 1.045 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.2447, allocations: 51.69 kB / 1.045 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.2463, allocations: 468.8 kB / 1.045 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.003996/0.2503, allocations: 1.509 MB / 1.047 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.2527, allocations: 0.8835 MB / 1.048 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003704/0.2564, allocations: 3.426 MB / 1.051 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.2579, allocations: 0.8941 MB / 1.052 GB, free: 1.113 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.2602, allocations: 1.054 MB / 1.053 GB, free: 56 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.2616, allocations: 0.8011 MB / 1.054 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.2619, allocations: 44 kB / 1.054 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.2646, allocations: 1.091 MB / 1.055 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.2649, allocations: 199 kB / 1.055 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004154/0.2653, allocations: 281.1 kB / 1.055 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.2674, allocations: 1.645 MB / 1.057 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2674, allocations: 0 / 1.057 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2675, allocations: 3.938 kB / 1.057 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.547e-05/0.2675, allocations: 0 / 1.057 GB, free: 11.98 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.00278/0.2703, allocations: 1.497 MB / 1.058 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2703, allocations: 8.031 kB / 1.058 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/0.2725, allocations: 474.8 kB / 1.059 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.2751, allocations: 1.139 MB / 1.06 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003466/0.2754, allocations: 125.9 kB / 1.06 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.2756, allocations: 88 kB / 1.06 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.2776, allocations: 0.9956 MB / 1.061 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2776, allocations: 0 / 1.061 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.623e-05/0.2777, allocations: 32 kB / 1.061 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.2777, allocations: 20 kB / 1.061 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002428/0.2802, allocations: 0.925 MB / 1.062 GB, free: 6.543 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.007182/0.2874, allocations: 4.635 MB / 1.066 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/0.2909, allocations: 0.938 MB / 1.067 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007708/0.2917, allocations: 338 kB / 1.068 GB, free: 320 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.38/0.6717, allocations: 0.895 MB / 1.069 GB, free: 90.47 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.6718, allocations: 40.81 kB / 1.069 GB, free: 90.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.126e-06/0.6718, allocations: 0.6875 kB / 1.069 GB, free: 90.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008888/0.6807, allocations: 2.018 MB / 1.071 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.6808, allocations: 56.81 kB / 1.071 GB, free: 90.22 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.6827, allocations: 1.052 MB / 1.072 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.571e-05/0.6828, allocations: 38.11 kB / 1.072 GB, free: 89.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/0.6832, allocations: 0.5199 MB / 1.072 GB, free: 89.61 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.6833, allocations: 157.8 kB / 1.072 GB, free: 89.51 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.6834, allocations: 10.5 kB / 1.072 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.877e-05/0.6834, allocations: 332.6 kB / 1.073 GB, free: 89.19 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009784/0.6844, allocations: 331 kB / 1.073 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.6857, allocations: 0.5384 MB / 1.074 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.6876, allocations: 0.7312 MB / 1.074 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.6877, allocations: 4.812 kB / 1.074 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003841/0.6915, allocations: 1.23 MB / 1.075 GB, free: 88.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.6916, allocations: 202.2 kB / 1.076 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.6916, allocations: 4.469 kB / 1.076 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.693, allocations: 325.5 kB / 1.076 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/0.6936, allocations: 139.6 kB / 1.076 GB, free: 87.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.6951, allocations: 0.9359 MB / 1.077 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.6963, allocations: 205.9 kB / 1.077 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/0.6964, allocations: 29.53 kB / 1.077 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.6965, allocations: 5.812 kB / 1.077 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00341/0.6999, allocations: 1.092 MB / 1.078 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.6999, allocations: 3.531 kB / 1.078 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.701, allocations: 315.7 kB / 1.079 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/0.7016, allocations: 137.2 kB / 1.079 GB, free: 86.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.703, allocations: 0.9351 MB / 1.08 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.7042, allocations: 173.1 kB / 1.08 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.01e-05/0.7043, allocations: 32.16 kB / 1.08 GB, free: 85.93 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.0005062/0.7048, allocations: 355.3 kB / 1.08 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.705, allocations: 111.8 kB / 1.08 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00412/0.7091, allocations: 1.237 MB / 1.081 GB, free: 85.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.7092, allocations: 7.281 kB / 1.082 GB, free: 85.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.7092, allocations: 0.7812 kB / 1.082 GB, free: 85.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.7092, allocations: 3.469 kB / 1.082 GB, free: 85.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005418/0.7146, allocations: 2.316 MB / 1.084 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.7146, allocations: 2.75 kB / 1.084 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.715, allocations: 83.02 kB / 1.084 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.716, allocations: 328 kB / 1.084 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.7161, allocations: 18.34 kB / 1.084 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.7174, allocations: 0.969 MB / 1.085 GB, free: 83.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.7175, allocations: 9.625 kB / 1.085 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004635/0.7221, allocations: 1.45 MB / 1.087 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.7226, allocations: 285.1 kB / 1.087 GB, free: 82.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.7229, allocations: 9.516 kB / 1.087 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.7239, allocations: 115.2 kB / 1.087 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.724, allocations: 35.95 kB / 1.087 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.7241, allocations: 30.03 kB / 1.087 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001557/0.7257, allocations: 0.7347 MB / 1.088 GB, free: 82.27 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.7257, allocations: 3.938 kB / 1.088 GB, free: 82.26 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00199/0.7277, allocations: 0.5658 MB / 1.088 GB, free: 82.16 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.0008151/0.7285, allocations: 360.2 kB / 1.089 GB, free: 82.03 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004063/0.7326, allocations: 1.202 MB / 1.09 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.7326, allocations: 0 / 1.09 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.7337, allocations: 395.2 kB / 1.09 GB, free: 81.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/0.7371, allocations: 0.5296 MB / 1.091 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/0.7429, allocations: 2.501 MB / 1.093 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/0.7435, allocations: 1.063 MB / 1.094 GB, free: 79.42 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001204/0.7448, allocations: 232.7 kB / 1.094 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.745, allocations: 82.09 kB / 1.094 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of SimCode: time 5.72e-07/0.745, allocations: 0 / 1.094 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of Templates: time 0.03978/0.7848, allocations: 23.93 MB / 1.118 GB, free: 68.56 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)