Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 103.4 kB / 15.33 MB, free: 0.5039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 194.8 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.323/2.323, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.89 kB / 0.8688 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.4717, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1065/0.5783, allocations: 131.1 MB / 1.145 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02641/0.6048, allocations: 23.06 MB / 1.167 GB, free: 8.043 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003088/0.6079, allocations: 115.2 kB / 1.168 GB, free: 7.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00325/0.6112, allocations: 1.286 MB / 1.169 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008409/0.6196, allocations: 3.828 MB / 1.173 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004232/0.6238, allocations: 1.974 MB / 1.174 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006873/0.6307, allocations: 6.589 MB / 1.181 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002888/0.6336, allocations: 2.345 MB / 1.183 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00515/0.6388, allocations: 2.771 MB / 1.186 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.6413, allocations: 1.937 MB / 1.188 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005034/0.6418, allocations: 248 kB / 1.188 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.6452, allocations: 1.957 MB / 1.19 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006218/0.6459, allocations: 0.607 MB / 1.191 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.6476, allocations: 1.462 MB / 1.192 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004421/0.652, allocations: 4.327 MB / 1.196 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.652, allocations: 0 / 1.196 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.21e-07/0.652, allocations: 0 / 1.196 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.117e-05/0.652, allocations: 4 kB / 1.196 GB, free: 10.48 MB / 0.9512 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.00462/0.6567, allocations: 3.18 MB / 1.199 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.6567, allocations: 12.03 kB / 1.199 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002312/0.657, allocations: 231.8 kB / 1.2 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004159/0.6611, allocations: 0.84 MB / 1.2 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/0.6646, allocations: 2.257 MB / 1.203 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009356/0.6655, allocations: 294.8 kB / 1.203 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.6657, allocations: 159.9 kB / 1.203 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003591/0.6693, allocations: 1.938 MB / 1.205 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.6694, allocations: 7.875 kB / 1.205 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.6695, allocations: 68 kB / 1.205 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.6696, allocations: 39.94 kB / 1.205 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004314/0.6739, allocations: 1.827 MB / 1.207 GB, free: 15.4 MB / 0.9669 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.01052/0.6844, allocations: 9.02 MB / 1.216 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004113/0.6885, allocations: 1.208 MB / 1.217 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.6896, allocations: 461.4 kB / 1.217 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009893/0.6906, allocations: 1.727 MB / 1.219 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.6906, allocations: 42.56 kB / 1.219 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 1.904e-06/0.6906, allocations: 0 / 1.219 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.007806/0.6984, allocations: 2.333 MB / 1.221 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.6985, allocations: 93.05 kB / 1.221 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/0.7017, allocations: 2.516 MB / 1.224 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.729e-05/0.7018, allocations: 45.7 kB / 1.224 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007704/0.7026, allocations: 1.045 MB / 1.225 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.7028, allocations: 276.1 kB / 1.225 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/0.7032, allocations: 254.6 kB / 1.225 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7033, allocations: 353.9 kB / 1.226 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.705, allocations: 0.5842 MB / 1.226 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/0.7069, allocations: 0.9699 MB / 1.227 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/0.7097, allocations: 1.264 MB / 1.228 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.7097, allocations: 4 kB / 1.228 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005856/0.7155, allocations: 2.052 MB / 1.23 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.7156, allocations: 12.12 kB / 1.23 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.7156, allocations: 8 kB / 1.23 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.7172, allocations: 0.4916 MB / 1.231 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.7184, allocations: 287.5 kB / 1.231 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.7204, allocations: 1.511 MB / 1.233 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/0.7229, allocations: 441.1 kB / 1.233 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.723, allocations: 55.97 kB / 1.233 GB, free: 2.926 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006302/0.7236, allocations: 463.1 kB / 1.234 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/0.724, allocations: 248.9 kB / 1.234 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003325/0.7273, allocations: 1.505 MB / 1.235 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.7274, allocations: 8 kB / 1.235 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7274, allocations: 7.984 kB / 1.235 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.7274, allocations: 3.984 kB / 1.235 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006634/0.734, allocations: 3.603 MB / 1.239 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.7341, allocations: 4 kB / 1.239 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.7346, allocations: 127.8 kB / 1.239 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/0.7362, allocations: 493 kB / 1.239 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/0.7362, allocations: 27.98 kB / 1.239 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.7386, allocations: 1.583 MB / 1.241 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.7386, allocations: 8 kB / 1.241 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005476/0.7441, allocations: 1.939 MB / 1.243 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006428/0.7447, allocations: 493.5 kB / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/0.745, allocations: 19.98 kB / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/0.7469, allocations: 171.7 kB / 1.244 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/0.747, allocations: 60 kB / 1.244 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-05/0.7471, allocations: 43.95 kB / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002488/0.7496, allocations: 1.773 MB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.7496, allocations: 0 / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001577/0.7512, allocations: 0.6828 MB / 1.246 GB, free: 5.422 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006585/0.7578, allocations: 2.98 MB / 1.249 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003798/0.7616, allocations: 1.401 MB / 1.25 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.7616, allocations: 0 / 1.25 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002197/0.7638, allocations: 0.6716 MB / 1.251 GB, free: 312 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3598/1.124, allocations: 1.33 MB / 1.252 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03981/1.163, allocations: 19.8 MB / 1.272 GB, free: 216.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009089/1.164, allocations: 1.489 MB / 1.273 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002042/1.166, allocations: 436.4 kB / 1.274 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009469/1.167, allocations: 0.9008 MB / 1.274 GB, free: 215 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.167, allocations: 0 / 1.274 GB, free: 215 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.302/2.47, allocations: 67.68 MB / 1.34 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/2.47, allocations: 284.2 kB / 1.341 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.196/6.666, allocations: 0 / 1.341 GB, free: 158.2 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)