Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.685/1.685, allocations: 288.2 MB / 303.2 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001309/0.001309, allocations: 177.9 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009091/0.0009088, allocations: 93.56 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003842, allocations: 12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2144, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06452/0.279, allocations: 59.18 MB / 1.037 GB, free: 296 kB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02077/0.2998, allocations: 14.98 MB / 1.052 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002486/0.3023, allocations: 55.62 kB / 1.052 GB, free: 1.234 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.3048, allocations: 0.6917 MB / 1.053 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007759/0.3126, allocations: 2.265 MB / 1.055 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005132/0.3177, allocations: 1.572 MB / 1.056 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004784/0.3225, allocations: 2.276 MB / 1.059 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.3242, allocations: 1.026 MB / 1.06 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.3272, allocations: 1.273 MB / 1.061 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.3288, allocations: 0.7856 MB / 1.062 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.329, allocations: 60 kB / 1.062 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003096/0.3321, allocations: 0.9791 MB / 1.063 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.3325, allocations: 246.9 kB / 1.063 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007862/0.3333, allocations: 372.8 kB / 1.063 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003534/0.3368, allocations: 2.291 MB / 1.065 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3368, allocations: 0 / 1.065 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3368, allocations: 0 / 1.065 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.698e-05/0.3369, allocations: 3.938 kB / 1.065 GB, free: 3.371 MB / 0.6823 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.003235/0.3401, allocations: 1.731 MB / 1.067 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3402, allocations: 8.031 kB / 1.067 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001838/0.3404, allocations: 156.4 kB / 1.067 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/0.3426, allocations: 0.4936 MB / 1.068 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4468/0.7894, allocations: 1.436 MB / 1.069 GB, free: 90.72 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005413/0.79, allocations: 145.8 kB / 1.069 GB, free: 90.71 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.7902, allocations: 106.7 kB / 1.069 GB, free: 90.71 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/0.7931, allocations: 1.307 MB / 1.071 GB, free: 90.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.7931, allocations: 2.172 kB / 1.071 GB, free: 90.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.149e-05/0.7932, allocations: 45.59 kB / 1.071 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.7932, allocations: 26.12 kB / 1.071 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/0.796, allocations: 1.166 MB / 1.072 GB, free: 89.75 MB / 0.6823 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.00959/0.8056, allocations: 6.931 MB / 1.079 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003496/0.8092, allocations: 0.9366 MB / 1.08 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.8102, allocations: 1.72 MB / 1.081 GB, free: 82.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.8103, allocations: 38.81 kB / 1.081 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.497e-06/0.8103, allocations: 0 / 1.081 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.005527/0.8158, allocations: 1.493 MB / 1.083 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.8159, allocations: 57.02 kB / 1.083 GB, free: 81.85 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002639/0.8186, allocations: 1.543 MB / 1.084 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.92e-05/0.8187, allocations: 38.2 kB / 1.084 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/0.8191, allocations: 0.6623 MB / 1.085 GB, free: 80.67 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.8193, allocations: 186.3 kB / 1.085 GB, free: 80.53 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.8193, allocations: 10.59 kB / 1.085 GB, free: 80.52 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.493e-05/0.8194, allocations: 334.7 kB / 1.086 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.8205, allocations: 409 kB / 1.086 GB, free: 80.08 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.8217, allocations: 0.6709 MB / 1.087 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.8228, allocations: 449.3 kB / 1.087 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.8228, allocations: 2.656 kB / 1.087 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003123/0.8259, allocations: 1.246 MB / 1.088 GB, free: 78.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.826, allocations: 7.656 kB / 1.088 GB, free: 78.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.826, allocations: 7.781 kB / 1.088 GB, free: 78.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009039/0.8269, allocations: 230.8 kB / 1.088 GB, free: 78.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008639/0.8278, allocations: 205.2 kB / 1.089 GB, free: 78.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008444/0.8286, allocations: 0.7228 MB / 1.089 GB, free: 78.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.8307, allocations: 270 kB / 1.09 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.8308, allocations: 45.72 kB / 1.09 GB, free: 78.22 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 (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.0006924/0.8315, allocations: 359.4 kB / 1.09 GB, free: 77.96 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.8317, allocations: 150.2 kB / 1.09 GB, free: 77.88 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/0.8344, allocations: 1.209 MB / 1.091 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-05/0.8344, allocations: 12.83 kB / 1.091 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8344, allocations: 0.7031 kB / 1.091 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.8344, allocations: 7.797 kB / 1.091 GB, free: 77.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006308/0.8407, allocations: 2.672 MB / 1.094 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.8408, allocations: 4.688 kB / 1.094 GB, free: 76.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004548/0.8413, allocations: 97.77 kB / 1.094 GB, free: 76.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000941/0.8422, allocations: 226.8 kB / 1.094 GB, free: 76.11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.8423, allocations: 17.8 kB / 1.094 GB, free: 76.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.8437, allocations: 0.8018 MB / 1.095 GB, free: 75.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.8437, allocations: 3.25 kB / 1.095 GB, free: 75.49 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004443/0.8481, allocations: 1.411 MB / 1.096 GB, free: 74.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009184/0.8491, allocations: 384.9 kB / 1.097 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.8493, allocations: 12.45 kB / 1.097 GB, free: 74.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.8503, allocations: 110.8 kB / 1.097 GB, free: 74.47 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.8504, allocations: 39.33 kB / 1.097 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.578e-05/0.8505, allocations: 30.98 kB / 1.097 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002041/0.8526, allocations: 1.1 MB / 1.098 GB, free: 74.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8526, allocations: 0 / 1.098 GB, free: 74.01 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001487/0.8541, allocations: 445.4 kB / 1.098 GB, free: 73.94 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.004544/0.8586, allocations: 2.703 MB / 1.101 GB, free: 72.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002433/0.8611, allocations: 0.9016 MB / 1.102 GB, free: 71.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.8611, allocations: 4.906 kB / 1.102 GB, free: 71.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.8625, allocations: 496.5 kB / 1.102 GB, free: 71.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/0.8658, allocations: 0.7239 MB / 1.103 GB, free: 71.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005865/0.8717, allocations: 8.509 MB / 1.111 GB, free: 64.06 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.8723, allocations: 1.204 MB / 1.113 GB, free: 63.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001342/0.8737, allocations: 280.1 kB / 1.113 GB, free: 62.97 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006837/0.8744, allocations: 0.5432 MB / 1.113 GB, free: 62.52 MB / 0.6823 GB Notification: Performance of SimCode: time 8.12e-07/0.8744, allocations: 0 / 1.113 GB, free: 62.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07199/0.9464, allocations: 43.14 MB / 1.156 GB, free: 28.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/0.9466, allocations: 261.5 kB / 1.156 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.406/4.353, allocations: 0 / 1.156 GB, free: 28.07 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)