Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.54/1.54, allocations: 251.5 MB / 267.4 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008995/0.0008994, allocations: 183.3 kB / 326.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007558/0.0007559, allocations: 90 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003119, allocations: 11.5 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2188, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05042/0.2692, allocations: 69.78 MB / 0.9649 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02424/0.2935, allocations: 18.85 MB / 0.9833 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002915/0.2965, allocations: 63.56 kB / 0.9833 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002935/0.2995, allocations: 0.6566 MB / 0.984 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008439/0.3079, allocations: 2.589 MB / 0.9865 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004324/0.3123, allocations: 1.507 MB / 0.988 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006682/0.319, allocations: 5.009 MB / 0.9929 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.3213, allocations: 1.136 MB / 0.994 GB, free: 240 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003902/0.3252, allocations: 1.458 MB / 0.9954 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002218/0.3274, allocations: 1.116 MB / 0.9965 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002988/0.3278, allocations: 63.98 kB / 0.9966 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003444/0.3312, allocations: 1.185 MB / 0.9977 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004689/0.3317, allocations: 266.6 kB / 0.998 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.3332, allocations: 0.7849 MB / 0.9987 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003808/0.3371, allocations: 2.377 MB / 1.001 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3371, allocations: 0 / 1.001 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.458e-06/0.3371, allocations: 3.984 kB / 1.001 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.269e-05/0.3372, allocations: 4 kB / 1.001 GB, free: 8.957 MB / 0.6511 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.003495/0.3407, allocations: 1.711 MB / 1.003 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3407, allocations: 8.031 kB / 1.003 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/0.3431, allocations: 0.4946 MB / 1.003 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.3459, allocations: 1.516 MB / 1.005 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/0.3463, allocations: 150 kB / 1.005 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.3464, allocations: 104 kB / 1.005 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.349, allocations: 1.315 MB / 1.006 GB, free: 3.453 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.349, allocations: 15.91 kB / 1.006 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.584e-05/0.3491, allocations: 44 kB / 1.006 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.3492, allocations: 28 kB / 1.006 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/0.3518, allocations: 1.171 MB / 1.007 GB, free: 2.191 MB / 0.6511 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.008658/0.3605, allocations: 6.929 MB / 1.014 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.3637, allocations: 0.9341 MB / 1.015 GB, free: 9.863 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006411/0.3643, allocations: 321.9 kB / 1.015 GB, free: 9.547 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.3656, allocations: 1.722 MB / 1.017 GB, free: 7.438 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.3657, allocations: 39 kB / 1.017 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=52): time 3.036e-06/0.3657, allocations: 0 / 1.017 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52): time 0.00494/0.3706, allocations: 1.498 MB / 1.019 GB, free: 5.863 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.3707, allocations: 59.84 kB / 1.019 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/0.3731, allocations: 1.533 MB / 1.02 GB, free: 4.25 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.228e-05/0.3732, allocations: 45.7 kB / 1.02 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005518/0.3738, allocations: 0.6537 MB / 1.021 GB, free: 3.539 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.374, allocations: 189.3 kB / 1.021 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3741, allocations: 61.69 kB / 1.021 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3742, allocations: 334 kB / 1.021 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009888/0.3752, allocations: 405.8 kB / 1.022 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.3765, allocations: 0.6744 MB / 1.022 GB, free: 1.766 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.3783, allocations: 0.9225 MB / 1.023 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3784, allocations: 4 kB / 1.023 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004464/0.3828, allocations: 1.477 MB / 1.025 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3829, allocations: 8 kB / 1.025 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.3829, allocations: 8 kB / 1.025 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000909/0.3838, allocations: 229.3 kB / 1.025 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007864/0.3846, allocations: 207.6 kB / 1.025 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008753/0.3855, allocations: 0.7318 MB / 1.026 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.3873, allocations: 262.7 kB / 1.026 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.3874, allocations: 43.97 kB / 1.026 GB, free: 13.75 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 (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.0006943/0.3881, allocations: 353.6 kB / 1.027 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/0.3885, allocations: 150.1 kB / 1.027 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.3909, allocations: 1.223 MB / 1.028 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/0.391, allocations: 11.98 kB / 1.028 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.391, allocations: 0 / 1.028 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.391, allocations: 3.984 kB / 1.028 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005198/0.3962, allocations: 2.662 MB / 1.031 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3962, allocations: 0 / 1.031 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.3966, allocations: 99.88 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007707/0.3974, allocations: 228.7 kB / 1.031 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.3975, allocations: 19.98 kB / 1.031 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.3988, allocations: 0.806 MB / 1.032 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3988, allocations: 0 / 1.032 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003518/0.4023, allocations: 1.328 MB / 1.033 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007417/0.4031, allocations: 350.9 kB / 1.033 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.4033, allocations: 12 kB / 1.033 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009428/0.4042, allocations: 111.8 kB / 1.033 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4044, allocations: 48.44 kB / 1.033 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/0.4044, allocations: 27.98 kB / 1.033 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001963/0.4064, allocations: 1.086 MB / 1.035 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.164e-06/0.4064, allocations: 0 / 1.035 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00131/0.4077, allocations: 435.4 kB / 1.035 GB, free: 4.637 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 (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.0008787/0.4086, allocations: 467.6 kB / 1.035 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002233/0.4109, allocations: 0.9109 MB / 1.036 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4109, allocations: 0 / 1.036 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.4122, allocations: 499.6 kB / 1.037 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003584/0.4158, allocations: 0.7409 MB / 1.037 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/0.4202, allocations: 2.805 MB / 1.04 GB, free: 15.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/0.4209, allocations: 1.169 MB / 1.041 GB, free: 14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/0.4213, allocations: 127.4 kB / 1.042 GB, free: 13.87 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/0.4213, allocations: 0 / 1.042 GB, free: 13.87 MB / 0.698 GB Notification: Performance of Templates: time 0.401/0.8223, allocations: 33.88 MB / 1.075 GB, free: 142.1 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)