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.262/1.262, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008714/0.0008714, allocations: 175.6 kB / 325.8 MB, free: 2.695 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.456/1.456, allocations: 205 MB / 0.576 GB, free: 21.02 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.0006626/0.0006626, allocations: 89.44 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002938, allocations: 8.844 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2076, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1403/0.348, allocations: 131.1 MB / 1.024 GB, free: 0.5859 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0305/0.3786, allocations: 23.04 MB / 1.047 GB, free: 9.48 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004229/0.3828, allocations: 111.2 kB / 1.047 GB, free: 9.371 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004143/0.387, allocations: 1.208 MB / 1.048 GB, free: 8.156 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.3992, allocations: 3.734 MB / 1.052 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00518/0.4044, allocations: 1.997 MB / 1.054 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.3899/0.7943, allocations: 8.245 MB / 1.062 GB, free: 44.88 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003285/0.7977, allocations: 1.883 MB / 1.063 GB, free: 44.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005139/0.8028, allocations: 2.284 MB / 1.066 GB, free: 44.65 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003116/0.8059, allocations: 1.794 MB / 1.067 GB, free: 44.65 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003082/0.8063, allocations: 92.03 kB / 1.068 GB, free: 44.65 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00385/0.8101, allocations: 1.621 MB / 1.069 GB, free: 44.65 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004768/0.8106, allocations: 450.6 kB / 1.07 GB, free: 44.65 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.8121, allocations: 1.274 MB / 1.071 GB, free: 44.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00523/0.8173, allocations: 4.098 MB / 1.075 GB, free: 43.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.8173, allocations: 4 kB / 1.075 GB, free: 43.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8173, allocations: 0 / 1.075 GB, free: 43.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.504e-05/0.8174, allocations: 0 / 1.075 GB, free: 43.84 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.004327/0.8217, allocations: 2.674 MB / 1.077 GB, free: 42.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.8218, allocations: 9.5 kB / 1.077 GB, free: 42.45 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002272/0.822, allocations: 219.3 kB / 1.078 GB, free: 42.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004236/0.8263, allocations: 0.9601 MB / 1.079 GB, free: 42.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003564/0.8298, allocations: 2.264 MB / 1.081 GB, free: 41.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008886/0.8307, allocations: 325.4 kB / 1.081 GB, free: 41.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.8309, allocations: 165.7 kB / 1.081 GB, free: 41.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003707/0.8347, allocations: 1.979 MB / 1.083 GB, free: 41.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.8347, allocations: 7.281 kB / 1.083 GB, free: 41.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.8348, allocations: 64.83 kB / 1.083 GB, free: 41.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.8349, allocations: 40.31 kB / 1.083 GB, free: 41.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004317/0.8392, allocations: 1.908 MB / 1.085 GB, free: 41.33 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.01054/0.8497, allocations: 9.098 MB / 1.094 GB, free: 36.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00399/0.8538, allocations: 1.303 MB / 1.095 GB, free: 36.85 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.8548, allocations: 481.3 kB / 1.096 GB, free: 36.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007554/0.8556, allocations: 1.732 MB / 1.097 GB, free: 34.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.8556, allocations: 42.81 kB / 1.098 GB, free: 34.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.685e-06/0.8556, allocations: 0 / 1.098 GB, free: 34.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.008584/0.8642, allocations: 2.523 MB / 1.1 GB, free: 34.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.8642, allocations: 88.73 kB / 1.1 GB, free: 34.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00405/0.8683, allocations: 2.541 MB / 1.103 GB, free: 34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.8684, allocations: 48.33 kB / 1.103 GB, free: 33.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006715/0.8691, allocations: 1.049 MB / 1.104 GB, free: 33.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.8693, allocations: 272.3 kB / 1.104 GB, free: 33.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.8694, allocations: 87.41 kB / 1.104 GB, free: 33.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.8695, allocations: 343.5 kB / 1.104 GB, free: 33.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.8711, allocations: 0.6225 MB / 1.105 GB, free: 33.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/0.8729, allocations: 1.008 MB / 1.106 GB, free: 32.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002656/0.8756, allocations: 1.308 MB / 1.107 GB, free: 32.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.8756, allocations: 6.344 kB / 1.107 GB, free: 32.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00855/0.8841, allocations: 2.562 MB / 1.11 GB, free: 32.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.8842, allocations: 9.969 kB / 1.11 GB, free: 32.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.8842, allocations: 6.75 kB / 1.11 GB, free: 32.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/0.8859, allocations: 0.5002 MB / 1.11 GB, free: 32.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.887, allocations: 298.6 kB / 1.11 GB, free: 32.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.8888, allocations: 1.56 MB / 1.112 GB, free: 31.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003146/0.892, allocations: 488.8 kB / 1.112 GB, free: 30.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.8921, allocations: 64.12 kB / 1.112 GB, free: 30.91 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 (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.0009261/0.8931, allocations: 456 kB / 1.113 GB, free: 30.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004222/0.8935, allocations: 249.6 kB / 1.113 GB, free: 30.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/0.8968, allocations: 1.558 MB / 1.115 GB, free: 30.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.8968, allocations: 9.719 kB / 1.115 GB, free: 30.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.8968, allocations: 0 / 1.115 GB, free: 30.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.8968, allocations: 11.92 kB / 1.115 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006759/0.9036, allocations: 3.688 MB / 1.118 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.9036, allocations: 4 kB / 1.118 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/0.9042, allocations: 135.5 kB / 1.118 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/0.9058, allocations: 0.5082 MB / 1.119 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.653e-05/0.9058, allocations: 30.77 kB / 1.119 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.908, allocations: 1.645 MB / 1.121 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9081, allocations: 11.25 kB / 1.121 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005523/0.9136, allocations: 2.083 MB / 1.123 GB, free: 26.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009229/0.9145, allocations: 490.7 kB / 1.123 GB, free: 26.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/0.9148, allocations: 19.22 kB / 1.123 GB, free: 26.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/0.9166, allocations: 197 kB / 1.123 GB, free: 26.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-05/0.9166, allocations: 64.52 kB / 1.123 GB, free: 26.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.559e-05/0.9167, allocations: 36.22 kB / 1.123 GB, free: 26.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002584/0.9193, allocations: 1.796 MB / 1.125 GB, free: 25.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9193, allocations: 0 / 1.125 GB, free: 25.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001712/0.921, allocations: 0.6529 MB / 1.126 GB, free: 25.76 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 (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.006597/0.9277, allocations: 3.104 MB / 1.129 GB, free: 24.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003726/0.9314, allocations: 1.425 MB / 1.13 GB, free: 23.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.9314, allocations: 1.625 kB / 1.13 GB, free: 23.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.9335, allocations: 0.7334 MB / 1.131 GB, free: 23.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006742/0.9403, allocations: 1.333 MB / 1.132 GB, free: 22.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03933/0.9797, allocations: 20.11 MB / 1.152 GB, free: 3.957 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008198/0.9805, allocations: 1.489 MB / 1.153 GB, free: 2.453 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002199/0.9827, allocations: 435.2 kB / 1.154 GB, free: 2.031 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/0.984, allocations: 0.9116 MB / 1.155 GB, free: 1.742 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/0.984, allocations: 4 kB / 1.155 GB, free: 1.738 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7306/1.715, allocations: 69.2 MB / 1.222 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/1.715, allocations: 295.3 kB / 1.222 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.131/5.846, allocations: 0 / 1.222 GB, free: 12.98 MB / 0.7761 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)