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 2.576/2.576, allocations: 287.5 MB / 302.4 MB, free: 8.289 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.001416/0.001416, allocations: 172.5 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009235/0.0009234, allocations: 89.28 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004815, allocations: 11.88 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2306, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.134/0.3646, allocations: 65.12 MB / 1.042 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03533/0.4, allocations: 17.6 MB / 1.059 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/0.4029, allocations: 55.62 kB / 1.059 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.4059, allocations: 0.516 MB / 1.06 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.009317/0.4153, allocations: 2.099 MB / 1.062 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005422/0.4208, allocations: 1.102 MB / 1.063 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008211/0.429, allocations: 4.369 MB / 1.067 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002617/0.4317, allocations: 1.014 MB / 1.068 GB, free: 140 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6498/1.082, allocations: 1.336 MB / 1.069 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003778/1.085, allocations: 1.042 MB / 1.07 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006255/1.086, allocations: 58.62 kB / 1.071 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00475/1.091, allocations: 0.9081 MB / 1.071 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009711/1.092, allocations: 253.9 kB / 1.072 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/1.093, allocations: 374.7 kB / 1.072 GB, free: 26.72 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006499/1.1, allocations: 2.305 MB / 1.074 GB, free: 26.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/1.1, allocations: 1.031 kB / 1.074 GB, free: 26.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.386e-06/1.1, allocations: 0.7812 kB / 1.074 GB, free: 26.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001039/1.1, allocations: 0 / 1.074 GB, free: 26.66 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.006585/1.106, allocations: 1.731 MB / 1.076 GB, free: 25.71 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/1.106, allocations: 8.562 kB / 1.076 GB, free: 25.71 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007032/1.107, allocations: 153.7 kB / 1.076 GB, free: 25.67 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/1.112, allocations: 0.4965 MB / 1.077 GB, free: 25.58 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005412/1.117, allocations: 1.481 MB / 1.078 GB, free: 25.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007875/1.118, allocations: 147.3 kB / 1.078 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000527/1.119, allocations: 106.5 kB / 1.078 GB, free: 25.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005429/1.124, allocations: 1.309 MB / 1.08 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/1.124, allocations: 8.531 kB / 1.08 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/1.124, allocations: 42.69 kB / 1.08 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.38e-05/1.124, allocations: 27.92 kB / 1.08 GB, free: 24.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006103/1.131, allocations: 1.169 MB / 1.081 GB, free: 24.94 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.01527/1.146, allocations: 6.904 MB / 1.088 GB, free: 21.31 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006153/1.152, allocations: 0.9273 MB / 1.088 GB, free: 21.26 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/1.153, allocations: 320.3 kB / 1.089 GB, free: 21.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/1.155, allocations: 1.726 MB / 1.09 GB, free: 19.28 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/1.155, allocations: 41.56 kB / 1.09 GB, free: 19.24 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.777e-06/1.155, allocations: 0 / 1.09 GB, free: 19.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.009321/1.164, allocations: 1.492 MB / 1.092 GB, free: 18.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/1.164, allocations: 61.06 kB / 1.092 GB, free: 18.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004377/1.169, allocations: 1.525 MB / 1.093 GB, free: 18.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.00023/1.169, allocations: 39.92 kB / 1.094 GB, free: 18.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008241/1.17, allocations: 0.6597 MB / 1.094 GB, free: 18.48 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003589/1.17, allocations: 186.2 kB / 1.094 GB, free: 18.37 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-05/1.17, allocations: 14.25 kB / 1.094 GB, free: 18.37 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.75e-05/1.171, allocations: 337.8 kB / 1.095 GB, free: 18.06 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/1.173, allocations: 399.5 kB / 1.095 GB, free: 18.05 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/1.175, allocations: 0.6823 MB / 1.096 GB, free: 17.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/1.177, allocations: 457.5 kB / 1.096 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/1.177, allocations: 2.375 kB / 1.096 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005925/1.183, allocations: 1.248 MB / 1.097 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/1.183, allocations: 7.219 kB / 1.097 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/1.183, allocations: 11.59 kB / 1.097 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/1.185, allocations: 227.9 kB / 1.098 GB, free: 17.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/1.186, allocations: 206 kB / 1.098 GB, free: 17.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/1.188, allocations: 0.7206 MB / 1.099 GB, free: 17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/1.191, allocations: 269.8 kB / 1.099 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003032/1.192, allocations: 42.3 kB / 1.099 GB, free: 16.93 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.001153/1.193, allocations: 358.2 kB / 1.099 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005399/1.193, allocations: 146.2 kB / 1.099 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005785/1.199, allocations: 1.222 MB / 1.1 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.297e-05/1.199, allocations: 10.88 kB / 1.1 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/1.199, allocations: 1.812 kB / 1.101 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.485e-05/1.199, allocations: 5.438 kB / 1.101 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01491/1.214, allocations: 2.659 MB / 1.103 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/1.214, allocations: 0 / 1.103 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008416/1.215, allocations: 104.6 kB / 1.103 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/1.217, allocations: 222.1 kB / 1.103 GB, free: 16.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/1.217, allocations: 22.78 kB / 1.103 GB, free: 16.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/1.219, allocations: 0.7995 MB / 1.104 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.219, allocations: 0 / 1.104 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006456/1.225, allocations: 1.319 MB / 1.106 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/1.227, allocations: 383.5 kB / 1.106 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006812/1.228, allocations: 9.625 kB / 1.106 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002361/1.23, allocations: 107 kB / 1.106 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/1.23, allocations: 43.97 kB / 1.106 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.231, allocations: 29.17 kB / 1.106 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003716/1.234, allocations: 1.075 MB / 1.107 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.02e-07/1.234, allocations: 0 / 1.107 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002656/1.237, allocations: 434.2 kB / 1.108 GB, free: 14.91 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.008254/1.245, allocations: 2.213 MB / 1.11 GB, free: 14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00429/1.25, allocations: 0.889 MB / 1.111 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.25, allocations: 1.156 kB / 1.111 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002636/1.252, allocations: 498.6 kB / 1.111 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007022/1.259, allocations: 0.7269 MB / 1.112 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05028/1.31, allocations: 9.058 MB / 1.121 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009562/1.311, allocations: 1.176 MB / 1.122 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003892/1.315, allocations: 273.1 kB / 1.122 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/1.316, allocations: 0.5511 MB / 1.123 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of SimCode: time 1.693e-06/1.316, allocations: 0 / 1.123 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1484/1.465, allocations: 43.61 MB / 1.165 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003771/1.465, allocations: 256.2 kB / 1.165 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.471/5.937, allocations: 0 / 1.165 GB, free: 12.11 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)