Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_11_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.004432/0.004436, allocations: 99.59 kB / 15.73 MB, free: 6.039 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.001279/0.001279, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.215/1.215, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.46/2.46, allocations: 469.8 MB / 0.7425 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 64.08 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2508, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.5715/0.8223, allocations: 132.3 MB / 1.349 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02944/0.8518, allocations: 23.23 MB / 1.372 GB, free: 12.22 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003327/0.8552, allocations: 128.5 kB / 1.372 GB, free: 12.17 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002878/0.8581, allocations: 1.498 MB / 1.374 GB, free: 11.21 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008818/0.8669, allocations: 4.093 MB / 1.378 GB, free: 8.023 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004442/0.8714, allocations: 2.177 MB / 1.38 GB, free: 6.328 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007092/0.8785, allocations: 6.542 MB / 1.386 GB, free: 2.438 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.8812, allocations: 2.351 MB / 1.388 GB, free: 0.9102 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005039/0.8863, allocations: 2.765 MB / 1.391 GB, free: 15.19 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.8885, allocations: 1.889 MB / 1.393 GB, free: 14.03 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002999/0.8888, allocations: 251.7 kB / 1.393 GB, free: 14.03 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003666/0.8924, allocations: 1.935 MB / 1.395 GB, free: 13.01 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005206/0.893, allocations: 0.6013 MB / 1.396 GB, free: 12.51 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.8943, allocations: 1.453 MB / 1.397 GB, free: 11.53 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004937/0.8992, allocations: 4.385 MB / 1.401 GB, free: 8.594 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.8992, allocations: 0 / 1.401 GB, free: 8.594 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8992, allocations: 0 / 1.401 GB, free: 8.594 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.319e-05/0.8993, allocations: 0 / 1.401 GB, free: 8.594 MB / 1.092 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.004619/0.9039, allocations: 3.275 MB / 1.405 GB, free: 6.137 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.9039, allocations: 8.312 kB / 1.405 GB, free: 6.137 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000231/0.9042, allocations: 224.9 kB / 1.405 GB, free: 5.953 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003814/0.908, allocations: 0.8633 MB / 1.406 GB, free: 5.547 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003487/0.9115, allocations: 2.322 MB / 1.408 GB, free: 3.77 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.921e-05/0.9116, allocations: 128 kB / 1.408 GB, free: 3.711 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.9118, allocations: 160.1 kB / 1.408 GB, free: 3.66 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003388/0.9152, allocations: 1.93 MB / 1.41 GB, free: 2.473 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.9152, allocations: 2.469 kB / 1.41 GB, free: 2.473 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.9153, allocations: 61.47 kB / 1.41 GB, free: 2.426 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.9154, allocations: 39.16 kB / 1.41 GB, free: 2.426 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004222/0.9196, allocations: 1.807 MB / 1.412 GB, free: 1.035 MB / 1.092 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.01082/0.9304, allocations: 8.996 MB / 1.421 GB, free: 7.441 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004001/0.9344, allocations: 1.207 MB / 1.422 GB, free: 6.219 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.9355, allocations: 457.4 kB / 1.422 GB, free: 5.766 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.9367, allocations: 1.73 MB / 1.424 GB, free: 3.648 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.9367, allocations: 38.56 kB / 1.424 GB, free: 3.602 MB / 1.107 GB Notification: Performance of pre-optimization done (n=76): time 1.823e-06/0.9367, allocations: 3.938 kB / 1.424 GB, free: 3.598 MB / 1.107 GB Notification: Performance of matching and sorting (n=76): time 0.007771/0.9445, allocations: 2.359 MB / 1.426 GB, free: 1.188 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.9446, allocations: 85.11 kB / 1.426 GB, free: 1.086 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/0.9479, allocations: 2.52 MB / 1.429 GB, free: 14.54 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-05/0.948, allocations: 49.7 kB / 1.429 GB, free: 14.49 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008763/0.9489, allocations: 1.058 MB / 1.43 GB, free: 13.43 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.9492, allocations: 285.6 kB / 1.43 GB, free: 13.14 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.9496, allocations: 258.7 kB / 1.431 GB, free: 12.88 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.9497, allocations: 341.9 kB / 1.431 GB, free: 12.54 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.9513, allocations: 0.5725 MB / 1.431 GB, free: 11.97 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.9533, allocations: 0.9543 MB / 1.432 GB, free: 10.86 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.9561, allocations: 1.252 MB / 1.434 GB, free: 9.504 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.9561, allocations: 4 kB / 1.434 GB, free: 9.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00575/0.9619, allocations: 2.025 MB / 1.436 GB, free: 7.457 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.9619, allocations: 12 kB / 1.436 GB, free: 7.445 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.9619, allocations: 8 kB / 1.436 GB, free: 7.438 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/0.9635, allocations: 496.4 kB / 1.436 GB, free: 6.949 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.9646, allocations: 283.6 kB / 1.436 GB, free: 6.672 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.9667, allocations: 1.518 MB / 1.438 GB, free: 5.102 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.9688, allocations: 370.5 kB / 1.438 GB, free: 4.738 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.9689, allocations: 59.97 kB / 1.438 GB, free: 4.68 MB / 1.123 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 (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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006184/0.9696, allocations: 465.4 kB / 1.439 GB, free: 4.215 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003602/0.9699, allocations: 258.3 kB / 1.439 GB, free: 3.961 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003354/0.9733, allocations: 1.494 MB / 1.44 GB, free: 2.453 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.9733, allocations: 12 kB / 1.44 GB, free: 2.441 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.9733, allocations: 4 kB / 1.44 GB, free: 2.438 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.9733, allocations: 3.984 kB / 1.44 GB, free: 2.434 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006768/0.9801, allocations: 3.62 MB / 1.444 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.9801, allocations: 4.375 kB / 1.444 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.9807, allocations: 139.7 kB / 1.444 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/0.9822, allocations: 489.1 kB / 1.445 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.345e-05/0.9822, allocations: 31.97 kB / 1.445 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/0.9847, allocations: 1.583 MB / 1.446 GB, free: 12.41 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.9847, allocations: 7.984 kB / 1.446 GB, free: 12.4 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005402/0.9902, allocations: 1.948 MB / 1.448 GB, free: 10.39 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000659/0.9908, allocations: 0.4951 MB / 1.448 GB, free: 9.875 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/0.9911, allocations: 19.94 kB / 1.448 GB, free: 9.855 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.9925, allocations: 139.8 kB / 1.449 GB, free: 9.719 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.9926, allocations: 55.88 kB / 1.449 GB, free: 9.664 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.481e-05/0.9927, allocations: 47.95 kB / 1.449 GB, free: 9.617 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002548/0.9953, allocations: 1.769 MB / 1.45 GB, free: 7.844 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9953, allocations: 0 / 1.45 GB, free: 7.844 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001525/0.9968, allocations: 0.6979 MB / 1.451 GB, free: 7.145 MB / 1.139 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 (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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006633/1.003, allocations: 3.016 MB / 1.454 GB, free: 4.07 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003664/1.007, allocations: 1.349 MB / 1.455 GB, free: 2.723 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.007, allocations: 0 / 1.455 GB, free: 2.723 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002194/1.009, allocations: 0.6788 MB / 1.456 GB, free: 2.047 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00488/1.014, allocations: 1.342 MB / 1.457 GB, free: 0.7227 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02935/1.044, allocations: 16.73 MB / 1.474 GB, free: 15.52 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.045, allocations: 1.493 MB / 1.475 GB, free: 14 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001317/1.046, allocations: 432.2 kB / 1.476 GB, free: 13.57 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/1.047, allocations: 0.9015 MB / 1.476 GB, free: 12.67 MB / 1.17 GB Notification: Performance of SimCode: time 2.6e-07/1.047, allocations: 0 / 1.476 GB, free: 12.67 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.309/4.356, allocations: 66.23 MB / 1.541 GB, free: 11.23 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.54/23.9, allocations: 2.5 kB / 1.541 GB, free: 11.23 MB / 1.232 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)