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_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.708/1.708, allocations: 288.3 MB / 303.2 MB, free: 8.074 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.001191/0.001192, allocations: 177 kB / 371.8 MB, free: 10.25 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.559/1.559, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0009009/0.0009008, allocations: 104.2 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003981, allocations: 12.31 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2007, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04323/0.244, allocations: 51.36 MB / 1.03 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.2573, allocations: 10.21 MB / 1.04 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.2591, allocations: 47.62 kB / 1.04 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.2617, allocations: 0.618 MB / 1.04 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008249/0.27, allocations: 1.91 MB / 1.042 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004433/0.2745, allocations: 1.322 MB / 1.043 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00338/0.2778, allocations: 1.847 MB / 1.045 GB, free: 8.23 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.279, allocations: 0.8096 MB / 1.046 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.2808, allocations: 0.9886 MB / 1.047 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007924/0.2816, allocations: 0.6027 MB / 1.048 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.2817, allocations: 44 kB / 1.048 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.2838, allocations: 1.002 MB / 1.049 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.284, allocations: 203.1 kB / 1.049 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.2843, allocations: 289 kB / 1.049 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.286, allocations: 1.59 MB / 1.051 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2861, allocations: 0 / 1.051 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.572e-06/0.2861, allocations: 0 / 1.051 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.2861, allocations: 0 / 1.051 GB, free: 2.672 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.002574/0.2887, allocations: 1.489 MB / 1.052 GB, free: 1.125 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2887, allocations: 8.031 kB / 1.052 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/0.2908, allocations: 473.9 kB / 1.052 GB, free: 0.6523 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.2926, allocations: 1.066 MB / 1.054 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.293, allocations: 133.9 kB / 1.054 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.2931, allocations: 76 kB / 1.054 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.2951, allocations: 1.003 MB / 1.055 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.2951, allocations: 0 / 1.055 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.611e-05/0.2952, allocations: 32 kB / 1.055 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.2952, allocations: 24 kB / 1.055 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.2975, allocations: 0.9212 MB / 1.056 GB, free: 13.3 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.006188/0.3037, allocations: 4.664 MB / 1.06 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003415/0.3071, allocations: 0.9539 MB / 1.061 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005904/0.3078, allocations: 0.9029 MB / 1.062 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.3078, allocations: 42.98 kB / 1.062 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 2.866e-06/0.3078, allocations: 0 / 1.062 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.008624/0.3164, allocations: 2.201 MB / 1.064 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.3165, allocations: 63.83 kB / 1.064 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.318, allocations: 1.059 MB / 1.065 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/0.3181, allocations: 37.7 kB / 1.065 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.3185, allocations: 0.5119 MB / 1.066 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.3186, allocations: 177.5 kB / 1.066 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.3187, allocations: 12 kB / 1.066 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.3188, allocations: 333.8 kB / 1.066 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008736/0.3196, allocations: 332.9 kB / 1.067 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.3207, allocations: 0.5352 MB / 1.067 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/0.3216, allocations: 368.6 kB / 1.068 GB, free: 460 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3216, allocations: 4 kB / 1.068 GB, free: 456 kB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.4052/0.7268, allocations: 1.058 MB / 1.069 GB, free: 90.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002527/0.7271, allocations: 1.408 MB / 1.07 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.7271, allocations: 3.469 kB / 1.07 GB, free: 88.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.7285, allocations: 337.6 kB / 1.07 GB, free: 88.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.7291, allocations: 130.6 kB / 1.07 GB, free: 88.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.7306, allocations: 0.9431 MB / 1.071 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.732, allocations: 191.5 kB / 1.071 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.33e-05/0.7321, allocations: 32.55 kB / 1.072 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.7321, allocations: 4.125 kB / 1.072 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002516/0.7346, allocations: 0.9422 MB / 1.072 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7346, allocations: 3.938 kB / 1.072 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.7357, allocations: 327.7 kB / 1.073 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.7362, allocations: 136.7 kB / 1.073 GB, free: 88.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.7376, allocations: 0.9284 MB / 1.074 GB, free: 87.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.7389, allocations: 174.7 kB / 1.074 GB, free: 87.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-05/0.739, allocations: 29.25 kB / 1.074 GB, free: 87.53 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 (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.000623/0.7396, allocations: 358.1 kB / 1.074 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.7398, allocations: 112.2 kB / 1.074 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004282/0.7441, allocations: 1.248 MB / 1.076 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.7442, allocations: 10.62 kB / 1.076 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7442, allocations: 0.9062 kB / 1.076 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.7442, allocations: 4.016 kB / 1.076 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005632/0.7498, allocations: 2.357 MB / 1.078 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.7499, allocations: 1.688 kB / 1.078 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.7502, allocations: 76.27 kB / 1.078 GB, free: 85.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.7513, allocations: 343.6 kB / 1.078 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.7514, allocations: 20.22 kB / 1.078 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.7528, allocations: 0.9615 MB / 1.079 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7528, allocations: 4.812 kB / 1.079 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004088/0.7569, allocations: 1.432 MB / 1.081 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007059/0.7576, allocations: 301.7 kB / 1.081 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.7578, allocations: 9.484 kB / 1.081 GB, free: 84.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009233/0.7587, allocations: 117.8 kB / 1.081 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.7588, allocations: 46.2 kB / 1.081 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.36e-05/0.7589, allocations: 25.55 kB / 1.081 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001428/0.7603, allocations: 0.7504 MB / 1.082 GB, free: 83.78 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7604, allocations: 0 / 1.082 GB, free: 83.78 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001792/0.7622, allocations: 0.568 MB / 1.082 GB, free: 83.7 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 (38): * Single equations (assignments): 33 * 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.0008213/0.763, allocations: 379.1 kB / 1.083 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003412/0.7664, allocations: 1.215 MB / 1.084 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.7664, allocations: 1.031 kB / 1.084 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000955/0.7674, allocations: 391 kB / 1.084 GB, free: 83.12 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.7699, allocations: 0.5241 MB / 1.085 GB, free: 83 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00556/0.7755, allocations: 2.508 MB / 1.087 GB, free: 81.67 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006957/0.7762, allocations: 1.09 MB / 1.088 GB, free: 80.94 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001186/0.7774, allocations: 234.4 kB / 1.089 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.7776, allocations: 85.83 kB / 1.089 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/0.7776, allocations: 0 / 1.089 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of Templates: time 0.04025/0.8179, allocations: 24.1 MB / 1.112 GB, free: 70.84 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)