Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.603/2.603, allocations: 287.9 MB / 302.9 MB, free: 8.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 174.3 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.205/2.205, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001021, allocations: 88.48 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004603, allocations: 18.3 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1521, allocations: 115.2 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07271/0.2249, allocations: 59.19 MB / 1.037 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02724/0.2521, allocations: 14.96 MB / 1.051 GB, free: 1.883 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.2544, allocations: 55.62 kB / 1.051 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.2574, allocations: 0.7073 MB / 1.052 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008635/0.266, allocations: 2.257 MB / 1.054 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006308/0.2724, allocations: 1.559 MB / 1.056 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005175/0.2776, allocations: 2.283 MB / 1.058 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002157/0.2798, allocations: 1.034 MB / 1.059 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003544/0.2834, allocations: 1.273 MB / 1.06 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.2853, allocations: 0.7973 MB / 1.061 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000288/0.2856, allocations: 56 kB / 1.061 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003354/0.2889, allocations: 0.9752 MB / 1.062 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006075/0.2896, allocations: 242.9 kB / 1.062 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008446/0.2905, allocations: 372.8 kB / 1.062 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004832/0.2953, allocations: 2.287 MB / 1.065 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.407e-06/0.2954, allocations: 4 kB / 1.065 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.964e-06/0.2954, allocations: 0 / 1.065 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.354e-05/0.2954, allocations: 0 / 1.065 GB, free: 3.965 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.007297/0.3028, allocations: 1.727 MB / 1.066 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.3028, allocations: 12.03 kB / 1.066 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00498/0.3078, allocations: 0.4975 MB / 1.067 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004019/0.3119, allocations: 1.435 MB / 1.068 GB, free: 176 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000481/0.3124, allocations: 146 kB / 1.068 GB, free: 28 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5803/0.8928, allocations: 103.2 kB / 1.069 GB, free: 91.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003974/0.8968, allocations: 1.309 MB / 1.07 GB, free: 91.03 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.8969, allocations: 1.844 kB / 1.07 GB, free: 91.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.897, allocations: 43.44 kB / 1.07 GB, free: 91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.8971, allocations: 25.62 kB / 1.07 GB, free: 91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004232/0.9013, allocations: 1.164 MB / 1.071 GB, free: 90.62 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.01126/0.9126, allocations: 6.943 MB / 1.078 GB, free: 85.63 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00432/0.917, allocations: 0.9423 MB / 1.079 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.9181, allocations: 1.714 MB / 1.08 GB, free: 83.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.9182, allocations: 41.06 kB / 1.08 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.958e-06/0.9182, allocations: 0.75 kB / 1.08 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.006422/0.9246, allocations: 1.485 MB / 1.082 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.9247, allocations: 58.36 kB / 1.082 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003717/0.9284, allocations: 1.547 MB / 1.083 GB, free: 82.15 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.9286, allocations: 37.58 kB / 1.083 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006429/0.9292, allocations: 0.6647 MB / 1.084 GB, free: 81.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.9295, allocations: 180.4 kB / 1.084 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.9295, allocations: 15.09 kB / 1.084 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.9296, allocations: 334 kB / 1.085 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.9311, allocations: 400.7 kB / 1.085 GB, free: 81.01 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.9327, allocations: 0.6779 MB / 1.086 GB, free: 80.55 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.9342, allocations: 461.6 kB / 1.086 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.9342, allocations: 2.406 kB / 1.086 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004284/0.9385, allocations: 1.246 MB / 1.087 GB, free: 79.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.9386, allocations: 8.812 kB / 1.087 GB, free: 79.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.9386, allocations: 7.438 kB / 1.087 GB, free: 79.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.9399, allocations: 229.1 kB / 1.088 GB, free: 79.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.941, allocations: 207.7 kB / 1.088 GB, free: 79.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.9421, allocations: 0.73 MB / 1.088 GB, free: 79.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.9443, allocations: 265.1 kB / 1.089 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.9445, allocations: 40.44 kB / 1.089 GB, free: 79.15 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 81 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.000776/0.9453, allocations: 355.7 kB / 1.089 GB, free: 78.89 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.9456, allocations: 158.1 kB / 1.089 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/0.949, allocations: 1.216 MB / 1.09 GB, free: 78.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.508e-05/0.949, allocations: 9.109 kB / 1.09 GB, free: 78.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.218e-06/0.949, allocations: 0 / 1.09 GB, free: 78.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.9491, allocations: 8.391 kB / 1.09 GB, free: 78.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007319/0.9564, allocations: 2.669 MB / 1.093 GB, free: 77.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.9565, allocations: 4.234 kB / 1.093 GB, free: 77.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005631/0.957, allocations: 97.36 kB / 1.093 GB, free: 77.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/0.9581, allocations: 223.9 kB / 1.093 GB, free: 77.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.108e-05/0.9582, allocations: 21.73 kB / 1.093 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/0.9597, allocations: 0.8047 MB / 1.094 GB, free: 76.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-06/0.9598, allocations: 6.984 kB / 1.094 GB, free: 76.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004465/0.9643, allocations: 1.407 MB / 1.096 GB, free: 75.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009484/0.9652, allocations: 388.5 kB / 1.096 GB, free: 75.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/0.9655, allocations: 13.17 kB / 1.096 GB, free: 75.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.9669, allocations: 107.9 kB / 1.096 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.967, allocations: 39.06 kB / 1.096 GB, free: 75.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.9672, allocations: 30.25 kB / 1.096 GB, free: 75.38 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002458/0.9696, allocations: 1.09 MB / 1.097 GB, free: 74.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.003e-06/0.9697, allocations: 0 / 1.097 GB, free: 74.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001821/0.9715, allocations: 443.9 kB / 1.098 GB, free: 74.86 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 (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00098/0.9725, allocations: 474.8 kB / 1.098 GB, free: 74.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002965/0.9755, allocations: 0.8975 MB / 1.099 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.98e-06/0.9755, allocations: 0 / 1.099 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001767/0.9773, allocations: 493.5 kB / 1.099 GB, free: 74.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004207/0.9815, allocations: 0.7196 MB / 1.1 GB, free: 74.08 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/0.9869, allocations: 2.723 MB / 1.103 GB, free: 72.51 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008234/0.9877, allocations: 1.206 MB / 1.104 GB, free: 71.76 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00171/0.9895, allocations: 287.5 kB / 1.104 GB, free: 71.67 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/0.9898, allocations: 112.3 kB / 1.104 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of SimCode: time 1.555e-06/0.9898, allocations: 0 / 1.104 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of Templates: time 0.06359/1.053, allocations: 29.92 MB / 1.134 GB, free: 51.76 MB / 0.6823 GB