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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001237, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001653/0.001653, allocations: 177.3 kB / 15.94 MB, free: 228 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.746/1.746, allocations: 205.4 MB / 222.1 MB, free: 5.898 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.499/1.499, allocations: 251.9 MB / 0.51 GB, free: 4.859 MB / 414.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.0005482/0.0005484, allocations: 15.98 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5175/0.5181, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0587/0.5769, allocations: 59.18 MB / 0.7858 GB, free: 80 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02195/0.5989, allocations: 14.96 MB / 0.8004 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.6014, allocations: 63.5 kB / 0.8004 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.6042, allocations: 0.6956 MB / 0.8011 GB, free: 344 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007875/0.6121, allocations: 2.262 MB / 0.8033 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004603/0.6167, allocations: 1.477 MB / 0.8048 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005092/0.6218, allocations: 2.272 MB / 0.807 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.6237, allocations: 1.022 MB / 0.808 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003741/0.6274, allocations: 1.273 MB / 0.8092 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.6295, allocations: 0.7895 MB / 0.81 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.6297, allocations: 56 kB / 0.81 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003754/0.6334, allocations: 0.9674 MB / 0.811 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003644/0.6338, allocations: 250.9 kB / 0.8112 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007358/0.6346, allocations: 368.8 kB / 0.8116 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003217/0.6378, allocations: 2.287 MB / 0.8138 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6378, allocations: 0 / 0.8138 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.454e-06/0.6378, allocations: 0 / 0.8138 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.617e-05/0.6378, allocations: 0 / 0.8138 GB, free: 3.289 MB / 0.6231 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.003753/0.6416, allocations: 1.719 MB / 0.8155 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.254e-05/0.6417, allocations: 11.97 kB / 0.8155 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002676/0.6444, allocations: 0.5014 MB / 0.816 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00371/0.6481, allocations: 1.431 MB / 0.8174 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003912/0.6485, allocations: 150 kB / 0.8175 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.6487, allocations: 100 kB / 0.8176 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003149/0.6519, allocations: 1.303 MB / 0.8189 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.6519, allocations: 3.938 kB / 0.8189 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.6521, allocations: 44 kB / 0.8189 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.6521, allocations: 28 kB / 0.819 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/0.6548, allocations: 1.163 MB / 0.8201 GB, free: 12.63 MB / 0.6387 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.009929/0.6648, allocations: 6.964 MB / 0.8269 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003301/0.6681, allocations: 0.9459 MB / 0.8278 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/0.6696, allocations: 1.714 MB / 0.8295 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.6697, allocations: 39 kB / 0.8295 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=52): time 3.297e-06/0.6697, allocations: 0 / 0.8295 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of matching and sorting (n=52): time 0.004817/0.6745, allocations: 1.483 MB / 0.831 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.6746, allocations: 59.78 kB / 0.831 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.6769, allocations: 1.549 MB / 0.8326 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-05/0.677, allocations: 37.7 kB / 0.8326 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006024/0.6776, allocations: 0.6654 MB / 0.8332 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.6778, allocations: 189.3 kB / 0.8334 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.6779, allocations: 12 kB / 0.8334 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.678, allocations: 337.9 kB / 0.8338 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000982/0.679, allocations: 397.8 kB / 0.8341 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.6802, allocations: 0.6744 MB / 0.8348 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.6813, allocations: 449.9 kB / 0.8352 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.6813, allocations: 7.938 kB / 0.8352 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002914/0.6842, allocations: 1.243 MB / 0.8364 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.6842, allocations: 8 kB / 0.8365 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.6843, allocations: 8 kB / 0.8365 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008566/0.6851, allocations: 233.2 kB / 0.8367 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007702/0.6859, allocations: 203.7 kB / 0.8369 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008068/0.6867, allocations: 0.724 MB / 0.8376 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.6885, allocations: 270.7 kB / 0.8378 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.872e-05/0.6886, allocations: 39.98 kB / 0.8379 GB, free: 9.324 MB / 0.6544 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.000653/0.6892, allocations: 360.8 kB / 0.8382 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.6895, allocations: 146.2 kB / 0.8384 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.6919, allocations: 1.221 MB / 0.8396 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.6919, allocations: 15.98 kB / 0.8396 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6919, allocations: 0 / 0.8396 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.692, allocations: 0 / 0.8396 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005267/0.6972, allocations: 2.674 MB / 0.8422 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.6973, allocations: 4 kB / 0.8422 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004059/0.6977, allocations: 95.86 kB / 0.8423 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007493/0.6984, allocations: 224.7 kB / 0.8425 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/0.6985, allocations: 19.98 kB / 0.8425 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.6998, allocations: 0.802 MB / 0.8433 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6998, allocations: 0 / 0.8433 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00344/0.7032, allocations: 1.416 MB / 0.8447 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007093/0.7039, allocations: 394.7 kB / 0.8451 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.7041, allocations: 16 kB / 0.8451 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009873/0.7051, allocations: 104 kB / 0.8452 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.7052, allocations: 44.44 kB / 0.8452 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/0.7053, allocations: 31.92 kB / 0.8452 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002086/0.7074, allocations: 1.093 MB / 0.8463 GB, free: 472 kB / 0.6544 GB Notification: Performance of sort global known variables: time 6.81e-07/0.7074, allocations: 0 / 0.8463 GB, free: 472 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0016/0.709, allocations: 435.4 kB / 0.8467 GB, free: 36 kB / 0.6544 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.0009642/0.71, allocations: 453.3 kB / 0.8472 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002284/0.7123, allocations: 0.8952 MB / 0.848 GB, free: 14.69 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.7123, allocations: 0 / 0.848 GB, free: 14.69 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.7136, allocations: 499.6 kB / 0.8485 GB, free: 14.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/0.7168, allocations: 0.7137 MB / 0.8492 GB, free: 13.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004388/0.7212, allocations: 2.726 MB / 0.8519 GB, free: 10.72 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008141/0.722, allocations: 1.207 MB / 0.853 GB, free: 9.488 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001466/0.7235, allocations: 266.8 kB / 0.8533 GB, free: 9.227 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.7239, allocations: 123.3 kB / 0.8534 GB, free: 9.105 MB / 0.67 GB Notification: Performance of SimCode: time 2.925e-06/0.7239, allocations: 0 / 0.8534 GB, free: 9.105 MB / 0.67 GB Notification: Performance of Templates: time 0.05588/0.7797, allocations: 29.85 MB / 0.8826 GB, free: 11.62 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: