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.429/1.429, allocations: 252 MB / 267.6 MB, free: 10.96 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.001028/0.001028, allocations: 184 kB / 327.3 MB, free: 2.207 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.843/1.843, allocations: 205.4 MB / 0.5783 GB, free: 20.54 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.0007952/0.0007952, allocations: 79.39 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004317, allocations: 15.72 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2135, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04177/0.2554, allocations: 65.13 MB / 0.9644 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02275/0.2782, allocations: 17.55 MB / 0.9816 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.2805, allocations: 67.5 kB / 0.9816 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.2824, allocations: 0.5121 MB / 0.9821 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006351/0.2888, allocations: 2.093 MB / 0.9842 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003448/0.2922, allocations: 1.108 MB / 0.9853 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005411/0.2976, allocations: 4.37 MB / 0.9895 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.2994, allocations: 1.018 MB / 0.9905 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.3021, allocations: 1.337 MB / 0.9918 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.3038, allocations: 1.042 MB / 0.9928 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.304, allocations: 60 kB / 0.9929 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.3063, allocations: 0.8965 MB / 0.9938 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.3065, allocations: 246.8 kB / 0.994 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004654/0.307, allocations: 372.8 kB / 0.9944 GB, free: 244 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.3094, allocations: 2.292 MB / 0.9966 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3095, allocations: 4 kB / 0.9966 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3095, allocations: 0 / 0.9966 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.148e-05/0.3095, allocations: 0 / 0.9966 GB, free: 13.93 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.003145/0.3127, allocations: 1.734 MB / 0.9983 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3127, allocations: 8.031 kB / 0.9983 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/0.3149, allocations: 0.5014 MB / 0.9988 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.3174, allocations: 1.47 MB / 1 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.3178, allocations: 142 kB / 1 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.3179, allocations: 104 kB / 1 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/0.3207, allocations: 1.315 MB / 1.002 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.3207, allocations: 7.938 kB / 1.002 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.3208, allocations: 40 kB / 1.002 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.3208, allocations: 28 kB / 1.002 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.3236, allocations: 1.163 MB / 1.003 GB, free: 7.219 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.008572/0.3322, allocations: 6.931 MB / 1.01 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0032/0.3354, allocations: 0.9341 MB / 1.011 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006286/0.3361, allocations: 318 kB / 1.011 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/0.3373, allocations: 1.722 MB / 1.013 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3374, allocations: 43 kB / 1.013 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=52): time 2.094e-06/0.3374, allocations: 0 / 1.013 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52): time 0.004864/0.3422, allocations: 1.487 MB / 1.014 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.3423, allocations: 59.84 kB / 1.014 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.3446, allocations: 1.529 MB / 1.016 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.333e-05/0.3447, allocations: 41.64 kB / 1.016 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005569/0.3452, allocations: 0.6576 MB / 1.016 GB, free: 8.582 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.3454, allocations: 181.3 kB / 1.017 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.3455, allocations: 16 kB / 1.017 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3456, allocations: 337.9 kB / 1.017 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.3466, allocations: 405.8 kB / 1.017 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.3478, allocations: 0.6744 MB / 1.018 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.3489, allocations: 453.9 kB / 1.018 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3489, allocations: 0 / 1.018 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002917/0.3518, allocations: 1.248 MB / 1.02 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3518, allocations: 8.094 kB / 1.02 GB, free: 5.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.3519, allocations: 8 kB / 1.02 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000856/0.3527, allocations: 236.5 kB / 1.02 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/0.3535, allocations: 199.7 kB / 1.02 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008368/0.3544, allocations: 0.7279 MB / 1.021 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.356, allocations: 262.7 kB / 1.021 GB, free: 3.695 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.403e-05/0.3561, allocations: 39.97 kB / 1.021 GB, free: 3.656 MB / 0.6667 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.0006425/0.3567, allocations: 365.5 kB / 1.021 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.357, allocations: 146.2 kB / 1.021 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.3594, allocations: 1.226 MB / 1.023 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.3594, allocations: 4 kB / 1.023 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3594, allocations: 0 / 1.023 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3595, allocations: 11.98 kB / 1.023 GB, free: 1.895 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005139/0.3646, allocations: 2.658 MB / 1.025 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.3646, allocations: 0 / 1.025 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.365, allocations: 95.88 kB / 1.025 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000775/0.3658, allocations: 224.8 kB / 1.026 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.3659, allocations: 15.98 kB / 1.026 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.3672, allocations: 0.806 MB / 1.026 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3672, allocations: 3.953 kB / 1.026 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003468/0.3707, allocations: 1.316 MB / 1.028 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007275/0.3714, allocations: 382.8 kB / 1.028 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.3717, allocations: 12.19 kB / 1.028 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.3728, allocations: 107.8 kB / 1.028 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3729, allocations: 52.38 kB / 1.028 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/0.373, allocations: 31.98 kB / 1.028 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002051/0.3751, allocations: 1.066 MB / 1.029 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3751, allocations: 0 / 1.029 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001374/0.3765, allocations: 427.4 kB / 1.03 GB, free: 10.55 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.0008851/0.3774, allocations: 440.3 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002711/0.3801, allocations: 0.8991 MB / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3801, allocations: 0 / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.3818, allocations: 495.6 kB / 1.031 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003921/0.3857, allocations: 0.7281 MB / 1.032 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/0.3908, allocations: 2.771 MB / 1.035 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008284/0.3916, allocations: 1.165 MB / 1.036 GB, free: 4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/0.3921, allocations: 131.4 kB / 1.036 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of SimCode: time 5.91e-07/0.3921, allocations: 0 / 1.036 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of Templates: time 0.4023/0.7944, allocations: 33.84 MB / 1.069 GB, free: 144.6 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)