Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_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.00555/0.00555, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001644/0.001645, allocations: 194.8 kB / 16.68 MB, free: 5.969 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.202/1.202, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.44/2.44, allocations: 482.6 MB / 0.755 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 67.33 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2562, allocations: 162.3 MB / 1.242 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1176/0.3739, allocations: 132.5 MB / 1.371 GB, free: 4.02 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0279/0.4018, allocations: 23.23 MB / 1.394 GB, free: 12.73 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.4041, allocations: 123.2 kB / 1.394 GB, free: 12.61 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.4068, allocations: 1.494 MB / 1.395 GB, free: 11.1 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.007436/0.4143, allocations: 4.076 MB / 1.399 GB, free: 7.008 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00401/0.4183, allocations: 2.167 MB / 1.402 GB, free: 4.859 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006283/0.4246, allocations: 6.502 MB / 1.408 GB, free: 14.34 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.4271, allocations: 2.359 MB / 1.41 GB, free: 11.92 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004792/0.4319, allocations: 2.992 MB / 1.413 GB, free: 8.922 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.434, allocations: 1.847 MB / 1.415 GB, free: 7.066 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003124/0.4343, allocations: 248 kB / 1.415 GB, free: 6.824 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/0.4375, allocations: 1.926 MB / 1.417 GB, free: 4.895 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004985/0.438, allocations: 0.5914 MB / 1.418 GB, free: 4.301 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.4393, allocations: 1.458 MB / 1.419 GB, free: 2.836 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004566/0.4438, allocations: 4.375 MB / 1.423 GB, free: 14.45 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4438, allocations: 8 kB / 1.423 GB, free: 14.44 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4439, allocations: 0 / 1.423 GB, free: 14.44 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.956e-05/0.4439, allocations: 0 / 1.423 GB, free: 14.44 MB / 1.154 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.004635/0.4485, allocations: 3.254 MB / 1.427 GB, free: 11.09 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.4486, allocations: 12.03 kB / 1.427 GB, free: 11.08 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000245/0.4488, allocations: 220 kB / 1.427 GB, free: 10.86 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00385/0.4527, allocations: 0.853 MB / 1.428 GB, free: 10 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/0.4564, allocations: 2.34 MB / 1.43 GB, free: 7.586 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.4565, allocations: 127 kB / 1.43 GB, free: 7.461 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.4567, allocations: 160 kB / 1.43 GB, free: 7.305 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003561/0.4603, allocations: 1.923 MB / 1.432 GB, free: 5.316 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.4603, allocations: 3.984 kB / 1.432 GB, free: 5.312 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.4605, allocations: 68 kB / 1.432 GB, free: 5.246 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.4605, allocations: 43.94 kB / 1.432 GB, free: 5.203 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004232/0.4647, allocations: 1.776 MB / 1.434 GB, free: 3.426 MB / 1.154 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.01054/0.4753, allocations: 8.999 MB / 1.443 GB, free: 9.824 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003957/0.4793, allocations: 1.191 MB / 1.444 GB, free: 8.617 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.4803, allocations: 461.4 kB / 1.444 GB, free: 8.156 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.4815, allocations: 1.723 MB / 1.446 GB, free: 6.047 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.4815, allocations: 50.5 kB / 1.446 GB, free: 5.988 MB / 1.17 GB Notification: Performance of pre-optimization done (n=76): time 1.853e-06/0.4815, allocations: 0 / 1.446 GB, free: 5.988 MB / 1.17 GB Notification: Performance of matching and sorting (n=76): time 0.007758/0.4893, allocations: 2.346 MB / 1.448 GB, free: 3.59 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.4893, allocations: 89.11 kB / 1.448 GB, free: 3.484 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003228/0.4926, allocations: 2.493 MB / 1.451 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.237e-05/0.4927, allocations: 45.7 kB / 1.451 GB, free: 0.9219 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008583/0.4935, allocations: 1.047 MB / 1.452 GB, free: 15.86 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.4938, allocations: 281.6 kB / 1.452 GB, free: 15.59 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/0.4941, allocations: 262.6 kB / 1.452 GB, free: 15.32 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4943, allocations: 341.9 kB / 1.453 GB, free: 14.98 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.4959, allocations: 0.5764 MB / 1.453 GB, free: 14.41 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.4979, allocations: 0.9504 MB / 1.454 GB, free: 13.3 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00281/0.5007, allocations: 1.248 MB / 1.455 GB, free: 11.95 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.5007, allocations: 4 kB / 1.455 GB, free: 11.95 MB / 1.186 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005772/0.5065, allocations: 2.03 MB / 1.457 GB, free: 9.902 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.5065, allocations: 12.12 kB / 1.457 GB, free: 9.891 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.5065, allocations: 8 kB / 1.457 GB, free: 9.883 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.5079, allocations: 419.2 kB / 1.458 GB, free: 9.469 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.509, allocations: 283.6 kB / 1.458 GB, free: 9.191 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.511, allocations: 1.499 MB / 1.46 GB, free: 7.641 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/0.5131, allocations: 378.4 kB / 1.46 GB, free: 7.27 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.5132, allocations: 63.97 kB / 1.46 GB, free: 7.207 MB / 1.186 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.000614/0.5138, allocations: 453.5 kB / 1.46 GB, free: 6.754 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.5142, allocations: 262.3 kB / 1.461 GB, free: 6.496 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/0.5175, allocations: 1.494 MB / 1.462 GB, free: 4.984 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.5175, allocations: 15.98 kB / 1.462 GB, free: 4.969 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5175, allocations: 0 / 1.462 GB, free: 4.969 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.5176, allocations: 3.984 kB / 1.462 GB, free: 4.965 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006664/0.5242, allocations: 3.61 MB / 1.466 GB, free: 1.242 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.5242, allocations: 4 kB / 1.466 GB, free: 1.238 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/0.5248, allocations: 132.2 kB / 1.466 GB, free: 1.109 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00125/0.5261, allocations: 410.7 kB / 1.466 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/0.5261, allocations: 27.98 kB / 1.466 GB, free: 0.6758 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00242/0.5286, allocations: 1.565 MB / 1.468 GB, free: 15.06 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.5286, allocations: 4.062 kB / 1.468 GB, free: 15.05 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00537/0.534, allocations: 1.958 MB / 1.47 GB, free: 13.04 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006278/0.5346, allocations: 0.4911 MB / 1.47 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.5349, allocations: 16 kB / 1.47 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.5363, allocations: 135.8 kB / 1.47 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.061e-05/0.5364, allocations: 63.84 kB / 1.47 GB, free: 12.31 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.73e-05/0.5365, allocations: 43.91 kB / 1.47 GB, free: 12.27 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002479/0.539, allocations: 1.746 MB / 1.472 GB, free: 10.52 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.6e-07/0.539, allocations: 0 / 1.472 GB, free: 10.52 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001405/0.5404, allocations: 0.6941 MB / 1.473 GB, free: 9.824 MB / 1.201 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.006647/0.547, allocations: 3.021 MB / 1.476 GB, free: 6.742 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003633/0.5507, allocations: 1.354 MB / 1.477 GB, free: 5.391 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5507, allocations: 0 / 1.477 GB, free: 5.391 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002202/0.5529, allocations: 0.6724 MB / 1.478 GB, free: 4.719 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004806/0.5577, allocations: 1.323 MB / 1.479 GB, free: 3.414 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03016/0.5879, allocations: 16.75 MB / 1.495 GB, free: 2.195 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.5889, allocations: 1.494 MB / 1.497 GB, free: 0.668 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00125/0.5902, allocations: 432.5 kB / 1.497 GB, free: 248 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.5912, allocations: 0.8977 MB / 1.498 GB, free: 15.34 MB / 1.232 GB Notification: Performance of SimCode: time 2.11e-07/0.5912, allocations: 0 / 1.498 GB, free: 15.34 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.633/8.224, allocations: 65.85 MB / 1.562 GB, free: 292.8 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.55/30.78, allocations: 7.938 kB / 1.562 GB, free: 292.8 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)