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.0007967/0.0007967, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.00095/0.00095, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.805/1.805, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005175/0.0005176, allocations: 20.61 kB / 0.6737 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.217, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05769/0.2747, allocations: 65.12 MB / 0.8509 GB, free: 10.63 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02019/0.2949, allocations: 17.61 MB / 0.8681 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002262/0.2973, allocations: 63.56 kB / 0.8681 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.299, allocations: 0.5238 MB / 0.8686 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005744/0.3048, allocations: 2.087 MB / 0.8707 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.308, allocations: 1.097 MB / 0.8717 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006926/0.3149, allocations: 4.373 MB / 0.876 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/0.3168, allocations: 1.022 MB / 0.877 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.3196, allocations: 1.33 MB / 0.8783 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.3215, allocations: 1.05 MB / 0.8793 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.3217, allocations: 60 kB / 0.8794 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.3242, allocations: 0.9043 MB / 0.8803 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.3245, allocations: 254.8 kB / 0.8805 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005552/0.325, allocations: 364.9 kB / 0.8809 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.3277, allocations: 2.307 MB / 0.8831 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3278, allocations: 4 kB / 0.8831 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3278, allocations: 0 / 0.8831 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.685e-05/0.3278, allocations: 0 / 0.8831 GB, free: 9.492 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.003448/0.3312, allocations: 1.731 MB / 0.8848 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.3313, allocations: 15.97 kB / 0.8848 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.3334, allocations: 0.4975 MB / 0.8853 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.3359, allocations: 1.482 MB / 0.8868 GB, free: 5.645 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003261/0.3362, allocations: 146 kB / 0.8869 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.3365, allocations: 108 kB / 0.887 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.3391, allocations: 1.307 MB / 0.8883 GB, free: 4 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.3391, allocations: 0 / 0.8883 GB, free: 4 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.504e-05/0.3392, allocations: 44 kB / 0.8883 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.3392, allocations: 24 kB / 0.8883 GB, free: 3.934 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002543/0.3418, allocations: 1.167 MB / 0.8895 GB, free: 2.77 MB / 0.7012 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.008823/0.3506, allocations: 6.904 MB / 0.8962 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/0.3536, allocations: 0.9303 MB / 0.8971 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006289/0.3543, allocations: 318 kB / 0.8974 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/0.3557, allocations: 1.722 MB / 0.8991 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.3557, allocations: 46.94 kB / 0.8992 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 4.739e-06/0.3558, allocations: 3.938 kB / 0.8992 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.004721/0.3605, allocations: 1.491 MB / 0.9006 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.3605, allocations: 59.84 kB / 0.9007 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/0.3629, allocations: 1.525 MB / 0.9022 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.289e-05/0.363, allocations: 37.7 kB / 0.9022 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00073/0.3637, allocations: 0.6654 MB / 0.9029 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.364, allocations: 181.3 kB / 0.903 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.364, allocations: 16 kB / 0.903 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3642, allocations: 338 kB / 0.9034 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009968/0.3652, allocations: 393.8 kB / 0.9037 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.3665, allocations: 0.682 MB / 0.9044 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.3676, allocations: 457.9 kB / 0.9048 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/0.3676, allocations: 3.953 kB / 0.9049 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002811/0.3704, allocations: 1.248 MB / 0.9061 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3704, allocations: 7.984 kB / 0.9061 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.3705, allocations: 8 kB / 0.9061 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008032/0.3713, allocations: 224.9 kB / 0.9063 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007788/0.3721, allocations: 207.7 kB / 0.9065 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008231/0.3729, allocations: 0.724 MB / 0.9072 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.3744, allocations: 267.3 kB / 0.9075 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.3746, allocations: 47.95 kB / 0.9075 GB, free: 15.23 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 (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.000774/0.3753, allocations: 360.7 kB / 0.9079 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.3756, allocations: 146.2 kB / 0.908 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/0.3781, allocations: 1.223 MB / 0.9092 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.3782, allocations: 7.984 kB / 0.9092 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3782, allocations: 4 kB / 0.9092 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.3782, allocations: 4.078 kB / 0.9092 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00515/0.3834, allocations: 2.65 MB / 0.9118 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.3834, allocations: 3.953 kB / 0.9118 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/0.3838, allocations: 100.1 kB / 0.9119 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006967/0.3845, allocations: 232.5 kB / 0.9121 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.3845, allocations: 15.98 kB / 0.9121 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.3858, allocations: 0.7981 MB / 0.9129 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3858, allocations: 0 / 0.9129 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.389, allocations: 1.324 MB / 0.9142 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005821/0.3896, allocations: 382.8 kB / 0.9146 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.3897, allocations: 12 kB / 0.9146 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008579/0.3906, allocations: 107.8 kB / 0.9147 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.3907, allocations: 44.45 kB / 0.9147 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/0.3908, allocations: 27.98 kB / 0.9147 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00163/0.3924, allocations: 1.078 MB / 0.9158 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.613e-06/0.3924, allocations: 0 / 0.9158 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001155/0.3936, allocations: 435.4 kB / 0.9162 GB, free: 6.121 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 (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.0007324/0.3943, allocations: 459.8 kB / 0.9167 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.3963, allocations: 0.8877 MB / 0.9175 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3964, allocations: 8.062 kB / 0.9175 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.3975, allocations: 491.2 kB / 0.918 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/0.4004, allocations: 0.7224 MB / 0.9187 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.4042, allocations: 2.73 MB / 0.9214 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3634/0.7677, allocations: 1.171 MB / 0.9225 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001589/0.7694, allocations: 269.9 kB / 0.9228 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/0.7697, allocations: 115.6 kB / 0.9229 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.233e-06/0.7697, allocations: 0 / 0.9229 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.04939/0.8191, allocations: 29.61 MB / 0.9518 GB, free: 123.1 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: