Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 102.6 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001183, allocations: 198.1 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 292.3 MB / 0.5496 GB, free: 17.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 71.19 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2509, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4683/0.7193, allocations: 70.49 MB / 0.8536 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03254/0.7519, allocations: 18.82 MB / 0.872 GB, free: 4.684 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004037/0.756, allocations: 70.06 kB / 0.8721 GB, free: 4.656 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0035/0.7595, allocations: 0.8285 MB / 0.8729 GB, free: 4.105 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.7703, allocations: 2.83 MB / 0.8756 GB, free: 2.414 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005519/0.7758, allocations: 1.673 MB / 0.8773 GB, free: 1.23 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007371/0.7832, allocations: 4.025 MB / 0.8812 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002874/0.7861, allocations: 1.466 MB / 0.8826 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005785/0.7919, allocations: 1.781 MB / 0.8844 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003286/0.7952, allocations: 1.19 MB / 0.8855 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005412/0.7958, allocations: 178.3 kB / 0.8857 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004393/0.8002, allocations: 1.413 MB / 0.8871 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006065/0.8009, allocations: 396 kB / 0.8875 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002329/0.8032, allocations: 0.9211 MB / 0.8884 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006024/0.8092, allocations: 3.136 MB / 0.8914 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.8093, allocations: 0 / 0.8914 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8093, allocations: 0 / 0.8914 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.692e-05/0.8094, allocations: 3.984 kB / 0.8914 GB, free: 8.113 MB / 0.6856 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.004832/0.8142, allocations: 2.041 MB / 0.8934 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.8143, allocations: 10.34 kB / 0.8934 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002902/0.8172, allocations: 448.3 kB / 0.8938 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003809/0.821, allocations: 1.488 MB / 0.8953 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004035/0.8214, allocations: 132.5 kB / 0.8954 GB, free: 5.066 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.8216, allocations: 106.1 kB / 0.8955 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.8245, allocations: 1.319 MB / 0.8968 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.8245, allocations: 1.281 kB / 0.8968 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.8246, allocations: 47.38 kB / 0.8969 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.8247, allocations: 29.41 kB / 0.8969 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/0.8275, allocations: 1.122 MB / 0.898 GB, free: 3.527 MB / 0.6856 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.01006/0.8376, allocations: 7.234 MB / 0.9051 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003214/0.8408, allocations: 0.8512 MB / 0.9059 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006285/0.8415, allocations: 307 kB / 0.9062 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/0.8428, allocations: 1.719 MB / 0.9079 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.8428, allocations: 42.81 kB / 0.9079 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=52): time 2.745e-06/0.8428, allocations: 0 / 0.9079 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=52): time 0.004875/0.8477, allocations: 1.385 MB / 0.9092 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.8478, allocations: 57.31 kB / 0.9093 GB, free: 9.457 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/0.8502, allocations: 1.55 MB / 0.9108 GB, free: 8.211 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.8503, allocations: 37.7 kB / 0.9109 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/0.8509, allocations: 0.673 MB / 0.9115 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.8511, allocations: 185.3 kB / 0.9117 GB, free: 7.305 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.8514, allocations: 178.4 kB / 0.9119 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.8516, allocations: 338 kB / 0.9122 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.8526, allocations: 385.8 kB / 0.9125 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.8538, allocations: 0.678 MB / 0.9132 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.8557, allocations: 0.9141 MB / 0.9141 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-06/0.8557, allocations: 7.938 kB / 0.9141 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003124/0.8589, allocations: 1.236 MB / 0.9153 GB, free: 3.328 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.8589, allocations: 12 kB / 0.9153 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.8589, allocations: 8 kB / 0.9153 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008892/0.8598, allocations: 212.7 kB / 0.9155 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008094/0.8606, allocations: 205 kB / 0.9157 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008046/0.8614, allocations: 0.7208 MB / 0.9164 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.8632, allocations: 218.7 kB / 0.9166 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/0.8633, allocations: 47.92 kB / 0.9167 GB, free: 1.891 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006171/0.8639, allocations: 362.6 kB / 0.917 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.8642, allocations: 162.2 kB / 0.9172 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.8667, allocations: 1.189 MB / 0.9184 GB, free: 196 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.8667, allocations: 4 kB / 0.9184 GB, free: 192 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.8668, allocations: 4 kB / 0.9184 GB, free: 188 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.8668, allocations: 3.984 kB / 0.9184 GB, free: 184 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005309/0.8721, allocations: 2.574 MB / 0.9209 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.8721, allocations: 4 kB / 0.9209 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/0.8725, allocations: 87.88 kB / 0.921 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007254/0.8732, allocations: 220.8 kB / 0.9212 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.8733, allocations: 19.98 kB / 0.9212 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.8745, allocations: 0.7591 MB / 0.9219 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.8745, allocations: 7.969 kB / 0.9219 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003379/0.8779, allocations: 1.234 MB / 0.9231 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007395/0.8787, allocations: 358.9 kB / 0.9235 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.8789, allocations: 15.94 kB / 0.9235 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009364/0.8798, allocations: 79.91 kB / 0.9236 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.88, allocations: 50.25 kB / 0.9236 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.117e-05/0.88, allocations: 27.98 kB / 0.9237 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001718/0.8817, allocations: 1.09 MB / 0.9247 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8818, allocations: 0 / 0.9247 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001365/0.8831, allocations: 451.4 kB / 0.9252 GB, free: 9.062 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008654/0.884, allocations: 479.8 kB / 0.9256 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.8862, allocations: 0.8853 MB / 0.9265 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8862, allocations: 7.938 kB / 0.9265 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.8875, allocations: 460.8 kB / 0.9269 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/0.8905, allocations: 0.7656 MB / 0.9277 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.8942, allocations: 2.27 MB / 0.9299 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007756/0.895, allocations: 1.168 MB / 0.931 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009642/0.896, allocations: 285.6 kB / 0.9313 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.8963, allocations: 119.3 kB / 0.9314 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.8963, allocations: 0 / 0.9314 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of Templates: time 0.04814/0.9444, allocations: 32.15 MB / 0.9628 GB, free: 2.93 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)