Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.444/1.444, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 187.4 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009195/0.0009197, allocations: 92.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004816, allocations: 12.42 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2952, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1164/0.4116, allocations: 110.7 MB / 1.008 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0296/0.4413, allocations: 19.72 MB / 1.027 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004772/0.4461, allocations: 99.25 kB / 1.028 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005556/0.4517, allocations: 1.364 MB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01581/0.4675, allocations: 4.092 MB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008312/0.4759, allocations: 2.426 MB / 1.035 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009558/0.4854, allocations: 3.886 MB / 1.039 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00329/0.4888, allocations: 1.704 MB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005514/0.4943, allocations: 1.985 MB / 1.043 GB, free: 13.6 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.4973, allocations: 1.264 MB / 1.044 GB, free: 12.33 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008241/0.4982, allocations: 92 kB / 1.044 GB, free: 12.24 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004879/0.5031, allocations: 1.295 MB / 1.045 GB, free: 10.94 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.5041, allocations: 406.2 kB / 1.046 GB, free: 10.54 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001531/0.5057, allocations: 0.5589 MB / 1.046 GB, free: 9.977 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00541/0.5111, allocations: 3.082 MB / 1.049 GB, free: 6.887 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5112, allocations: 0 / 1.049 GB, free: 6.887 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5112, allocations: 0 / 1.049 GB, free: 6.887 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001466/0.5113, allocations: 0 / 1.049 GB, free: 6.887 MB / 0.698 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.006445/0.5178, allocations: 2.697 MB / 1.052 GB, free: 4.105 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5178, allocations: 8.031 kB / 1.052 GB, free: 4.098 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005466/0.5184, allocations: 227.8 kB / 1.052 GB, free: 3.863 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004703/0.5231, allocations: 0.9566 MB / 1.053 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004103/0.5272, allocations: 2.075 MB / 1.055 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001078/0.5283, allocations: 318.9 kB / 1.055 GB, free: 452 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/0.5287, allocations: 160 kB / 1.055 GB, free: 292 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4959/1.025, allocations: 1.963 MB / 1.057 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/1.025, allocations: 2.406 kB / 1.057 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/1.025, allocations: 63.06 kB / 1.057 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/1.025, allocations: 36.56 kB / 1.057 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004766/1.03, allocations: 1.909 MB / 1.059 GB, free: 148.8 MB / 0.698 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.01858/1.048, allocations: 9.172 MB / 1.068 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005277/1.054, allocations: 1.33 MB / 1.07 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/1.055, allocations: 1.714 MB / 1.071 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/1.055, allocations: 45.09 kB / 1.071 GB, free: 142.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 4.298e-06/1.055, allocations: 0 / 1.071 GB, free: 142.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.0102/1.065, allocations: 2.497 MB / 1.074 GB, free: 142.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/1.065, allocations: 88.47 kB / 1.074 GB, free: 142.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005531/1.071, allocations: 2.58 MB / 1.076 GB, free: 141.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002827/1.071, allocations: 41.83 kB / 1.076 GB, free: 141.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009642/1.072, allocations: 1.054 MB / 1.077 GB, free: 141.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/1.072, allocations: 270.9 kB / 1.078 GB, free: 141 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/1.072, allocations: 18.91 kB / 1.078 GB, free: 141 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/1.072, allocations: 346.3 kB / 1.078 GB, free: 140.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/1.074, allocations: 0.6213 MB / 1.079 GB, free: 140.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/1.076, allocations: 0.9936 MB / 1.08 GB, free: 139.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/1.078, allocations: 0.6738 MB / 1.08 GB, free: 139.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/1.078, allocations: 2.219 kB / 1.08 GB, free: 139.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005381/1.084, allocations: 1.943 MB / 1.082 GB, free: 138.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/1.084, allocations: 13.16 kB / 1.082 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/1.084, allocations: 6.688 kB / 1.082 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/1.086, allocations: 0.5059 MB / 1.083 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.087, allocations: 294.2 kB / 1.083 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/1.089, allocations: 1.555 MB / 1.084 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/1.092, allocations: 483 kB / 1.085 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/1.093, allocations: 59.38 kB / 1.085 GB, free: 137.1 MB / 0.698 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0009768/1.094, allocations: 469.4 kB / 1.085 GB, free: 136.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004514/1.094, allocations: 248.4 kB / 1.086 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003352/1.097, allocations: 1.556 MB / 1.087 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/1.097, allocations: 12.64 kB / 1.087 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.097, allocations: 1.031 kB / 1.087 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/1.097, allocations: 5.328 kB / 1.087 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008317/1.106, allocations: 3.726 MB / 1.091 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/1.106, allocations: 3.25 kB / 1.091 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006494/1.106, allocations: 139.1 kB / 1.091 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/1.108, allocations: 0.494 MB / 1.091 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-05/1.108, allocations: 39.16 kB / 1.092 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/1.111, allocations: 1.644 MB / 1.093 GB, free: 131.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.111, allocations: 3.938 kB / 1.093 GB, free: 131.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006025/1.117, allocations: 2.347 MB / 1.095 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/1.118, allocations: 0.5306 MB / 1.096 GB, free: 129.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/1.119, allocations: 19.91 kB / 1.096 GB, free: 129.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/1.121, allocations: 194.3 kB / 1.096 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/1.121, allocations: 55.38 kB / 1.096 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.558e-05/1.121, allocations: 39.75 kB / 1.096 GB, free: 129.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003088/1.124, allocations: 1.81 MB / 1.098 GB, free: 128.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.154e-06/1.124, allocations: 0 / 1.098 GB, free: 128.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002436/1.126, allocations: 0.6714 MB / 1.099 GB, free: 128.4 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.007217/1.134, allocations: 4.165 MB / 1.103 GB, free: 124.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004026/1.138, allocations: 1.393 MB / 1.104 GB, free: 122.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.138, allocations: 0 / 1.104 GB, free: 122.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002241/1.14, allocations: 0.7402 MB / 1.105 GB, free: 122.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006546/1.147, allocations: 1.269 MB / 1.106 GB, free: 120.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/1.157, allocations: 10.86 MB / 1.117 GB, free: 109.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/1.158, allocations: 1.532 MB / 1.118 GB, free: 108.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00219/1.16, allocations: 441 kB / 1.119 GB, free: 107.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/1.161, allocations: 0.8976 MB / 1.119 GB, free: 106.7 MB / 0.698 GB Notification: Performance of SimCode: time 8.21e-07/1.161, allocations: 4 kB / 1.119 GB, free: 106.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/1.262, allocations: 68.07 MB / 1.186 GB, free: 39.23 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/1.262, allocations: 270.1 kB / 1.186 GB, free: 38.87 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.517/5.779, allocations: 0 / 1.186 GB, free: 38.87 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)