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.0008253/0.0008253, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.000785/0.0007851, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.565/2.565, allocations: 409.4 MB / 0.684 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003231, allocations: 12 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7593/0.7597, allocations: 146.8 MB / 0.9811 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1182/0.878, allocations: 122.2 MB / 1.101 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03476/0.9128, allocations: 21.78 MB / 1.122 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005659/0.9185, allocations: 111.2 kB / 1.122 GB, free: 5.922 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004456/0.923, allocations: 0.9973 MB / 1.123 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.9343, allocations: 3.167 MB / 1.126 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005439/0.9397, allocations: 1.513 MB / 1.127 GB, free: 248 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01221/0.952, allocations: 7.197 MB / 1.134 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00372/0.9557, allocations: 1.667 MB / 1.136 GB, free: 7.316 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006216/0.962, allocations: 2.162 MB / 1.138 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004186/0.9662, allocations: 1.68 MB / 1.14 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000979/0.9672, allocations: 95.94 kB / 1.14 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005483/0.9727, allocations: 1.216 MB / 1.141 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.9738, allocations: 421.7 kB / 1.142 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.9758, allocations: 0.5511 MB / 1.142 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005877/0.9817, allocations: 3.148 MB / 1.145 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.9817, allocations: 0 / 1.145 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9817, allocations: 0 / 1.145 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.000153/0.9819, allocations: 0 / 1.145 GB, free: 14.02 MB / 0.9044 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.006709/0.9886, allocations: 2.701 MB / 1.148 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.9887, allocations: 12.56 kB / 1.148 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005822/0.9893, allocations: 219.8 kB / 1.148 GB, free: 11 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004466/0.9938, allocations: 0.9606 MB / 1.149 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00563/0.9994, allocations: 2.184 MB / 1.151 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009209/1, allocations: 326.8 kB / 1.151 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005523/1.001, allocations: 160 kB / 1.152 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005346/1.006, allocations: 1.966 MB / 1.153 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/1.006, allocations: 11.94 kB / 1.153 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/1.007, allocations: 60 kB / 1.154 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/1.007, allocations: 39.95 kB / 1.154 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005182/1.012, allocations: 1.909 MB / 1.155 GB, free: 3.246 MB / 0.9044 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.01896/1.031, allocations: 9.094 MB / 1.164 GB, free: 9.551 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004257/1.035, allocations: 1.301 MB / 1.166 GB, free: 8.234 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/1.036, allocations: 478 kB / 1.166 GB, free: 7.762 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/1.038, allocations: 1.73 MB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/1.038, allocations: 42.56 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.835e-06/1.038, allocations: 0 / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.008405/1.046, allocations: 2.505 MB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/1.046, allocations: 81.11 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00509/1.051, allocations: 2.516 MB / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002009/1.052, allocations: 41.7 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/1.053, allocations: 1.053 MB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003771/1.053, allocations: 268.2 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/1.053, allocations: 20 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.053, allocations: 353.9 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/1.055, allocations: 0.6232 MB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/1.057, allocations: 1.01 MB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/1.059, allocations: 0.678 MB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/1.059, allocations: 4 kB / 1.177 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005259/1.064, allocations: 1.97 MB / 1.179 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/1.064, allocations: 8 kB / 1.179 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/1.065, allocations: 8 kB / 1.179 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/1.066, allocations: 0.4978 MB / 1.179 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.068, allocations: 307.6 kB / 1.179 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/1.07, allocations: 1.557 MB / 1.181 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003225/1.073, allocations: 489.8 kB / 1.181 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002316/1.073, allocations: 59.97 kB / 1.181 GB, free: 7.238 MB / 0.9356 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.001186/1.075, allocations: 457.5 kB / 1.182 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007464/1.075, allocations: 245 kB / 1.182 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00398/1.079, allocations: 1.547 MB / 1.184 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/1.079, allocations: 15.98 kB / 1.184 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.079, allocations: 8 kB / 1.184 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/1.079, allocations: 3.984 kB / 1.184 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009018/1.089, allocations: 3.693 MB / 1.187 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/1.089, allocations: 3.984 kB / 1.187 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006349/1.089, allocations: 135.8 kB / 1.187 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/1.091, allocations: 0.5019 MB / 1.188 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.26e-05/1.091, allocations: 31.91 kB / 1.188 GB, free: 476 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002613/1.094, allocations: 1.645 MB / 1.19 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.094, allocations: 7.984 kB / 1.19 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006002/1.1, allocations: 2.08 MB / 1.192 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001646/1.101, allocations: 0.5169 MB / 1.192 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007782/1.102, allocations: 16 kB / 1.192 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/1.105, allocations: 195.8 kB / 1.192 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/1.105, allocations: 51.89 kB / 1.192 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/1.105, allocations: 43.95 kB / 1.192 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004155/1.109, allocations: 1.766 MB / 1.194 GB, free: 10 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.284e-06/1.109, allocations: 4 kB / 1.194 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003168/1.112, allocations: 0.6788 MB / 1.195 GB, free: 9.316 MB / 0.9512 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.0077/1.12, allocations: 3.111 MB / 1.198 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004329/1.124, allocations: 1.432 MB / 1.199 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/1.124, allocations: 0 / 1.199 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002363/1.127, allocations: 0.7253 MB / 1.2 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007183/1.134, allocations: 1.283 MB / 1.201 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03969/1.174, allocations: 15.06 MB / 1.216 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/1.175, allocations: 1.49 MB / 1.217 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002888/1.178, allocations: 434 kB / 1.218 GB, free: 424 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/1.18, allocations: 0.9016 MB / 1.219 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of SimCode: time 1.483e-06/1.18, allocations: 0 / 1.219 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6611/1.841, allocations: 68.66 MB / 1.286 GB, free: 237 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/1.841, allocations: 268.7 kB / 1.286 GB, free: 236.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.687/5.528, allocations: 0 / 1.286 GB, free: 236.6 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