Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_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.001557/0.001556, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002582/0.002582, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.674/2.674, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.678/4.678, allocations: 409.2 MB / 0.6838 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007192/0.0007193, allocations: 12 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493/1.493, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.2408/1.734, allocations: 110.7 MB / 1.089 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.06384/1.798, allocations: 19.96 MB / 1.108 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007629/1.806, allocations: 99.31 kB / 1.109 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009564/1.816, allocations: 1.368 MB / 1.11 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.02726/1.843, allocations: 4.194 MB / 1.114 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.01625/1.859, allocations: 2.568 MB / 1.116 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01652/1.876, allocations: 3.912 MB / 1.12 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007691/1.884, allocations: 1.725 MB / 1.122 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01071/1.894, allocations: 2.012 MB / 1.124 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005301/1.9, allocations: 1.26 MB / 1.125 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001304/1.901, allocations: 92 kB / 1.125 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01053/1.912, allocations: 1.33 MB / 1.127 GB, free: 0.7617 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001964/1.914, allocations: 410.1 kB / 1.127 GB, free: 368 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002938/1.917, allocations: 0.559 MB / 1.127 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01159/1.928, allocations: 3.102 MB / 1.131 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.928, allocations: 4 kB / 1.131 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.698e-06/1.928, allocations: 0 / 1.131 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002284/1.929, allocations: 0 / 1.131 GB, free: 12.68 MB / 0.8887 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.01423/1.943, allocations: 2.706 MB / 1.133 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001212/1.943, allocations: 8.562 kB / 1.133 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001797/1.945, allocations: 227.7 kB / 1.133 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/1.955, allocations: 0.9528 MB / 1.134 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009979/1.965, allocations: 2.075 MB / 1.136 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002027/1.967, allocations: 326.9 kB / 1.137 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009003/1.968, allocations: 160 kB / 1.137 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/1.979, allocations: 1.969 MB / 1.139 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/1.979, allocations: 4 kB / 1.139 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006933/1.98, allocations: 64 kB / 1.139 GB, free: 3.965 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-05/1.98, allocations: 39.95 kB / 1.139 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/1.991, allocations: 1.901 MB / 1.141 GB, free: 2.023 MB / 0.8887 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.02872/2.02, allocations: 9.184 MB / 1.15 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008537/2.028, allocations: 1.33 MB / 1.151 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002308/2.03, allocations: 1.726 MB / 1.153 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.278e-05/2.031, allocations: 38.56 kB / 1.153 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 4.869e-06/2.031, allocations: 0 / 1.153 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.01735/2.048, allocations: 2.49 MB / 1.155 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/2.048, allocations: 93.11 kB / 1.155 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008617/2.057, allocations: 2.563 MB / 1.158 GB, free: 15.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000389/2.057, allocations: 45.64 kB / 1.158 GB, free: 15.45 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00174/2.059, allocations: 1.061 MB / 1.159 GB, free: 14.38 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006463/2.06, allocations: 268.2 kB / 1.159 GB, free: 14.11 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/2.06, allocations: 20 kB / 1.159 GB, free: 14.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002699/2.06, allocations: 349.9 kB / 1.159 GB, free: 13.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003558/2.064, allocations: 0.6232 MB / 1.16 GB, free: 13.12 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004219/2.068, allocations: 1.003 MB / 1.161 GB, free: 11.97 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003789/2.072, allocations: 0.6819 MB / 1.162 GB, free: 11.29 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/2.072, allocations: 4 kB / 1.162 GB, free: 11.29 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.01061/2.082, allocations: 1.966 MB / 1.164 GB, free: 9.305 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/2.082, allocations: 8 kB / 1.164 GB, free: 9.297 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/2.083, allocations: 8 kB / 1.164 GB, free: 9.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003505/2.086, allocations: 0.4939 MB / 1.164 GB, free: 8.789 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002564/2.089, allocations: 315.5 kB / 1.164 GB, free: 8.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004375/2.093, allocations: 1.556 MB / 1.166 GB, free: 6.875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007222/2.1, allocations: 481.9 kB / 1.166 GB, free: 6.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005543/2.101, allocations: 67.91 kB / 1.166 GB, free: 6.336 MB / 0.92 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.00239/2.103, allocations: 453.5 kB / 1.167 GB, free: 5.883 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/2.105, allocations: 252.9 kB / 1.167 GB, free: 5.633 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007678/2.113, allocations: 1.555 MB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.297e-05/2.113, allocations: 11.98 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/2.113, allocations: 4 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/2.113, allocations: 3.984 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/2.129, allocations: 3.744 MB / 1.172 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-05/2.13, allocations: 4 kB / 1.172 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/2.131, allocations: 131.8 kB / 1.172 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003262/2.134, allocations: 0.506 MB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/2.134, allocations: 27.94 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005094/2.139, allocations: 1.637 MB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-05/2.139, allocations: 7.938 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/2.152, allocations: 2.345 MB / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003381/2.155, allocations: 0.5249 MB / 1.177 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001627/2.157, allocations: 20 kB / 1.177 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00519/2.162, allocations: 203.6 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/2.163, allocations: 59.86 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003619/2.163, allocations: 36.16 kB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00805/2.171, allocations: 1.816 MB / 1.179 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.61e-07/2.171, allocations: 3.938 kB / 1.179 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.005313/2.176, allocations: 0.6983 MB / 1.18 GB, free: 7.902 MB / 0.9356 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.0158/2.192, allocations: 4.181 MB / 1.184 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.008622/2.201, allocations: 1.428 MB / 1.186 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/2.201, allocations: 4 kB / 1.186 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.004793/2.206, allocations: 0.7214 MB / 1.186 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01335/2.219, allocations: 1.247 MB / 1.188 GB, free: 232 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02643/2.246, allocations: 10.88 MB / 1.198 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002038/2.248, allocations: 1.533 MB / 1.2 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004884/2.253, allocations: 450.9 kB / 1.2 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00287/2.256, allocations: 0.9054 MB / 1.201 GB, free: 2 MB / 0.9512 GB Notification: Performance of SimCode: time 2.896e-06/2.256, allocations: 0 / 1.201 GB, free: 2 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.461/3.716, allocations: 68.11 MB / 1.267 GB, free: 254.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003472/3.717, allocations: 263.7 kB / 1.268 GB, free: 254.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.42/11.14, allocations: 7.938 kB / 1.268 GB, free: 254.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat does not exist to compare? outputFormat=mat