Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",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.001307/0.001307, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.219/1.219, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.572/2.572, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.89 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7841/0.7855, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1412/0.9268, allocations: 132.2 MB / 1.147 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03495/0.9618, allocations: 23.21 MB / 1.169 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005918/0.9677, allocations: 127.2 kB / 1.169 GB, free: 6.406 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004184/0.972, allocations: 1.49 MB / 1.171 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.983, allocations: 4.094 MB / 1.175 GB, free: 0.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005315/0.9883, allocations: 2.149 MB / 1.177 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01007/0.9984, allocations: 6.521 MB / 1.183 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005449/1.004, allocations: 2.349 MB / 1.186 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008445/1.012, allocations: 2.745 MB / 1.188 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004741/1.017, allocations: 1.874 MB / 1.19 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001227/1.018, allocations: 248 kB / 1.19 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006221/1.025, allocations: 1.938 MB / 1.192 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001128/1.026, allocations: 0.5837 MB / 1.193 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003388/1.029, allocations: 1.458 MB / 1.194 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/1.04, allocations: 4.304 MB / 1.198 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.04, allocations: 4 kB / 1.198 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.653e-06/1.04, allocations: 0 / 1.198 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001483/1.041, allocations: 0 / 1.198 GB, free: 8.535 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.007426/1.048, allocations: 3.168 MB / 1.201 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.048, allocations: 8.031 kB / 1.201 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002636/1.048, allocations: 220 kB / 1.202 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004455/1.053, allocations: 0.8475 MB / 1.203 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004651/1.057, allocations: 2.194 MB / 1.205 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009468/1.058, allocations: 294.8 kB / 1.205 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/1.059, allocations: 160 kB / 1.205 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003974/1.063, allocations: 1.938 MB / 1.207 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/1.063, allocations: 0 / 1.207 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/1.063, allocations: 71.94 kB / 1.207 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.21e-05/1.063, allocations: 36 kB / 1.207 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004702/1.068, allocations: 1.815 MB / 1.209 GB, free: 13.55 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.01405/1.082, allocations: 9.066 MB / 1.218 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0043/1.086, allocations: 1.187 MB / 1.219 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/1.087, allocations: 457.4 kB / 1.219 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/1.088, allocations: 1.723 MB / 1.221 GB, free: 124 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/1.088, allocations: 50.48 kB / 1.221 GB, free: 64 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 2.745e-06/1.088, allocations: 0 / 1.221 GB, free: 64 kB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.008732/1.097, allocations: 2.321 MB / 1.223 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/1.097, allocations: 85.11 kB / 1.223 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004904/1.102, allocations: 2.516 MB / 1.226 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001522/1.102, allocations: 45.7 kB / 1.226 GB, free: 11 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009416/1.103, allocations: 1.037 MB / 1.227 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/1.104, allocations: 276.2 kB / 1.227 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004993/1.104, allocations: 254.6 kB / 1.227 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.104, allocations: 345.9 kB / 1.228 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/1.106, allocations: 0.5881 MB / 1.228 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/1.108, allocations: 0.966 MB / 1.229 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00303/1.111, allocations: 1.271 MB / 1.231 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/1.111, allocations: 4 kB / 1.231 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00678/1.118, allocations: 2.047 MB / 1.233 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/1.118, allocations: 12 kB / 1.233 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/1.118, allocations: 11.98 kB / 1.233 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/1.12, allocations: 417.8 kB / 1.233 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/1.121, allocations: 287.6 kB / 1.233 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/1.124, allocations: 1.505 MB / 1.235 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/1.127, allocations: 386.7 kB / 1.235 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/1.127, allocations: 55.97 kB / 1.235 GB, free: 1.219 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009332/1.128, allocations: 465.5 kB / 1.236 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006314/1.128, allocations: 252.8 kB / 1.236 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003851/1.132, allocations: 1.498 MB / 1.237 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/1.132, allocations: 8 kB / 1.237 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.132, allocations: 4 kB / 1.237 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.132, allocations: 3.984 kB / 1.237 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007962/1.14, allocations: 3.591 MB / 1.241 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.14, allocations: 7.938 kB / 1.241 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/1.141, allocations: 136.1 kB / 1.241 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/1.142, allocations: 413.2 kB / 1.241 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.797e-05/1.142, allocations: 23.98 kB / 1.241 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/1.145, allocations: 1.579 MB / 1.243 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.145, allocations: 4 kB / 1.243 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005599/1.151, allocations: 1.935 MB / 1.245 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008547/1.151, allocations: 485.6 kB / 1.245 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000435/1.152, allocations: 20 kB / 1.245 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/1.154, allocations: 147.8 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/1.154, allocations: 63.73 kB / 1.245 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-05/1.154, allocations: 39.97 kB / 1.245 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002774/1.156, allocations: 1.765 MB / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.156, allocations: 0 / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001665/1.158, allocations: 0.6905 MB / 1.248 GB, free: 3.844 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006954/1.165, allocations: 2.994 MB / 1.251 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5712/1.736, allocations: 1.394 MB / 1.252 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.736, allocations: 0.625 kB / 1.252 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002827/1.739, allocations: 0.6705 MB / 1.253 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007234/1.746, allocations: 1.335 MB / 1.254 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03971/1.786, allocations: 19.19 MB / 1.273 GB, free: 217 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/1.788, allocations: 1.488 MB / 1.274 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003499/1.791, allocations: 435 kB / 1.275 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002134/1.793, allocations: 0.9037 MB / 1.276 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of SimCode: time 2.114e-06/1.793, allocations: 0 / 1.276 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4368/2.23, allocations: 68.14 MB / 1.342 GB, free: 157 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/15, allocations: 7.719 kB / 1.342 GB, free: 157 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)