Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_9_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.001095/0.001095, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001122/0.001122, allocations: 190.5 kB / 16.25 MB, free: 6.633 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001362, allocations: 67.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/0.5361, allocations: 140.3 MB / 0.9492 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1123/0.6485, allocations: 131 MB / 1.077 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02972/0.6782, allocations: 23.06 MB / 1.1 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004454/0.6827, allocations: 115.2 kB / 1.1 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003893/0.6866, allocations: 1.279 MB / 1.101 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.6972, allocations: 3.816 MB / 1.105 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004941/0.7022, allocations: 1.992 MB / 1.107 GB, free: 256 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008379/0.7105, allocations: 6.576 MB / 1.113 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003265/0.7138, allocations: 2.353 MB / 1.115 GB, free: 7.238 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006319/0.7202, allocations: 2.756 MB / 1.118 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003138/0.7233, allocations: 1.941 MB / 1.12 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000424/0.7238, allocations: 248 kB / 1.12 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004381/0.7281, allocations: 1.957 MB / 1.122 GB, free: 336 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005359/0.7287, allocations: 0.6109 MB / 1.123 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001691/0.7304, allocations: 1.458 MB / 1.124 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005579/0.736, allocations: 4.327 MB / 1.128 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.736, allocations: 0 / 1.128 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.322e-06/0.736, allocations: 3.938 kB / 1.128 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.943e-05/0.7361, allocations: 0 / 1.128 GB, free: 9.906 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.005228/0.7413, allocations: 3.176 MB / 1.132 GB, free: 6.645 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.7413, allocations: 12.03 kB / 1.132 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002529/0.7416, allocations: 215.8 kB / 1.132 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004282/0.7459, allocations: 0.8357 MB / 1.133 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003974/0.7499, allocations: 2.287 MB / 1.135 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008841/0.7508, allocations: 290.8 kB / 1.135 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/0.751, allocations: 164 kB / 1.135 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003962/0.755, allocations: 1.938 MB / 1.137 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.755, allocations: 3.938 kB / 1.137 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.7552, allocations: 68 kB / 1.137 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.7552, allocations: 40 kB / 1.137 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004667/0.7599, allocations: 1.807 MB / 1.139 GB, free: 14.84 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.01198/0.7719, allocations: 9.031 MB / 1.148 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00417/0.7761, allocations: 1.183 MB / 1.149 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.7771, allocations: 457.4 kB / 1.149 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.7783, allocations: 1.726 MB / 1.151 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.7784, allocations: 42.56 kB / 1.151 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 2.414e-06/0.7784, allocations: 0 / 1.151 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.008359/0.7867, allocations: 2.332 MB / 1.153 GB, free: 15 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.7868, allocations: 89.09 kB / 1.154 GB, free: 14.9 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003749/0.7906, allocations: 2.493 MB / 1.156 GB, free: 12.39 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.7907, allocations: 41.7 kB / 1.156 GB, free: 12.34 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008747/0.7916, allocations: 1.045 MB / 1.157 GB, free: 11.29 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.7918, allocations: 268.2 kB / 1.157 GB, free: 11.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004127/0.7923, allocations: 250.6 kB / 1.158 GB, free: 10.77 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.7924, allocations: 349.9 kB / 1.158 GB, free: 10.42 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.7941, allocations: 0.5881 MB / 1.158 GB, free: 9.832 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/0.796, allocations: 0.9699 MB / 1.159 GB, free: 8.711 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/0.7989, allocations: 1.26 MB / 1.161 GB, free: 7.348 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7989, allocations: 0 / 1.161 GB, free: 7.348 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006316/0.8052, allocations: 2.051 MB / 1.163 GB, free: 5.281 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.8052, allocations: 8 kB / 1.163 GB, free: 5.273 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.8053, allocations: 8 kB / 1.163 GB, free: 5.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/0.8069, allocations: 417.9 kB / 1.163 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.8081, allocations: 295.5 kB / 1.163 GB, free: 4.562 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.8102, allocations: 1.499 MB / 1.165 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/0.8131, allocations: 437.9 kB / 1.165 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.8132, allocations: 64 kB / 1.165 GB, free: 2.523 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 (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.0008923/0.8141, allocations: 469.4 kB / 1.166 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000566/0.8147, allocations: 245 kB / 1.166 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/0.8183, allocations: 1.494 MB / 1.167 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.8184, allocations: 19.92 kB / 1.167 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.8184, allocations: 0 / 1.167 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.8184, allocations: 7.922 kB / 1.167 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007535/0.8259, allocations: 3.592 MB / 1.171 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.826, allocations: 4 kB / 1.171 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006039/0.8266, allocations: 128.2 kB / 1.171 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.828, allocations: 417.1 kB / 1.171 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/0.8281, allocations: 27.98 kB / 1.171 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/0.8305, allocations: 1.569 MB / 1.173 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.8305, allocations: 4 kB / 1.173 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005664/0.8362, allocations: 1.935 MB / 1.175 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009517/0.8372, allocations: 489.5 kB / 1.175 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004841/0.8377, allocations: 16 kB / 1.175 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/0.8396, allocations: 175.7 kB / 1.176 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.8397, allocations: 59.8 kB / 1.176 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.391e-05/0.8398, allocations: 44.06 kB / 1.176 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003154/0.843, allocations: 1.753 MB / 1.177 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/0.843, allocations: 0 / 1.177 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002005/0.845, allocations: 0.6788 MB / 1.178 GB, free: 5.141 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 (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.007247/0.8523, allocations: 2.98 MB / 1.181 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004222/0.8565, allocations: 1.404 MB / 1.182 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.8565, allocations: 4 kB / 1.182 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002218/0.8587, allocations: 0.6601 MB / 1.183 GB, free: 28 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00595/0.8647, allocations: 1.33 MB / 1.184 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04274/0.9075, allocations: 19.64 MB / 1.203 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.9087, allocations: 1.494 MB / 1.205 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002079/0.9108, allocations: 432.5 kB / 1.205 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/0.9121, allocations: 0.9015 MB / 1.206 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.9121, allocations: 0 / 1.206 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.074/2.986, allocations: 67.35 MB / 1.272 GB, free: 289.8 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/2.986, allocations: 276.5 kB / 1.272 GB, free: 289.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.482/7.468, allocations: 0 / 1.272 GB, free: 289.4 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)