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.78/1.78, allocations: 288.4 MB / 303.3 MB, free: 8.164 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.001365/0.001365, allocations: 183.2 kB / 372 MB, free: 10.26 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.682/1.682, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.000792/0.000792, allocations: 90.36 kB / 0.744 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003811, allocations: 11.62 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2264, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06336/0.2898, allocations: 65.12 MB / 1.043 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02519/0.3151, allocations: 17.61 MB / 1.06 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.3181, allocations: 59.62 kB / 1.06 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00256/0.3207, allocations: 0.5199 MB / 1.061 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008726/0.3295, allocations: 2.096 MB / 1.063 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004483/0.334, allocations: 1.106 MB / 1.064 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006501/0.3405, allocations: 4.369 MB / 1.068 GB, free: 492 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4677/0.8083, allocations: 1.01 MB / 1.069 GB, free: 26.85 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004619/0.813, allocations: 1.34 MB / 1.071 GB, free: 26.85 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002697/0.8157, allocations: 1.041 MB / 1.072 GB, free: 26.85 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003398/0.816, allocations: 58.59 kB / 1.072 GB, free: 26.85 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003223/0.8193, allocations: 0.9146 MB / 1.073 GB, free: 26.85 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004407/0.8197, allocations: 247.8 kB / 1.073 GB, free: 26.85 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008502/0.8206, allocations: 370.8 kB / 1.073 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004651/0.8253, allocations: 2.308 MB / 1.075 GB, free: 26.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.8253, allocations: 2.734 kB / 1.075 GB, free: 26.76 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.967e-06/0.8253, allocations: 0 / 1.075 GB, free: 26.76 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001003/0.8254, allocations: 1.094 kB / 1.075 GB, free: 26.76 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.005418/0.8309, allocations: 1.731 MB / 1.077 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.8309, allocations: 9.641 kB / 1.077 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003949/0.8313, allocations: 156.7 kB / 1.077 GB, free: 25.76 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/0.8341, allocations: 0.4919 MB / 1.078 GB, free: 25.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003669/0.8378, allocations: 1.474 MB / 1.079 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004458/0.8383, allocations: 147.4 kB / 1.079 GB, free: 25.29 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/0.8385, allocations: 104.7 kB / 1.079 GB, free: 25.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003276/0.8418, allocations: 1.314 MB / 1.081 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.8419, allocations: 6.719 kB / 1.081 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.842, allocations: 44.94 kB / 1.081 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-05/0.842, allocations: 27.42 kB / 1.081 GB, free: 25.04 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003452/0.8455, allocations: 1.164 MB / 1.082 GB, free: 25.02 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.0101/0.8556, allocations: 6.909 MB / 1.089 GB, free: 21.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/0.8591, allocations: 0.9286 MB / 1.09 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007058/0.8598, allocations: 315.2 kB / 1.09 GB, free: 21.33 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009148/0.8607, allocations: 1.724 MB / 1.092 GB, free: 19.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.8608, allocations: 38.59 kB / 1.092 GB, free: 19.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.797e-06/0.8608, allocations: 2.031 kB / 1.092 GB, free: 19.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.0053/0.8661, allocations: 1.497 MB / 1.093 GB, free: 19.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.8661, allocations: 60.34 kB / 1.093 GB, free: 18.99 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/0.8689, allocations: 1.525 MB / 1.095 GB, free: 18.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.869, allocations: 41.2 kB / 1.095 GB, free: 18.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005274/0.8696, allocations: 0.6579 MB / 1.095 GB, free: 18.56 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.8698, allocations: 183 kB / 1.096 GB, free: 18.45 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.8698, allocations: 14.88 kB / 1.096 GB, free: 18.45 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.8699, allocations: 331.2 kB / 1.096 GB, free: 18.14 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.871, allocations: 404.5 kB / 1.096 GB, free: 18.14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.8723, allocations: 0.6707 MB / 1.097 GB, free: 17.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.8734, allocations: 459 kB / 1.097 GB, free: 17.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.8734, allocations: 2.75 kB / 1.097 GB, free: 17.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003275/0.8767, allocations: 1.246 MB / 1.099 GB, free: 17.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.8768, allocations: 8.969 kB / 1.099 GB, free: 17.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.8768, allocations: 11.55 kB / 1.099 GB, free: 17.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009772/0.8778, allocations: 225.1 kB / 1.099 GB, free: 17.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009112/0.8787, allocations: 205.7 kB / 1.099 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009527/0.8797, allocations: 0.732 MB / 1.1 GB, free: 17.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/0.8822, allocations: 261.3 kB / 1.1 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/0.8824, allocations: 44.48 kB / 1.1 GB, free: 17.02 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.001028/0.8834, allocations: 354.8 kB / 1.1 GB, free: 16.89 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005118/0.8839, allocations: 156.2 kB / 1.1 GB, free: 16.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/0.8872, allocations: 1.217 MB / 1.102 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/0.8872, allocations: 9.203 kB / 1.102 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.8872, allocations: 0 / 1.102 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.8873, allocations: 8.016 kB / 1.102 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006421/0.8937, allocations: 2.659 MB / 1.104 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.8937, allocations: 1.688 kB / 1.104 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.8942, allocations: 93.16 kB / 1.104 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008334/0.895, allocations: 232.7 kB / 1.105 GB, free: 16.22 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/0.8951, allocations: 16.5 kB / 1.105 GB, free: 16.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.8963, allocations: 0.8046 MB / 1.105 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.8963, allocations: 2.281 kB / 1.105 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/0.8999, allocations: 1.317 MB / 1.107 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009517/0.9009, allocations: 381.6 kB / 1.107 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005149/0.9014, allocations: 14.16 kB / 1.107 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.9027, allocations: 110.1 kB / 1.107 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/0.9028, allocations: 44.81 kB / 1.107 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.275e-05/0.9029, allocations: 26.34 kB / 1.107 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002041/0.9049, allocations: 1.073 MB / 1.108 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9049, allocations: 0 / 1.108 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001664/0.9066, allocations: 435.3 kB / 1.109 GB, free: 15.01 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.004586/0.9112, allocations: 2.216 MB / 1.111 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002302/0.9135, allocations: 0.8947 MB / 1.112 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.9135, allocations: 384 / 1.112 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.9148, allocations: 0.4914 MB / 1.112 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004343/0.9192, allocations: 0.7209 MB / 1.113 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03686/0.9561, allocations: 9.064 MB / 1.122 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.9574, allocations: 1.173 MB / 1.123 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002062/0.9595, allocations: 272.6 kB / 1.123 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.9606, allocations: 0.5521 MB / 1.124 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/0.9606, allocations: 0 / 1.124 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0775/1.038, allocations: 43.63 MB / 1.166 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/1.038, allocations: 270.9 kB / 1.167 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.382/4.421, allocations: 0 / 1.167 GB, free: 11.08 MB / 0.7136 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)