Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.484/1.484, allocations: 287.4 MB / 302.5 MB, free: 8.266 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.0009996/0.0009995, allocations: 185.1 kB / 371.1 MB, free: 10.84 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.149/1.149, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006731/0.0006732, allocations: 99.31 kB / 0.7431 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.000315, allocations: 16.5 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1449, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04677/0.1917, allocations: 65.14 MB / 1.042 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01857/0.2103, allocations: 17.59 MB / 1.06 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.2118, allocations: 63.56 kB / 1.06 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.2133, allocations: 0.5199 MB / 1.06 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004772/0.2181, allocations: 2.088 MB / 1.062 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0027/0.2208, allocations: 1.096 MB / 1.063 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004528/0.2253, allocations: 4.42 MB / 1.068 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3146/0.5399, allocations: 1.119 MB / 1.069 GB, free: 26.35 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003202/0.5432, allocations: 1.339 MB / 1.07 GB, free: 26.35 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.5453, allocations: 1.047 MB / 1.071 GB, free: 26.35 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004018/0.5457, allocations: 58.25 kB / 1.071 GB, free: 26.35 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.5485, allocations: 0.9073 MB / 1.072 GB, free: 26.35 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004367/0.5489, allocations: 249.1 kB / 1.072 GB, free: 26.35 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008582/0.5498, allocations: 373.2 kB / 1.072 GB, free: 26.32 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003128/0.5529, allocations: 2.31 MB / 1.075 GB, free: 26.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.553, allocations: 1.938 kB / 1.075 GB, free: 26.26 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.443e-06/0.553, allocations: 0 / 1.075 GB, free: 26.26 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.866e-05/0.553, allocations: 0 / 1.075 GB, free: 26.26 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.002665/0.5557, allocations: 1.717 MB / 1.076 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.5557, allocations: 12.28 kB / 1.076 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.5559, allocations: 154.5 kB / 1.077 GB, free: 25.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.5579, allocations: 0.4968 MB / 1.077 GB, free: 25.17 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.5601, allocations: 1.521 MB / 1.079 GB, free: 24.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/0.5605, allocations: 146.6 kB / 1.079 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.5606, allocations: 103.9 kB / 1.079 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.563, allocations: 1.323 MB / 1.08 GB, free: 24.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.563, allocations: 4.469 kB / 1.08 GB, free: 24.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.883e-05/0.5631, allocations: 43.12 kB / 1.08 GB, free: 24.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.5631, allocations: 28.55 kB / 1.08 GB, free: 24.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.5657, allocations: 1.168 MB / 1.081 GB, free: 24.47 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.006441/0.5722, allocations: 6.903 MB / 1.088 GB, free: 20.83 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002888/0.5751, allocations: 0.9301 MB / 1.089 GB, free: 20.78 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005697/0.5757, allocations: 315.8 kB / 1.089 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007422/0.5764, allocations: 1.725 MB / 1.091 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.5764, allocations: 40.19 kB / 1.091 GB, free: 18.76 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 2.074e-06/0.5765, allocations: 4 kB / 1.091 GB, free: 18.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.004155/0.5806, allocations: 1.487 MB / 1.092 GB, free: 18.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.5807, allocations: 62.39 kB / 1.092 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.5826, allocations: 1.525 MB / 1.094 GB, free: 18.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.5827, allocations: 36.45 kB / 1.094 GB, free: 18.22 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.5831, allocations: 0.6625 MB / 1.095 GB, free: 18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.5832, allocations: 187.8 kB / 1.095 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.5833, allocations: 12.28 kB / 1.095 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.705e-05/0.5833, allocations: 333.3 kB / 1.095 GB, free: 17.58 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009122/0.5842, allocations: 401 kB / 1.096 GB, free: 17.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.5853, allocations: 0.6839 MB / 1.096 GB, free: 17.24 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.5869, allocations: 0.9106 MB / 1.097 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.5869, allocations: 2.25 kB / 1.097 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002504/0.5894, allocations: 1.25 MB / 1.098 GB, free: 16.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.5895, allocations: 7.906 kB / 1.098 GB, free: 16.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5895, allocations: 7.5 kB / 1.098 GB, free: 16.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007606/0.5902, allocations: 227.3 kB / 1.099 GB, free: 16.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/0.591, allocations: 206.6 kB / 1.099 GB, free: 16.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000664/0.5917, allocations: 0.7238 MB / 1.099 GB, free: 16.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.5932, allocations: 271.7 kB / 1.1 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-05/0.5933, allocations: 43.61 kB / 1.1 GB, free: 16.19 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.0004661/0.5938, allocations: 356.6 kB / 1.1 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.5939, allocations: 149.7 kB / 1.1 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.5961, allocations: 1.216 MB / 1.101 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.5962, allocations: 13.16 kB / 1.101 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5962, allocations: 10.66 kB / 1.101 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.5962, allocations: 3.656 kB / 1.101 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004433/0.6006, allocations: 2.654 MB / 1.104 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.6006, allocations: 2.75 kB / 1.104 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.601, allocations: 97.92 kB / 1.104 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006365/0.6016, allocations: 226.8 kB / 1.104 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.6017, allocations: 16.73 kB / 1.104 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.6027, allocations: 0.7983 MB / 1.105 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6027, allocations: 0 / 1.105 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/0.6056, allocations: 1.325 MB / 1.106 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004287/0.606, allocations: 375.5 kB / 1.107 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.6062, allocations: 16.38 kB / 1.107 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008579/0.6071, allocations: 108.9 kB / 1.107 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/0.6072, allocations: 46.31 kB / 1.107 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.6072, allocations: 29.3 kB / 1.107 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001369/0.6086, allocations: 1.074 MB / 1.108 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6086, allocations: 0 / 1.108 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001069/0.6097, allocations: 436.3 kB / 1.108 GB, free: 14.19 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.003468/0.6132, allocations: 2.222 MB / 1.111 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.615, allocations: 0.8879 MB / 1.111 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.615, allocations: 0.9688 kB / 1.111 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.6162, allocations: 494.8 kB / 1.112 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/0.6192, allocations: 0.7337 MB / 1.113 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/0.6432, allocations: 9.062 MB / 1.122 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/0.6439, allocations: 1.175 MB / 1.123 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001214/0.6451, allocations: 279.7 kB / 1.123 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006626/0.6458, allocations: 0.5513 MB / 1.123 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of SimCode: time 7.72e-07/0.6458, allocations: 2.906 kB / 1.123 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7441/1.39, allocations: 44.54 MB / 1.167 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/1.39, allocations: 260.1 kB / 1.167 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.823/4.214, allocations: 0 / 1.167 GB, free: 10.19 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)