Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001129/0.001129, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00113/0.00113, allocations: 190.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9871/0.9871, allocations: 143 MB / 433.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.89 kB / 0.5137 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1467, allocations: 82.04 MB / 0.5938 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3823/0.529, allocations: 69.84 MB / 0.662 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02908/0.5582, allocations: 18.81 MB / 0.6803 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004101/0.5623, allocations: 62.84 kB / 0.6804 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003361/0.5657, allocations: 0.7074 MB / 0.6811 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.5765, allocations: 2.657 MB / 0.6837 GB, free: 112 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007139/0.5837, allocations: 1.522 MB / 0.6852 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009594/0.5933, allocations: 4.058 MB / 0.6891 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004788/0.5981, allocations: 1.449 MB / 0.6906 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007583/0.6058, allocations: 1.772 MB / 0.6923 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003976/0.6098, allocations: 1.223 MB / 0.6935 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009444/0.6108, allocations: 181 kB / 0.6937 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005337/0.6161, allocations: 1.433 MB / 0.6951 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.6173, allocations: 387.4 kB / 0.6954 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003239/0.6206, allocations: 0.9272 MB / 0.6963 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009742/0.6303, allocations: 3.261 MB / 0.6995 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.6304, allocations: 1.438 kB / 0.6995 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.735e-06/0.6304, allocations: 0 / 0.6995 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001671/0.6306, allocations: 0.6094 kB / 0.6995 GB, free: 8.344 MB / 0.5294 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.008942/0.6396, allocations: 2.028 MB / 0.7015 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.6396, allocations: 8.406 kB / 0.7015 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/0.6427, allocations: 448.5 kB / 0.7019 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004378/0.6471, allocations: 1.507 MB / 0.7034 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004904/0.6476, allocations: 145.7 kB / 0.7035 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003936/0.648, allocations: 109 kB / 0.7036 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/0.652, allocations: 1.292 MB / 0.7049 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/0.6521, allocations: 2.375 kB / 0.7049 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.6523, allocations: 42.5 kB / 0.705 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.6523, allocations: 25.88 kB / 0.705 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003312/0.6556, allocations: 1.103 MB / 0.7061 GB, free: 4.742 MB / 0.5294 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.01245/0.6681, allocations: 7.156 MB / 0.713 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003495/0.6716, allocations: 0.8047 MB / 0.7138 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006994/0.6724, allocations: 284 kB / 0.7141 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/0.674, allocations: 1.726 MB / 0.7158 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.6741, allocations: 42.44 kB / 0.7158 GB, free: 12.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 3.156e-06/0.6741, allocations: 0 / 0.7158 GB, free: 12.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.00534/0.6794, allocations: 1.339 MB / 0.7171 GB, free: 11.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.6795, allocations: 56.75 kB / 0.7172 GB, free: 11.33 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003598/0.6831, allocations: 1.525 MB / 0.7187 GB, free: 10.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001912/0.6833, allocations: 33.11 kB / 0.7187 GB, free: 10.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008049/0.6841, allocations: 0.6721 MB / 0.7194 GB, free: 9.867 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.6844, allocations: 163.7 kB / 0.7195 GB, free: 9.727 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000406/0.6848, allocations: 170.2 kB / 0.7197 GB, free: 9.621 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.685, allocations: 335.6 kB / 0.72 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.6861, allocations: 361.9 kB / 0.7203 GB, free: 9.117 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.6878, allocations: 0.6262 MB / 0.721 GB, free: 8.594 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.6898, allocations: 0.8548 MB / 0.7218 GB, free: 7.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.6899, allocations: 6.5 kB / 0.7218 GB, free: 7.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004994/0.6949, allocations: 1.326 MB / 0.7231 GB, free: 7.297 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.6949, allocations: 16.06 kB / 0.7231 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.695, allocations: 11.2 kB / 0.7231 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.696, allocations: 217 kB / 0.7233 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008428/0.6969, allocations: 179.6 kB / 0.7235 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.698, allocations: 0.7127 MB / 0.7242 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/0.7006, allocations: 236.4 kB / 0.7244 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/0.7009, allocations: 44.84 kB / 0.7245 GB, free: 6.359 MB / 0.545 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 (78): * Single equations (assignments): 77 * 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.001178/0.7021, allocations: 354.1 kB / 0.7248 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007692/0.7029, allocations: 149.4 kB / 0.7249 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/0.7061, allocations: 1.138 MB / 0.7261 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-05/0.7062, allocations: 12 kB / 0.7261 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.7062, allocations: 3.984 kB / 0.7261 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.7062, allocations: 3.938 kB / 0.7261 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007128/0.7133, allocations: 2.512 MB / 0.7285 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.7134, allocations: 3.938 kB / 0.7285 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.7138, allocations: 83.88 kB / 0.7286 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008731/0.7147, allocations: 220.7 kB / 0.7288 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.356e-05/0.7148, allocations: 16 kB / 0.7288 GB, free: 2.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.7161, allocations: 0.7747 MB / 0.7296 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7162, allocations: 4.031 kB / 0.7296 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/0.7199, allocations: 1.203 MB / 0.7308 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.721, allocations: 347 kB / 0.7311 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005893/0.7216, allocations: 12 kB / 0.7311 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.723, allocations: 95.73 kB / 0.7312 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.7231, allocations: 44.45 kB / 0.7312 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.133e-05/0.7232, allocations: 31.92 kB / 0.7313 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002366/0.7256, allocations: 1.074 MB / 0.7323 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.7256, allocations: 0 / 0.7323 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00222/0.7278, allocations: 435.4 kB / 0.7327 GB, free: 14.08 MB / 0.5606 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 (52): * Single equations (assignments): 41 * 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.001394/0.7292, allocations: 484.3 kB / 0.7332 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002681/0.7319, allocations: 0.8702 MB / 0.7341 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.732, allocations: 0 / 0.7341 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.7333, allocations: 439.5 kB / 0.7345 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/0.7377, allocations: 0.7512 MB / 0.7352 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005226/0.7429, allocations: 2.744 MB / 0.7379 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009603/0.7439, allocations: 1.172 MB / 0.739 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001456/0.7454, allocations: 264.8 kB / 0.7393 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/0.7458, allocations: 115.3 kB / 0.7394 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/0.7458, allocations: 0 / 0.7394 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.0526/0.7984, allocations: 31.43 MB / 0.7701 GB, free: 8.227 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)