Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.908/1.908, allocations: 288.4 MB / 303.4 MB, free: 8.199 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.001327/0.001328, allocations: 184.5 kB / 372 MB, free: 10.24 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.53/1.53, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0007474/0.0007474, allocations: 94.36 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004276, allocations: 11.53 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2062, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04816/0.2544, allocations: 56.54 MB / 1.035 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01606/0.2705, allocations: 11.13 MB / 1.046 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002472/0.273, allocations: 51.62 kB / 1.046 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.275, allocations: 468.8 kB / 1.046 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005537/0.2805, allocations: 1.509 MB / 1.048 GB, free: 5.754 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.2837, allocations: 0.8806 MB / 1.048 GB, free: 4.883 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00545/0.2892, allocations: 3.39 MB / 1.052 GB, free: 1.48 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.2914, allocations: 0.8105 MB / 1.053 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003057/0.2945, allocations: 1.05 MB / 1.054 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.2965, allocations: 0.8088 MB / 1.054 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004154/0.2969, allocations: 48 kB / 1.054 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003336/0.3003, allocations: 1.091 MB / 1.056 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000528/0.3008, allocations: 203 kB / 1.056 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000794/0.3016, allocations: 285 kB / 1.056 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.3043, allocations: 1.645 MB / 1.058 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3043, allocations: 3.938 kB / 1.058 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3043, allocations: 0 / 1.058 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.3044, allocations: 3.938 kB / 1.058 GB, free: 11.5 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003145/0.3075, allocations: 1.512 MB / 1.059 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.3076, allocations: 12.03 kB / 1.059 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/0.3101, allocations: 0.5173 MB / 1.06 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.3123, allocations: 1.094 MB / 1.061 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003432/0.3126, allocations: 129.9 kB / 1.061 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.3127, allocations: 80 kB / 1.061 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.3149, allocations: 1.029 MB / 1.062 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.315, allocations: 0 / 1.062 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.922e-05/0.3151, allocations: 39.94 kB / 1.062 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.3151, allocations: 23.94 kB / 1.062 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/0.3177, allocations: 0.9993 MB / 1.063 GB, free: 5.914 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.006587/0.3243, allocations: 4.72 MB / 1.068 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.408/0.7323, allocations: 1.11 MB / 1.069 GB, free: 91.12 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.7337, allocations: 442.1 kB / 1.069 GB, free: 91.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008113/0.7346, allocations: 1.029 MB / 1.07 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.7346, allocations: 37.66 kB / 1.07 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 2.615e-06/0.7346, allocations: 0.7812 kB / 1.07 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.01043/0.7451, allocations: 2.493 MB / 1.073 GB, free: 89.76 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.7451, allocations: 57.44 kB / 1.073 GB, free: 89.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.7467, allocations: 0.9282 MB / 1.073 GB, free: 89.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.487e-05/0.7468, allocations: 38.42 kB / 1.073 GB, free: 89.26 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.7472, allocations: 0.5076 MB / 1.074 GB, free: 88.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.7473, allocations: 185.4 kB / 1.074 GB, free: 88.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.7474, allocations: 14.56 kB / 1.074 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.901e-05/0.7475, allocations: 330.2 kB / 1.074 GB, free: 88.49 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.7486, allocations: 377.7 kB / 1.075 GB, free: 88.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.75, allocations: 0.5422 MB / 1.075 GB, free: 88.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.7512, allocations: 399.7 kB / 1.076 GB, free: 88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.7513, allocations: 0.9375 kB / 1.076 GB, free: 88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003424/0.7547, allocations: 1.124 MB / 1.077 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.395e-05/0.7548, allocations: 164.2 kB / 1.077 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.7548, allocations: 2.156 kB / 1.077 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.7563, allocations: 334.8 kB / 1.077 GB, free: 87.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007506/0.757, allocations: 141.6 kB / 1.077 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.7586, allocations: 0.9422 MB / 1.078 GB, free: 86.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.76, allocations: 170.7 kB / 1.079 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-05/0.7601, allocations: 32.72 kB / 1.079 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.7601, allocations: 3.562 kB / 1.079 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003042/0.7631, allocations: 0.997 MB / 1.08 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.7631, allocations: 3 kB / 1.08 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.7644, allocations: 325.6 kB / 1.08 GB, free: 86.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/0.7651, allocations: 145.7 kB / 1.08 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.7667, allocations: 0.9314 MB / 1.081 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.7682, allocations: 175.9 kB / 1.081 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-05/0.7683, allocations: 30.31 kB / 1.081 GB, free: 85.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0006834/0.769, allocations: 343.8 kB / 1.081 GB, free: 85.22 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.7692, allocations: 113.7 kB / 1.082 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004884/0.7741, allocations: 1.444 MB / 1.083 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.7742, allocations: 7.516 kB / 1.083 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.7742, allocations: 0 / 1.083 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.7742, allocations: 4.156 kB / 1.083 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006447/0.7806, allocations: 2.521 MB / 1.085 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.7807, allocations: 6.094 kB / 1.085 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006184/0.7813, allocations: 117 kB / 1.086 GB, free: 83.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.7824, allocations: 328.4 kB / 1.086 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-05/0.7825, allocations: 19 kB / 1.086 GB, free: 83.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.7841, allocations: 0.9656 MB / 1.087 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.7841, allocations: 6.625 kB / 1.087 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004607/0.7887, allocations: 1.455 MB / 1.088 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005828/0.7893, allocations: 293.3 kB / 1.089 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/0.7895, allocations: 13.64 kB / 1.089 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.7906, allocations: 122.2 kB / 1.089 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.7908, allocations: 40.45 kB / 1.089 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.77e-05/0.7908, allocations: 25.05 kB / 1.089 GB, free: 82.04 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001158/0.792, allocations: 0.6547 MB / 1.089 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.2e-07/0.792, allocations: 0 / 1.089 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001891/0.7939, allocations: 0.5731 MB / 1.09 GB, free: 81.65 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007944/0.7947, allocations: 381.5 kB / 1.09 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004059/0.7988, allocations: 1.38 MB / 1.092 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7988, allocations: 0 / 1.092 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.8001, allocations: 491.6 kB / 1.092 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/0.803, allocations: 0.511 MB / 1.093 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/0.8074, allocations: 2.329 MB / 1.095 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007182/0.8082, allocations: 1.068 MB / 1.096 GB, free: 78.83 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001498/0.8097, allocations: 227.8 kB / 1.096 GB, free: 78.78 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.81, allocations: 80.78 kB / 1.096 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of SimCode: time 1.603e-06/0.81, allocations: 0 / 1.096 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of Templates: time 0.04346/0.8534, allocations: 23.24 MB / 1.119 GB, free: 67.27 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)