Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.783/2.783, allocations: 287.5 MB / 302.4 MB, free: 8.238 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.001519/0.001519, allocations: 178.4 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.0009211/0.0009208, allocations: 92.52 kB / 0.743 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006397/0.0006398, allocations: 12.47 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.258, allocations: 115.3 MB / 0.9783 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.1066/0.3646, allocations: 65.12 MB / 1.042 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03886/0.4036, allocations: 17.59 MB / 1.059 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003033/0.4066, allocations: 63.56 kB / 1.059 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003128/0.4098, allocations: 0.5199 MB / 1.06 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.009908/0.4198, allocations: 2.092 MB / 1.062 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005792/0.4256, allocations: 1.11 MB / 1.063 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008662/0.4343, allocations: 4.369 MB / 1.067 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003106/0.4375, allocations: 1.018 MB / 1.068 GB, free: 292 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7839/1.221, allocations: 1.338 MB / 1.069 GB, free: 26.73 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004674/1.226, allocations: 1.046 MB / 1.07 GB, free: 26.73 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009391/1.227, allocations: 58.06 kB / 1.07 GB, free: 26.73 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006532/1.234, allocations: 0.9093 MB / 1.071 GB, free: 26.73 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001204/1.235, allocations: 250 kB / 1.072 GB, free: 26.73 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001746/1.237, allocations: 372.3 kB / 1.072 GB, free: 26.7 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008409/1.245, allocations: 2.302 MB / 1.074 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/1.245, allocations: 0.7188 kB / 1.074 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.119e-06/1.245, allocations: 0 / 1.074 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001089/1.246, allocations: 3.75 kB / 1.074 GB, free: 26.63 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.009268/1.255, allocations: 1.73 MB / 1.076 GB, free: 25.67 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/1.255, allocations: 9.438 kB / 1.076 GB, free: 25.67 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006501/1.261, allocations: 0.495 MB / 1.076 GB, free: 25.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007407/1.269, allocations: 1.475 MB / 1.078 GB, free: 25.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001112/1.27, allocations: 152.5 kB / 1.078 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006814/1.271, allocations: 105.9 kB / 1.078 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007875/1.279, allocations: 1.309 MB / 1.079 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.658e-05/1.279, allocations: 8.75 kB / 1.079 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002812/1.279, allocations: 39.94 kB / 1.079 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.705e-05/1.279, allocations: 28.2 kB / 1.079 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008659/1.288, allocations: 1.161 MB / 1.081 GB, free: 24.94 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.02196/1.31, allocations: 6.909 MB / 1.087 GB, free: 21.31 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008541/1.319, allocations: 0.9326 MB / 1.088 GB, free: 21.26 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/1.32, allocations: 324.2 kB / 1.089 GB, free: 21.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001853/1.322, allocations: 1.714 MB / 1.09 GB, free: 19.28 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.619e-05/1.323, allocations: 43.58 kB / 1.09 GB, free: 19.24 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 4.839e-06/1.323, allocations: 0 / 1.09 GB, free: 19.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.01205/1.335, allocations: 1.498 MB / 1.092 GB, free: 18.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/1.335, allocations: 61.64 kB / 1.092 GB, free: 18.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006185/1.341, allocations: 1.523 MB / 1.093 GB, free: 18.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002828/1.341, allocations: 37.3 kB / 1.093 GB, free: 18.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001104/1.342, allocations: 0.6597 MB / 1.094 GB, free: 18.49 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004251/1.343, allocations: 187.2 kB / 1.094 GB, free: 18.37 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/1.343, allocations: 14.41 kB / 1.094 GB, free: 18.37 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.343, allocations: 333.2 kB / 1.094 GB, free: 18.06 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002719/1.346, allocations: 400 kB / 1.095 GB, free: 18.05 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003218/1.349, allocations: 0.6782 MB / 1.095 GB, free: 17.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/1.352, allocations: 458.3 kB / 1.096 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-05/1.352, allocations: 1.375 kB / 1.096 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.008014/1.36, allocations: 1.248 MB / 1.097 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/1.36, allocations: 7.797 kB / 1.097 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/1.36, allocations: 7.625 kB / 1.097 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/1.362, allocations: 235.7 kB / 1.097 GB, free: 17.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/1.365, allocations: 200.4 kB / 1.098 GB, free: 17.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/1.367, allocations: 0.7227 MB / 1.098 GB, free: 17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005238/1.372, allocations: 269.2 kB / 1.099 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000502/1.373, allocations: 42.3 kB / 1.099 GB, free: 16.93 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.002079/1.375, allocations: 355.4 kB / 1.099 GB, free: 16.81 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009503/1.376, allocations: 149.1 kB / 1.099 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007403/1.383, allocations: 1.22 MB / 1.1 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.704e-05/1.384, allocations: 12.53 kB / 1.1 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/1.384, allocations: 5.219 kB / 1.1 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.304e-05/1.384, allocations: 3.984 kB / 1.1 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/1.399, allocations: 2.662 MB / 1.103 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.592e-05/1.399, allocations: 2.844 kB / 1.103 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/1.401, allocations: 94.88 kB / 1.103 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/1.403, allocations: 226.5 kB / 1.103 GB, free: 16.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/1.403, allocations: 17.31 kB / 1.103 GB, free: 16.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/1.406, allocations: 0.8058 MB / 1.104 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.669e-06/1.406, allocations: 3.75 kB / 1.104 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009498/1.416, allocations: 1.311 MB / 1.105 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001892/1.418, allocations: 383.5 kB / 1.106 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009189/1.419, allocations: 13.22 kB / 1.106 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003404/1.422, allocations: 106.7 kB / 1.106 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/1.422, allocations: 44.17 kB / 1.106 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/1.423, allocations: 29.38 kB / 1.106 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.005171/1.428, allocations: 1.072 MB / 1.107 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.324e-06/1.428, allocations: 0 / 1.107 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003829/1.432, allocations: 437.6 kB / 1.107 GB, free: 14.92 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.002042/1.434, allocations: 462.8 kB / 1.108 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005837/1.44, allocations: 0.8921 MB / 1.109 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/1.44, allocations: 3.25 kB / 1.109 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003611/1.443, allocations: 493.5 kB / 1.109 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0101/1.454, allocations: 0.7224 MB / 1.11 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/1.465, allocations: 2.73 MB / 1.112 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/1.466, allocations: 1.178 MB / 1.114 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003343/1.47, allocations: 280 kB / 1.114 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009678/1.471, allocations: 111.9 kB / 1.114 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of SimCode: time 1.613e-06/1.471, allocations: 1.562 kB / 1.114 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of Templates: time 0.1123/1.583, allocations: 29.6 MB / 1.143 GB, free: 416 kB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)