Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.726/1.726, allocations: 288.3 MB / 303.2 MB, free: 8.137 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.001062/0.001062, allocations: 189 kB / 371.9 MB, free: 10.27 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.417/1.417, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.000984/0.0009836, allocations: 85.48 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003878, allocations: 11.66 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2325, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05438/0.2869, allocations: 62.98 MB / 1.041 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0194/0.3064, allocations: 12.89 MB / 1.053 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.3094, allocations: 51.62 kB / 1.054 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002947/0.3123, allocations: 0.7384 MB / 1.054 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008921/0.3213, allocations: 2.355 MB / 1.057 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005493/0.3268, allocations: 1.537 MB / 1.058 GB, free: 11 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006092/0.3329, allocations: 2.488 MB / 1.06 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/0.3354, allocations: 1.037 MB / 1.062 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003888/0.3393, allocations: 1.168 MB / 1.063 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/0.3417, allocations: 0.7739 MB / 1.063 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005338/0.3422, allocations: 60 kB / 1.063 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003631/0.3459, allocations: 0.8386 MB / 1.064 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007085/0.3466, allocations: 266.9 kB / 1.065 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.3476, allocations: 356.9 kB / 1.065 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003817/0.3514, allocations: 2.018 MB / 1.067 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3514, allocations: 0 / 1.067 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.675e-06/0.3515, allocations: 0 / 1.067 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.341e-05/0.3516, allocations: 0 / 1.067 GB, free: 1.957 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005014/0.3566, allocations: 1.779 MB / 1.069 GB, free: 116 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3566, allocations: 8.031 kB / 1.069 GB, free: 108 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5731/0.9298, allocations: 240.1 kB / 1.069 GB, free: 92.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003637/0.9335, allocations: 1.373 MB / 1.07 GB, free: 91.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.939e-05/0.9336, allocations: 77.5 kB / 1.07 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.9338, allocations: 104.9 kB / 1.07 GB, free: 91.67 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.936, allocations: 1.106 MB / 1.071 GB, free: 91.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.9361, allocations: 5.312 kB / 1.071 GB, free: 91.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/0.9362, allocations: 37.62 kB / 1.071 GB, free: 91.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-05/0.9362, allocations: 25.45 kB / 1.071 GB, free: 91.15 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/0.9383, allocations: 0.9343 MB / 1.072 GB, free: 90.84 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.006992/0.9453, allocations: 4.959 MB / 1.077 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.9471, allocations: 0.6413 MB / 1.078 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005809/0.9477, allocations: 0.8296 MB / 1.079 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.9477, allocations: 41.11 kB / 1.079 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.837e-06/0.9477, allocations: 0 / 1.079 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.00851/0.9562, allocations: 1.888 MB / 1.081 GB, free: 85.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.9563, allocations: 58.75 kB / 1.081 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.9584, allocations: 1.249 MB / 1.082 GB, free: 85.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.9585, allocations: 39.55 kB / 1.082 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005108/0.9591, allocations: 0.6044 MB / 1.082 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.9593, allocations: 218.1 kB / 1.083 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.9593, allocations: 14.91 kB / 1.083 GB, free: 84.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.576e-05/0.9594, allocations: 333.6 kB / 1.083 GB, free: 84.19 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007361/0.9601, allocations: 295.1 kB / 1.083 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008576/0.961, allocations: 0.5035 MB / 1.084 GB, free: 83.78 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008089/0.9618, allocations: 364.2 kB / 1.084 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.9618, allocations: 0.875 kB / 1.084 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005264/0.9671, allocations: 1.396 MB / 1.085 GB, free: 83.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002922/0.9674, allocations: 1.428 MB / 1.087 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.9674, allocations: 3.406 kB / 1.087 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006493/0.9681, allocations: 146.6 kB / 1.087 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/0.9688, allocations: 162 kB / 1.087 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008069/0.9696, allocations: 0.7122 MB / 1.088 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.971, allocations: 184.2 kB / 1.088 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-05/0.9711, allocations: 30.36 kB / 1.088 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.9711, allocations: 5.562 kB / 1.088 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004738/0.9759, allocations: 1.252 MB / 1.089 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.9759, allocations: 8.531 kB / 1.089 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005433/0.9765, allocations: 147.9 kB / 1.089 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.9771, allocations: 161.1 kB / 1.09 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007394/0.9778, allocations: 0.714 MB / 1.09 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.9793, allocations: 161.1 kB / 1.09 GB, free: 80.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/0.9793, allocations: 33.83 kB / 1.09 GB, free: 80.01 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008497/0.9802, allocations: 429.9 kB / 1.091 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.9805, allocations: 131.3 kB / 1.091 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004973/0.9854, allocations: 1.402 MB / 1.092 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.9855, allocations: 12.05 kB / 1.092 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.9855, allocations: 1.062 kB / 1.092 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004487/0.99, allocations: 1.237 MB / 1.094 GB, free: 78.78 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008558/0.9986, allocations: 2.755 MB / 1.096 GB, free: 77.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.9986, allocations: 2.25 kB / 1.096 GB, free: 77.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/0.9992, allocations: 130.3 kB / 1.096 GB, free: 77.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005735/0.9998, allocations: 139.8 kB / 1.097 GB, free: 77.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/0.9998, allocations: 19.05 kB / 1.097 GB, free: 77.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005085/1.005, allocations: 2.553 MB / 1.099 GB, free: 75.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.005, allocations: 3.938 kB / 1.099 GB, free: 75.72 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0055/1.01, allocations: 2.064 MB / 1.101 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.011, allocations: 339.4 kB / 1.101 GB, free: 74.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/1.012, allocations: 19.03 kB / 1.101 GB, free: 74.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/1.013, allocations: 105.3 kB / 1.102 GB, free: 74.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/1.013, allocations: 53.92 kB / 1.102 GB, free: 74.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.782e-05/1.013, allocations: 28.3 kB / 1.102 GB, free: 74.03 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001555/1.015, allocations: 0.9007 MB / 1.102 GB, free: 73.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.383e-06/1.015, allocations: 0 / 1.102 GB, free: 73.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002602/1.018, allocations: 0.7233 MB / 1.103 GB, free: 73.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008947/1.019, allocations: 448.9 kB / 1.104 GB, free: 73.19 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002846/1.021, allocations: 1.162 MB / 1.105 GB, free: 72.69 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.247e-06/1.021, allocations: 1.219 kB / 1.105 GB, free: 72.69 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/1.023, allocations: 0.597 MB / 1.105 GB, free: 72.36 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003802/1.027, allocations: 0.7569 MB / 1.106 GB, free: 72.01 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/1.031, allocations: 2.764 MB / 1.109 GB, free: 70.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007474/1.032, allocations: 1.201 MB / 1.11 GB, free: 69.16 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001559/1.033, allocations: 314.8 kB / 1.11 GB, free: 69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/1.034, allocations: 103.8 kB / 1.11 GB, free: 68.98 MB / 0.6823 GB Notification: Performance of SimCode: time 1.563e-06/1.034, allocations: 0 / 1.11 GB, free: 68.98 MB / 0.6823 GB Notification: Performance of Templates: time 0.04913/1.083, allocations: 30.3 MB / 1.14 GB, free: 45.58 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)