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.635/1.635, allocations: 288.4 MB / 303.4 MB, free: 8.113 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.001073/0.001074, allocations: 180.5 kB / 372 MB, free: 10.28 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.446/1.446, allocations: 205.4 MB / 0.6307 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.0007711/0.0007713, allocations: 97.16 kB / 0.7441 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003966, allocations: 11.84 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2132, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04671/0.26, allocations: 56.55 MB / 1.035 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.2758, allocations: 11.12 MB / 1.046 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/0.2782, allocations: 55.62 kB / 1.046 GB, free: 7.785 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.2802, allocations: 464.9 kB / 1.046 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005504/0.2858, allocations: 1.517 MB / 1.048 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.2889, allocations: 0.8878 MB / 1.049 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004396/0.2933, allocations: 3.382 MB / 1.052 GB, free: 1.535 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.2946, allocations: 0.7899 MB / 1.053 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.2967, allocations: 1.05 MB / 1.054 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.2977, allocations: 0.8089 MB / 1.054 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.2979, allocations: 44 kB / 1.054 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.3001, allocations: 1.107 MB / 1.056 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.3004, allocations: 203 kB / 1.056 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000291/0.3007, allocations: 289 kB / 1.056 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.3024, allocations: 1.645 MB / 1.058 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3024, allocations: 0 / 1.058 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3024, allocations: 0 / 1.058 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.04e-05/0.3024, allocations: 4 kB / 1.058 GB, free: 11.56 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.002613/0.305, allocations: 1.505 MB / 1.059 GB, free: 10 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3051, allocations: 8.031 kB / 1.059 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.3072, allocations: 477.9 kB / 1.06 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.3092, allocations: 1.097 MB / 1.061 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003502/0.3095, allocations: 125.9 kB / 1.061 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.3096, allocations: 84 kB / 1.061 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.3116, allocations: 0.9995 MB / 1.062 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.3116, allocations: 0 / 1.062 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.3117, allocations: 32 kB / 1.062 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.3117, allocations: 24 kB / 1.062 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.314, allocations: 0.9328 MB / 1.063 GB, free: 6.137 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.005854/0.3198, allocations: 4.631 MB / 1.067 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003445/0.3233, allocations: 0.9423 MB / 1.068 GB, free: 244 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4168/0.7401, allocations: 333.5 kB / 1.069 GB, free: 91.33 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006204/0.7408, allocations: 0.9074 MB / 1.069 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.7409, allocations: 38.36 kB / 1.069 GB, free: 90.26 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 4.338e-06/0.7409, allocations: 0 / 1.069 GB, free: 90.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.009752/0.7506, allocations: 2.213 MB / 1.072 GB, free: 90.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.7507, allocations: 58.61 kB / 1.072 GB, free: 90.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.7528, allocations: 1.048 MB / 1.073 GB, free: 89.76 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/0.7529, allocations: 39.06 kB / 1.073 GB, free: 89.72 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.7533, allocations: 0.5147 MB / 1.073 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.7535, allocations: 171.7 kB / 1.073 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.7535, allocations: 10.75 kB / 1.073 GB, free: 89.26 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.7536, allocations: 330.5 kB / 1.074 GB, free: 88.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.7546, allocations: 336.8 kB / 1.074 GB, free: 88.87 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.7558, allocations: 0.5275 MB / 1.075 GB, free: 88.56 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.7569, allocations: 367.6 kB / 1.075 GB, free: 88.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.757, allocations: 1.625 kB / 1.075 GB, free: 88.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00315/0.7601, allocations: 1.072 MB / 1.076 GB, free: 88.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.861e-05/0.7602, allocations: 192.8 kB / 1.076 GB, free: 87.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.7602, allocations: 6.297 kB / 1.076 GB, free: 87.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.7617, allocations: 335 kB / 1.076 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/0.7623, allocations: 138.1 kB / 1.077 GB, free: 87.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.7639, allocations: 0.9331 MB / 1.077 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.7655, allocations: 201.9 kB / 1.078 GB, free: 87.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.7656, allocations: 30.31 kB / 1.078 GB, free: 87.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.7656, allocations: 7.234 kB / 1.078 GB, free: 87.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00285/0.7685, allocations: 0.9362 MB / 1.079 GB, free: 86.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.7685, allocations: 4.594 kB / 1.079 GB, free: 86.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.7698, allocations: 327.5 kB / 1.079 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/0.7705, allocations: 140 kB / 1.079 GB, free: 86.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.7721, allocations: 0.9329 MB / 1.08 GB, free: 86.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.7736, allocations: 168.4 kB / 1.08 GB, free: 85.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.536e-05/0.7737, allocations: 29.91 kB / 1.08 GB, free: 85.96 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.0006578/0.7744, allocations: 352.6 kB / 1.081 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/0.7747, allocations: 116.9 kB / 1.081 GB, free: 85.61 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/0.7792, allocations: 1.244 MB / 1.082 GB, free: 85.22 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.7792, allocations: 7.938 kB / 1.082 GB, free: 85.22 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.7793, allocations: 4.891 kB / 1.082 GB, free: 85.22 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.7793, allocations: 6.094 kB / 1.082 GB, free: 85.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00608/0.7854, allocations: 2.348 MB / 1.084 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.7854, allocations: 3.234 kB / 1.084 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.7857, allocations: 78.28 kB / 1.084 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.7869, allocations: 335.9 kB / 1.085 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/0.7869, allocations: 17.23 kB / 1.085 GB, free: 84.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.7884, allocations: 0.9615 MB / 1.086 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.7884, allocations: 10.56 kB / 1.086 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004053/0.7925, allocations: 1.315 MB / 1.087 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/0.7931, allocations: 285.9 kB / 1.087 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/0.7934, allocations: 18.77 kB / 1.087 GB, free: 82.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.7944, allocations: 112.6 kB / 1.087 GB, free: 82.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.7946, allocations: 46.33 kB / 1.087 GB, free: 82.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.048e-05/0.7946, allocations: 24.69 kB / 1.087 GB, free: 82.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001547/0.7962, allocations: 0.736 MB / 1.088 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7962, allocations: 1.375 kB / 1.088 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002243/0.7984, allocations: 0.5686 MB / 1.089 GB, free: 82.19 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.0009697/0.7994, allocations: 376.1 kB / 1.089 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003743/0.8032, allocations: 1.215 MB / 1.09 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.8032, allocations: 4 kB / 1.09 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.8043, allocations: 394.9 kB / 1.09 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/0.8071, allocations: 0.5121 MB / 1.091 GB, free: 81.47 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006021/0.8132, allocations: 2.508 MB / 1.093 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007241/0.8139, allocations: 1.065 MB / 1.094 GB, free: 79.43 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001359/0.8153, allocations: 238.9 kB / 1.095 GB, free: 79.37 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.8156, allocations: 85.12 kB / 1.095 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of SimCode: time 2.214e-06/0.8156, allocations: 0 / 1.095 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of Templates: time 0.04594/0.8615, allocations: 23.79 MB / 1.118 GB, free: 68.32 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)