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.621/1.621, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.00122/0.00122, allocations: 172.5 kB / 372.3 MB, free: 10.1 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.572/1.572, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0008105/0.0008105, allocations: 101 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004219/0.0004219, allocations: 12.88 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2226, allocations: 115.3 MB / 0.9801 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04668/0.2693, allocations: 56.56 MB / 1.035 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01569/0.285, allocations: 11.13 MB / 1.046 GB, free: 7.438 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00232/0.2874, allocations: 47.69 kB / 1.046 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.2893, allocations: 456.8 kB / 1.047 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005655/0.295, allocations: 1.634 MB / 1.048 GB, free: 5.301 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.2981, allocations: 0.8722 MB / 1.049 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004676/0.3028, allocations: 3.423 MB / 1.053 GB, free: 1.004 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.3043, allocations: 0.8902 MB / 1.053 GB, free: 84 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.3066, allocations: 1.093 MB / 1.054 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.3079, allocations: 0.8205 MB / 1.055 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.3081, allocations: 40 kB / 1.055 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/0.3107, allocations: 1.298 MB / 1.057 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.311, allocations: 195 kB / 1.057 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007289/0.3117, allocations: 0.6042 MB / 1.057 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.3139, allocations: 1.707 MB / 1.059 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3139, allocations: 0 / 1.059 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.138e-06/0.3139, allocations: 0 / 1.059 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.3139, allocations: 7.938 kB / 1.059 GB, free: 10.3 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.002751/0.3167, allocations: 1.497 MB / 1.06 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3167, allocations: 8.031 kB / 1.06 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/0.3189, allocations: 474.8 kB / 1.061 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/0.3212, allocations: 1.136 MB / 1.062 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/0.3215, allocations: 129.9 kB / 1.062 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.3217, allocations: 80 kB / 1.062 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.3237, allocations: 1.011 MB / 1.063 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.3237, allocations: 0 / 1.063 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.901e-05/0.3238, allocations: 32 kB / 1.063 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.3238, allocations: 20 kB / 1.063 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.3262, allocations: 0.9328 MB / 1.064 GB, free: 4.836 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.4288/0.7551, allocations: 4.623 MB / 1.069 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004136/0.7592, allocations: 0.9386 MB / 1.07 GB, free: 90.37 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008997/0.7602, allocations: 346.3 kB / 1.07 GB, free: 90.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004793/0.7607, allocations: 0.9036 MB / 1.071 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.7607, allocations: 37.09 kB / 1.071 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 2.916e-06/0.7607, allocations: 1.375 kB / 1.071 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.01067/0.7714, allocations: 2.225 MB / 1.073 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.7715, allocations: 57.31 kB / 1.073 GB, free: 89.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002989/0.7745, allocations: 1.048 MB / 1.074 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.7747, allocations: 38.55 kB / 1.074 GB, free: 88.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006331/0.7753, allocations: 0.5171 MB / 1.075 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.7756, allocations: 166.3 kB / 1.075 GB, free: 88.22 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.7756, allocations: 9.906 kB / 1.075 GB, free: 88.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.7757, allocations: 333.9 kB / 1.075 GB, free: 87.89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.7773, allocations: 333.8 kB / 1.075 GB, free: 87.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.779, allocations: 0.5258 MB / 1.076 GB, free: 87.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002834/0.7819, allocations: 0.7284 MB / 1.077 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.7819, allocations: 0.875 kB / 1.077 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003184/0.7851, allocations: 1.071 MB / 1.078 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/0.7852, allocations: 203.4 kB / 1.078 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.7853, allocations: 7.344 kB / 1.078 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.7867, allocations: 333.6 kB / 1.078 GB, free: 86.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/0.7873, allocations: 130.3 kB / 1.078 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.7888, allocations: 0.9346 MB / 1.079 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.7903, allocations: 202.8 kB / 1.079 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.893e-05/0.7904, allocations: 30.78 kB / 1.08 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.7904, allocations: 9.375 kB / 1.08 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002711/0.7931, allocations: 0.9363 MB / 1.08 GB, free: 85.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.7931, allocations: 8.062 kB / 1.08 GB, free: 85.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.7943, allocations: 324 kB / 1.081 GB, free: 85.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.7949, allocations: 136.6 kB / 1.081 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.7963, allocations: 0.9313 MB / 1.082 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.7977, allocations: 180.1 kB / 1.082 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.7978, allocations: 29.5 kB / 1.082 GB, free: 84.64 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.0005602/0.7983, allocations: 353.4 kB / 1.082 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.7985, allocations: 113 kB / 1.082 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005539/0.8041, allocations: 1.25 MB / 1.084 GB, free: 83.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/0.8041, allocations: 11.8 kB / 1.084 GB, free: 83.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.8041, allocations: 0 / 1.084 GB, free: 83.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.8042, allocations: 4.625 kB / 1.084 GB, free: 83.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009661/0.8138, allocations: 2.337 MB / 1.086 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.8139, allocations: 3.25 kB / 1.086 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/0.8145, allocations: 83.17 kB / 1.086 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002089/0.8166, allocations: 325.9 kB / 1.086 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.806e-05/0.8167, allocations: 14.05 kB / 1.086 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/0.8193, allocations: 0.9758 MB / 1.087 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/0.8193, allocations: 2.969 kB / 1.087 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006941/0.8263, allocations: 1.316 MB / 1.089 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.8274, allocations: 286.5 kB / 1.089 GB, free: 81.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/0.8276, allocations: 13.83 kB / 1.089 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/0.8293, allocations: 113.7 kB / 1.089 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.8295, allocations: 41.59 kB / 1.089 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.8296, allocations: 30 kB / 1.089 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002083/0.8317, allocations: 0.7317 MB / 1.09 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.31e-07/0.8317, allocations: 4 kB / 1.09 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002771/0.8345, allocations: 0.5745 MB / 1.09 GB, free: 80.88 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.00115/0.8357, allocations: 391.9 kB / 1.091 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006027/0.8418, allocations: 1.209 MB / 1.092 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.8418, allocations: 0.9062 kB / 1.092 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.8437, allocations: 396.8 kB / 1.092 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005603/0.8493, allocations: 0.5344 MB / 1.093 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.8595, allocations: 2.501 MB / 1.095 GB, free: 78.85 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008787/0.8605, allocations: 1.067 MB / 1.096 GB, free: 78.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002464/0.863, allocations: 235 kB / 1.097 GB, free: 78.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/0.8634, allocations: 78.78 kB / 1.097 GB, free: 78.05 MB / 0.6823 GB Notification: Performance of SimCode: time 8.52e-07/0.8634, allocations: 5.359 kB / 1.097 GB, free: 78.05 MB / 0.6823 GB Notification: Performance of Templates: time 0.07196/0.9354, allocations: 24.41 MB / 1.12 GB, free: 65.71 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)