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.00101/0.00101, 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.0009687/0.0009686, allocations: 193.1 kB / 16.25 MB, free: 6.637 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.218/1.218, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.273/2.273, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 68.03 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5358/0.5372, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.107/0.6443, allocations: 131.1 MB / 1.145 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02652/0.6708, allocations: 23.05 MB / 1.167 GB, free: 8.203 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003229/0.6741, allocations: 115.2 kB / 1.168 GB, free: 8.09 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003003/0.6771, allocations: 1.29 MB / 1.169 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008983/0.6861, allocations: 3.807 MB / 1.173 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004409/0.6905, allocations: 1.975 MB / 1.174 GB, free: 1.016 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007434/0.698, allocations: 6.581 MB / 1.181 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003266/0.7013, allocations: 2.345 MB / 1.183 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005877/0.7072, allocations: 2.764 MB / 1.186 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002976/0.7101, allocations: 1.933 MB / 1.188 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006107/0.7108, allocations: 244 kB / 1.188 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003848/0.7146, allocations: 1.953 MB / 1.19 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008165/0.7154, allocations: 0.607 MB / 1.19 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002253/0.7177, allocations: 1.458 MB / 1.192 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005639/0.7234, allocations: 4.327 MB / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7234, allocations: 0 / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7234, allocations: 0 / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.545e-05/0.7235, allocations: 4 kB / 1.196 GB, free: 10.69 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.005602/0.7291, allocations: 3.16 MB / 1.199 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.7291, allocations: 8.031 kB / 1.199 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/0.7294, allocations: 223.9 kB / 1.199 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/0.7335, allocations: 0.8475 MB / 1.2 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003595/0.7371, allocations: 2.256 MB / 1.202 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008793/0.738, allocations: 294.8 kB / 1.203 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.7382, allocations: 163.9 kB / 1.203 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003532/0.7417, allocations: 1.93 MB / 1.205 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.7418, allocations: 7.938 kB / 1.205 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.7419, allocations: 63.94 kB / 1.205 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.742, allocations: 40 kB / 1.205 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004234/0.7462, allocations: 1.815 MB / 1.207 GB, free: 15.65 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.01043/0.7566, allocations: 8.996 MB / 1.215 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003932/0.7606, allocations: 1.197 MB / 1.217 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009812/0.7616, allocations: 462.2 kB / 1.217 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.7626, allocations: 1.722 MB / 1.219 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.7626, allocations: 38.56 kB / 1.219 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 2.044e-06/0.7626, allocations: 0 / 1.219 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.007631/0.7703, allocations: 2.333 MB / 1.221 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.7703, allocations: 85.11 kB / 1.221 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.7734, allocations: 2.492 MB / 1.224 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.841e-05/0.7735, allocations: 45.7 kB / 1.224 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007558/0.7743, allocations: 1.041 MB / 1.225 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.7745, allocations: 268.2 kB / 1.225 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003791/0.7749, allocations: 258.6 kB / 1.225 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.775, allocations: 349.9 kB / 1.225 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.7766, allocations: 0.5842 MB / 1.226 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/0.7785, allocations: 0.9699 MB / 1.227 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002669/0.7811, allocations: 1.267 MB / 1.228 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.7812, allocations: 8 kB / 1.228 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005614/0.7868, allocations: 2.044 MB / 1.23 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.7868, allocations: 9.562 kB / 1.23 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.7868, allocations: 8 kB / 1.23 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.7882, allocations: 427.7 kB / 1.231 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.7894, allocations: 295.5 kB / 1.231 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.7913, allocations: 1.507 MB / 1.232 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.7938, allocations: 426 kB / 1.233 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.7939, allocations: 67.97 kB / 1.233 GB, free: 3.332 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.0006046/0.7945, allocations: 458.3 kB / 1.233 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/0.7948, allocations: 252.9 kB / 1.234 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/0.798, allocations: 1.494 MB / 1.235 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.7981, allocations: 16 kB / 1.235 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7981, allocations: 0 / 1.235 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.7981, allocations: 3.984 kB / 1.235 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006391/0.8045, allocations: 3.583 MB / 1.239 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.8045, allocations: 4 kB / 1.239 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/0.8051, allocations: 132.2 kB / 1.239 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.8064, allocations: 411.7 kB / 1.239 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/0.8064, allocations: 31.97 kB / 1.239 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.8087, allocations: 1.561 MB / 1.241 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.8087, allocations: 7.938 kB / 1.241 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005258/0.814, allocations: 1.935 MB / 1.243 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005887/0.8146, allocations: 485.6 kB / 1.243 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.8149, allocations: 19.98 kB / 1.243 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/0.8165, allocations: 167.7 kB / 1.243 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.8166, allocations: 71.78 kB / 1.243 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.659e-05/0.8167, allocations: 39.97 kB / 1.243 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002408/0.8191, allocations: 1.742 MB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8191, allocations: 0 / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001513/0.8206, allocations: 0.6828 MB / 1.246 GB, free: 5.992 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.006301/0.827, allocations: 2.98 MB / 1.249 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003734/0.8307, allocations: 1.397 MB / 1.25 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.8307, allocations: 4 kB / 1.25 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002068/0.8328, allocations: 0.6656 MB / 1.251 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3901/1.223, allocations: 1.333 MB / 1.252 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04087/1.264, allocations: 19.75 MB / 1.271 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009566/1.265, allocations: 1.493 MB / 1.273 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002024/1.267, allocations: 431.6 kB / 1.273 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009299/1.268, allocations: 0.8966 MB / 1.274 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.268, allocations: 3.375 kB / 1.274 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.137/3.404, allocations: 67.29 MB / 1.34 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/3.405, allocations: 278.7 kB / 1.34 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.488/6.893, allocations: 7.938 kB / 1.34 GB, free: 159.1 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)