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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 292.3 MB / 308.1 MB, free: 4.273 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.001324/0.001325, allocations: 191.6 kB / 376.9 MB, free: 1.805 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.466/1.466, allocations: 205 MB / 0.6353 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 95.08 kB / 0.748 GB, free: 61.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 55.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2439, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.5804/0.8244, allocations: 70.1 MB / 1.051 GB, free: 68.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02864/0.8531, allocations: 18.91 MB / 1.069 GB, free: 57.94 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003883/0.8571, allocations: 61.56 kB / 1.069 GB, free: 57.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003004/0.8601, allocations: 0.6534 MB / 1.07 GB, free: 57.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.009496/0.8697, allocations: 2.595 MB / 1.072 GB, free: 55.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005288/0.875, allocations: 1.5 MB / 1.074 GB, free: 55.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006712/0.8817, allocations: 5.023 MB / 1.079 GB, free: 53.04 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00311/0.8848, allocations: 1.18 MB / 1.08 GB, free: 52.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004414/0.8893, allocations: 1.528 MB / 1.081 GB, free: 51.85 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002881/0.8922, allocations: 1.161 MB / 1.083 GB, free: 51.34 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0006742/0.8929, allocations: 77.5 kB / 1.083 GB, free: 51.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004135/0.8971, allocations: 1.238 MB / 1.084 GB, free: 50.92 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006869/0.8978, allocations: 296.7 kB / 1.084 GB, free: 50.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002287/0.9001, allocations: 0.818 MB / 1.085 GB, free: 50.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.006255/0.9064, allocations: 3.04 MB / 1.088 GB, free: 49.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.9064, allocations: 4 kB / 1.088 GB, free: 49.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9064, allocations: 3.25 kB / 1.088 GB, free: 49.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001206/0.9065, allocations: 0 / 1.088 GB, free: 49.13 MB / 0.7448 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.006547/0.9131, allocations: 2.049 MB / 1.09 GB, free: 47.76 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.9132, allocations: 9 kB / 1.09 GB, free: 47.76 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/0.9156, allocations: 453.7 kB / 1.09 GB, free: 47.65 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003142/0.9188, allocations: 1.514 MB / 1.092 GB, free: 46.69 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/0.9191, allocations: 134.6 kB / 1.092 GB, free: 46.65 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.9193, allocations: 105.9 kB / 1.092 GB, free: 46.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.9218, allocations: 1.297 MB / 1.093 GB, free: 45.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.9218, allocations: 0 / 1.093 GB, free: 45.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.741e-05/0.9219, allocations: 44.16 kB / 1.093 GB, free: 45.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.9219, allocations: 23.12 kB / 1.093 GB, free: 45.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.9244, allocations: 1.123 MB / 1.094 GB, free: 45.52 MB / 0.7448 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.007448/0.9319, allocations: 6.876 MB / 1.101 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002988/0.9349, allocations: 0.85 MB / 1.102 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.9355, allocations: 294.5 kB / 1.102 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009472/0.9364, allocations: 1.725 MB / 1.104 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.9364, allocations: 42.31 kB / 1.104 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=52): time 3.026e-06/0.9365, allocations: 0 / 1.104 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=52): time 0.004698/0.9412, allocations: 1.375 MB / 1.105 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.9412, allocations: 58.09 kB / 1.105 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.9433, allocations: 1.524 MB / 1.107 GB, free: 36.69 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.449e-05/0.9434, allocations: 41.2 kB / 1.107 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.9438, allocations: 0.6609 MB / 1.108 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.944, allocations: 185 kB / 1.108 GB, free: 35.97 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.9442, allocations: 166.8 kB / 1.108 GB, free: 35.89 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.917e-05/0.9443, allocations: 334.3 kB / 1.108 GB, free: 35.58 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009078/0.9452, allocations: 388.2 kB / 1.109 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.9462, allocations: 0.6451 MB / 1.109 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.9478, allocations: 0.8775 MB / 1.11 GB, free: 34.44 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.9478, allocations: 1.125 kB / 1.11 GB, free: 34.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004033/0.9519, allocations: 1.368 MB / 1.111 GB, free: 33.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.9519, allocations: 10.44 kB / 1.111 GB, free: 33.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.9519, allocations: 6 kB / 1.111 GB, free: 33.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000799/0.9527, allocations: 226.8 kB / 1.112 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007146/0.9535, allocations: 199.1 kB / 1.112 GB, free: 33.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000689/0.9542, allocations: 0.7095 MB / 1.113 GB, free: 33.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.9557, allocations: 230.8 kB / 1.113 GB, free: 33.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/0.9558, allocations: 49.11 kB / 1.113 GB, free: 33.18 MB / 0.7448 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 (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.0004989/0.9563, allocations: 366.8 kB / 1.113 GB, free: 32.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.9565, allocations: 153.8 kB / 1.113 GB, free: 32.83 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.9587, allocations: 1.174 MB / 1.114 GB, free: 32.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.9587, allocations: 17.86 kB / 1.114 GB, free: 32.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.9587, allocations: 0 / 1.114 GB, free: 32.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.9587, allocations: 0 / 1.114 GB, free: 32.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004558/0.9633, allocations: 2.573 MB / 1.117 GB, free: 31.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.9633, allocations: 3.375 kB / 1.117 GB, free: 31.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.9637, allocations: 93.91 kB / 1.117 GB, free: 31.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000664/0.9643, allocations: 217.3 kB / 1.117 GB, free: 31.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.9644, allocations: 22.8 kB / 1.117 GB, free: 31.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.9655, allocations: 0.7705 MB / 1.118 GB, free: 30.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.9655, allocations: 3.188 kB / 1.118 GB, free: 30.45 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004313/0.9698, allocations: 2.485 MB / 1.12 GB, free: 28.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/0.9704, allocations: 356.7 kB / 1.121 GB, free: 28.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.9706, allocations: 10.91 kB / 1.121 GB, free: 28.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008812/0.9715, allocations: 89.34 kB / 1.121 GB, free: 28.69 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.9716, allocations: 48.14 kB / 1.121 GB, free: 28.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.9716, allocations: 23.95 kB / 1.121 GB, free: 28.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001568/0.9732, allocations: 1.08 MB / 1.122 GB, free: 28.24 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9732, allocations: 0 / 1.122 GB, free: 28.24 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001418/0.9746, allocations: 457.9 kB / 1.122 GB, free: 28.14 MB / 0.7448 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.0007934/0.9754, allocations: 468.4 kB / 1.123 GB, free: 27.92 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.9775, allocations: 0.8641 MB / 1.124 GB, free: 27.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9775, allocations: 0 / 1.124 GB, free: 27.64 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.9788, allocations: 461.6 kB / 1.124 GB, free: 27.51 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/0.9817, allocations: 0.7213 MB / 1.125 GB, free: 27.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.9854, allocations: 3.161 MB / 1.128 GB, free: 25.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.9859, allocations: 1.185 MB / 1.129 GB, free: 24.58 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001031/0.987, allocations: 280.9 kB / 1.129 GB, free: 24.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.9872, allocations: 116.8 kB / 1.13 GB, free: 24.48 MB / 0.7448 GB Notification: Performance of SimCode: time 9.92e-07/0.9872, allocations: 0 / 1.13 GB, free: 24.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.05712/1.044, allocations: 31.46 MB / 1.16 GB, free: 20.67 MB / 0.7448 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)