Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.481/1.481, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.001065/0.001065, allocations: 183 kB / 372.3 MB, free: 10.11 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.115/1.115, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0006573/0.0006574, allocations: 94.3 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003119, allocations: 11.66 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4093/0.5549, allocations: 122.2 MB / 1.1 GB, free: 32.41 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02056/0.5755, allocations: 21.6 MB / 1.121 GB, free: 26.66 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003129/0.5787, allocations: 107.5 kB / 1.121 GB, free: 26.61 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003564/0.5823, allocations: 0.9997 MB / 1.122 GB, free: 26.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.009753/0.592, allocations: 3.383 MB / 1.125 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003701/0.5957, allocations: 1.553 MB / 1.127 GB, free: 24.09 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006059/0.6018, allocations: 7.241 MB / 1.134 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.6042, allocations: 1.882 MB / 1.135 GB, free: 20.15 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003761/0.6079, allocations: 2.258 MB / 1.138 GB, free: 19.06 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.6104, allocations: 1.68 MB / 1.139 GB, free: 18.09 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.6107, allocations: 90.72 kB / 1.139 GB, free: 18.09 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003631/0.6143, allocations: 1.624 MB / 1.141 GB, free: 17.22 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003498/0.6147, allocations: 415.4 kB / 1.141 GB, free: 16.91 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.616, allocations: 1.242 MB / 1.143 GB, free: 16.12 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003852/0.6198, allocations: 3.268 MB / 1.146 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6198, allocations: 1.312 kB / 1.146 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6198, allocations: 0 / 1.146 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.978e-05/0.6199, allocations: 0 / 1.146 GB, free: 13.92 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.006335/0.6263, allocations: 2.693 MB / 1.148 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.6263, allocations: 9.094 kB / 1.148 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003149/0.6266, allocations: 224.7 kB / 1.149 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004339/0.631, allocations: 0.9531 MB / 1.15 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003181/0.6342, allocations: 2.267 MB / 1.152 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008483/0.635, allocations: 324.2 kB / 1.152 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.6352, allocations: 162.7 kB / 1.152 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/0.6386, allocations: 1.966 MB / 1.154 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.6386, allocations: 1.438 kB / 1.154 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.6387, allocations: 66.28 kB / 1.154 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/0.6388, allocations: 41.5 kB / 1.154 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00404/0.6428, allocations: 1.899 MB / 1.156 GB, free: 7.238 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.008771/0.6516, allocations: 9.118 MB / 1.165 GB, free: 15.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003776/0.6554, allocations: 1.289 MB / 1.166 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009687/0.6564, allocations: 484.8 kB / 1.167 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009993/0.6574, allocations: 1.721 MB / 1.168 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.6574, allocations: 45.48 kB / 1.168 GB, free: 12.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.304e-06/0.6574, allocations: 7.312 kB / 1.168 GB, free: 12.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.007417/0.6649, allocations: 2.512 MB / 1.171 GB, free: 11.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.6649, allocations: 84.8 kB / 1.171 GB, free: 11.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/0.668, allocations: 2.516 MB / 1.173 GB, free: 9.754 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-05/0.6681, allocations: 48.33 kB / 1.174 GB, free: 9.707 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007816/0.6689, allocations: 1.058 MB / 1.175 GB, free: 8.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.6691, allocations: 265.2 kB / 1.175 GB, free: 8.539 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.6691, allocations: 20.06 kB / 1.175 GB, free: 8.523 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6693, allocations: 352.1 kB / 1.175 GB, free: 8.184 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.6709, allocations: 0.625 MB / 1.176 GB, free: 7.875 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.6728, allocations: 1.013 MB / 1.177 GB, free: 6.711 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002786/0.6756, allocations: 1.322 MB / 1.178 GB, free: 5.285 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.6756, allocations: 0 / 1.178 GB, free: 5.285 MB / 0.698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004446/0.68, allocations: 1.967 MB / 1.18 GB, free: 3.301 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.6801, allocations: 12.06 kB / 1.18 GB, free: 3.289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.6801, allocations: 12 kB / 1.18 GB, free: 3.277 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.6817, allocations: 0.494 MB / 1.18 GB, free: 2.777 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.6828, allocations: 311.5 kB / 1.181 GB, free: 2.473 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.6848, allocations: 1.554 MB / 1.182 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/0.6874, allocations: 482.8 kB / 1.183 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.6875, allocations: 63.91 kB / 1.183 GB, free: 340 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006301/0.6882, allocations: 463.7 kB / 1.183 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/0.6885, allocations: 245 kB / 1.183 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/0.6917, allocations: 1.548 MB / 1.185 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.6917, allocations: 11.94 kB / 1.185 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6918, allocations: 4 kB / 1.185 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.6918, allocations: 7.969 kB / 1.185 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006849/0.6986, allocations: 3.704 MB / 1.189 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.6987, allocations: 7.938 kB / 1.189 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009201/0.6996, allocations: 136.2 kB / 1.189 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002367/0.702, allocations: 0.5059 MB / 1.189 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.833e-05/0.7021, allocations: 23.98 kB / 1.189 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003748/0.7058, allocations: 1.644 MB / 1.191 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.7059, allocations: 7.938 kB / 1.191 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008558/0.7144, allocations: 2.076 MB / 1.193 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.7156, allocations: 0.5092 MB / 1.193 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004422/0.7161, allocations: 24 kB / 1.193 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002717/0.7188, allocations: 195.7 kB / 1.194 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.719, allocations: 63.8 kB / 1.194 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.7191, allocations: 39.97 kB / 1.194 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004271/0.7234, allocations: 1.769 MB / 1.195 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7234, allocations: 0 / 1.195 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001953/0.7254, allocations: 0.6789 MB / 1.196 GB, free: 2.418 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006532/0.7319, allocations: 3.132 MB / 1.199 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003609/0.7355, allocations: 1.428 MB / 1.201 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7355, allocations: 0 / 1.201 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002149/0.7377, allocations: 0.7252 MB / 1.201 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006173/0.7439, allocations: 1.327 MB / 1.203 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02832/0.7722, allocations: 15.09 MB / 1.217 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000954/0.7732, allocations: 1.49 MB / 1.219 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001629/0.7748, allocations: 439.2 kB / 1.219 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/0.7759, allocations: 0.9171 MB / 1.22 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of SimCode: time 3.6e-07/0.7759, allocations: 0 / 1.22 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9617/1.738, allocations: 73.8 MB / 1.292 GB, free: 15.24 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/1.738, allocations: 263.5 kB / 1.292 GB, free: 14.88 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.494/6.232, allocations: 7.938 kB / 1.292 GB, free: 14.88 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)