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.001178/0.001178, allocations: 106.7 kB / 15.99 MB, free: 6.352 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.001173/0.001173, allocations: 188.5 kB / 16.91 MB, free: 6.188 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.542/1.542, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.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.667/1.667, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.00138/0.00138, allocations: 69.98 kB / 0.6716 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2696, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06675/0.3364, allocations: 69.92 MB / 0.8518 GB, free: 7.738 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02434/0.3608, allocations: 18.7 MB / 0.87 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003583/0.3644, allocations: 63.56 kB / 0.8701 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003562/0.3681, allocations: 0.6957 MB / 0.8708 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009265/0.3774, allocations: 2.646 MB / 0.8734 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004563/0.382, allocations: 1.543 MB / 0.8749 GB, free: 44 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006958/0.389, allocations: 4.046 MB / 0.8788 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002829/0.3919, allocations: 1.442 MB / 0.8802 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0053/0.3972, allocations: 1.785 MB / 0.882 GB, free: 8.711 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/0.3999, allocations: 1.218 MB / 0.8832 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006589/0.4006, allocations: 176 kB / 0.8833 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/0.4047, allocations: 1.447 MB / 0.8847 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007428/0.4055, allocations: 394.6 kB / 0.8851 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002059/0.4075, allocations: 0.9293 MB / 0.886 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004041/0.4116, allocations: 2.487 MB / 0.8885 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4116, allocations: 0 / 0.8885 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4116, allocations: 0 / 0.8885 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.698e-05/0.4117, allocations: 0 / 0.8885 GB, free: 2.055 MB / 0.7012 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.005924/0.4177, allocations: 2.034 MB / 0.8904 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.4177, allocations: 12.03 kB / 0.8905 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/0.4203, allocations: 449.8 kB / 0.8909 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003401/0.4238, allocations: 1.516 MB / 0.8924 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003881/0.4242, allocations: 138 kB / 0.8925 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002986/0.4245, allocations: 108 kB / 0.8926 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00322/0.4277, allocations: 1.292 MB / 0.8939 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.4278, allocations: 0 / 0.8939 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.4279, allocations: 44 kB / 0.8939 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.4279, allocations: 31.94 kB / 0.8939 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/0.4309, allocations: 1.12 MB / 0.895 GB, free: 11.12 MB / 0.7169 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.01047/0.4413, allocations: 6.849 MB / 0.9017 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/0.4447, allocations: 0.8549 MB / 0.9026 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006588/0.4454, allocations: 309.9 kB / 0.9029 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/0.4468, allocations: 1.718 MB / 0.9045 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.4469, allocations: 43 kB / 0.9046 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 3.216e-06/0.4469, allocations: 3.938 kB / 0.9046 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.005016/0.4519, allocations: 1.381 MB / 0.9059 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.452, allocations: 59.84 kB / 0.906 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/0.4553, allocations: 1.533 MB / 0.9075 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.4554, allocations: 37.7 kB / 0.9075 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006883/0.4561, allocations: 0.6537 MB / 0.9082 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.4563, allocations: 185.3 kB / 0.9083 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003784/0.4567, allocations: 170.4 kB / 0.9085 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4569, allocations: 334 kB / 0.9088 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.4579, allocations: 381.7 kB / 0.9092 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.4592, allocations: 0.6471 MB / 0.9098 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.461, allocations: 0.8757 MB / 0.9107 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.461, allocations: 0 / 0.9107 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004588/0.4656, allocations: 1.369 MB / 0.912 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.4657, allocations: 11.98 kB / 0.912 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.4657, allocations: 15.88 kB / 0.912 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.4667, allocations: 216.7 kB / 0.9122 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008377/0.4676, allocations: 187.7 kB / 0.9124 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009876/0.4686, allocations: 0.7202 MB / 0.9131 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.4707, allocations: 243.4 kB / 0.9133 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.4709, allocations: 43.97 kB / 0.9134 GB, free: 7.133 MB / 0.7325 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.0009231/0.4718, allocations: 357.5 kB / 0.9137 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005235/0.4723, allocations: 146.2 kB / 0.9139 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/0.4753, allocations: 1.184 MB / 0.915 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/0.4753, allocations: 7.984 kB / 0.915 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.4754, allocations: 4.078 kB / 0.915 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4754, allocations: 11.92 kB / 0.915 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006191/0.4816, allocations: 2.576 MB / 0.9176 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.4816, allocations: 0 / 0.9176 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.4821, allocations: 95.81 kB / 0.9177 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008367/0.4829, allocations: 208.8 kB / 0.9179 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.483, allocations: 19.94 kB / 0.9179 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.4843, allocations: 0.7824 MB / 0.9186 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4843, allocations: 0 / 0.9186 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003729/0.4881, allocations: 1.238 MB / 0.9198 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4894/0.9775, allocations: 348.1 kB / 0.9202 GB, free: 136.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005938/0.9781, allocations: 14.08 kB / 0.9202 GB, free: 136.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.9793, allocations: 92.14 kB / 0.9203 GB, free: 136.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.9794, allocations: 49.25 kB / 0.9203 GB, free: 136.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.946e-05/0.9795, allocations: 26.66 kB / 0.9203 GB, free: 136.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002025/0.9815, allocations: 1.079 MB / 0.9214 GB, free: 136.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9815, allocations: 3.969 kB / 0.9214 GB, free: 136.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001475/0.983, allocations: 440.2 kB / 0.9218 GB, free: 136.5 MB / 0.7325 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.0009575/0.984, allocations: 462.7 kB / 0.9223 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002509/0.9865, allocations: 0.9005 MB / 0.9231 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.9865, allocations: 0.7812 kB / 0.9231 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.9879, allocations: 468.5 kB / 0.9236 GB, free: 136.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/0.9912, allocations: 0.7675 MB / 0.9243 GB, free: 136.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.995, allocations: 2.796 MB / 0.9271 GB, free: 134.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.9956, allocations: 1.163 MB / 0.9282 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/0.9959, allocations: 126.6 kB / 0.9283 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.9959, allocations: 0 / 0.9283 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.05838/1.054, allocations: 34.21 MB / 0.9617 GB, free: 120 MB / 0.7325 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)