Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Carnot_TEva_HighTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",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.001484/0.001484, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 192 kB / 16.53 MB, free: 6.391 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.465/1.465, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 62.78 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2422, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05448/0.2967, allocations: 61.28 MB / 1.113 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01566/0.3124, allocations: 12.01 MB / 1.124 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.3146, allocations: 59.62 kB / 1.125 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.3163, allocations: 0.6791 MB / 1.125 GB, free: 14 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004534/0.3208, allocations: 1.974 MB / 1.127 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002587/0.3234, allocations: 1.196 MB / 1.128 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003168/0.3266, allocations: 3.095 MB / 1.131 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.3279, allocations: 1.108 MB / 1.132 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/0.3302, allocations: 1.331 MB / 1.134 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.3313, allocations: 0.8944 MB / 1.135 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.3315, allocations: 120 kB / 1.135 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.3339, allocations: 1.45 MB / 1.136 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.3342, allocations: 294.8 kB / 1.136 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006214/0.3348, allocations: 0.6997 MB / 1.137 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.3375, allocations: 2.283 MB / 1.139 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3375, allocations: 4 kB / 1.139 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3375, allocations: 4 kB / 1.139 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.3375, allocations: 0 / 1.139 GB, free: 15.5 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002829/0.3403, allocations: 1.746 MB / 1.141 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3404, allocations: 12.62 kB / 1.141 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.3405, allocations: 126.9 kB / 1.141 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.3427, allocations: 406.8 kB / 1.142 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.3447, allocations: 1.113 MB / 1.143 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/0.3451, allocations: 117.9 kB / 1.143 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.3452, allocations: 80 kB / 1.143 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.3473, allocations: 1.029 MB / 1.144 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.3473, allocations: 7.875 kB / 1.144 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.129e-05/0.3474, allocations: 32 kB / 1.144 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.3474, allocations: 24 kB / 1.144 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.3499, allocations: 0.886 MB / 1.145 GB, free: 9.758 MB / 0.9044 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.006458/0.3564, allocations: 5.271 MB / 1.15 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003673/0.36, allocations: 0.7998 MB / 1.151 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008268/0.3609, allocations: 320.6 kB / 1.151 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007422/0.3616, allocations: 0.9102 MB / 1.152 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3617, allocations: 34.56 kB / 1.152 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 3.026e-06/0.3617, allocations: 0 / 1.152 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.006554/0.3683, allocations: 1.665 MB / 1.153 GB, free: 132 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.3683, allocations: 55.41 kB / 1.154 GB, free: 64 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.3698, allocations: 1.084 MB / 1.155 GB, free: 14.96 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.3699, allocations: 33.7 kB / 1.155 GB, free: 14.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/0.3703, allocations: 0.535 MB / 1.155 GB, free: 14.39 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.3705, allocations: 157.8 kB / 1.155 GB, free: 14.23 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.3707, allocations: 138.1 kB / 1.155 GB, free: 14.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3708, allocations: 330 kB / 1.156 GB, free: 13.76 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009974/0.3718, allocations: 327.2 kB / 1.156 GB, free: 13.44 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.373, allocations: 0.5485 MB / 1.157 GB, free: 12.79 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.3749, allocations: 0.7541 MB / 1.157 GB, free: 11.96 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.375, allocations: 0 / 1.157 GB, free: 11.96 MB / 0.92 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00295/0.3779, allocations: 1.055 MB / 1.158 GB, free: 10.9 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3779, allocations: 8 kB / 1.158 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.378, allocations: 4 kB / 1.158 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.3793, allocations: 320.6 kB / 1.159 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.3799, allocations: 139.8 kB / 1.159 GB, free: 10.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.3814, allocations: 0.9059 MB / 1.16 GB, free: 9.504 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.3826, allocations: 167.1 kB / 1.16 GB, free: 9.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.3827, allocations: 31.98 kB / 1.16 GB, free: 9.309 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001288/0.384, allocations: 0.5299 MB / 1.16 GB, free: 8.777 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001152/0.3851, allocations: 0.5447 MB / 1.161 GB, free: 8.137 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001832/0.387, allocations: 0.7377 MB / 1.162 GB, free: 7.328 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/0.387, allocations: 4 kB / 1.162 GB, free: 7.324 MB / 0.92 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.002882/0.3899, allocations: 1.051 MB / 1.163 GB, free: 6.262 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3899, allocations: 5.406 kB / 1.163 GB, free: 6.258 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.3899, allocations: 8 kB / 1.163 GB, free: 6.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.391, allocations: 304.6 kB / 1.163 GB, free: 5.949 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/0.3916, allocations: 139.8 kB / 1.163 GB, free: 5.812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.3931, allocations: 0.91 MB / 1.164 GB, free: 4.879 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.3943, allocations: 149.9 kB / 1.164 GB, free: 4.734 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/0.3943, allocations: 39.8 kB / 1.164 GB, free: 4.695 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.3945, allocations: 216.1 kB / 1.164 GB, free: 4.477 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.3947, allocations: 122.6 kB / 1.165 GB, free: 4.355 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.3982, allocations: 1.11 MB / 1.166 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.3983, allocations: 8 kB / 1.166 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.3983, allocations: 0 / 1.166 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3983, allocations: 3.984 kB / 1.166 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0053/0.4036, allocations: 2.199 MB / 1.168 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.4036, allocations: 0 / 1.168 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.4039, allocations: 72.17 kB / 1.168 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/0.4049, allocations: 308.5 kB / 1.168 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.405, allocations: 15.98 kB / 1.168 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.4065, allocations: 0.9368 MB / 1.169 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.4065, allocations: 7.938 kB / 1.169 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00387/0.4104, allocations: 1.204 MB / 1.17 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.4108, allocations: 267.5 kB / 1.171 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.4109, allocations: 8 kB / 1.171 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009012/0.4119, allocations: 87.83 kB / 1.171 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.412, allocations: 39.89 kB / 1.171 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.412, allocations: 23.98 kB / 1.171 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001106/0.4131, allocations: 0.7555 MB / 1.171 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4131, allocations: 0 / 1.171 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001409/0.4145, allocations: 0.577 MB / 1.172 GB, free: 12.55 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0048/0.4194, allocations: 2.019 MB / 1.174 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003517/0.4229, allocations: 1.215 MB / 1.175 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4229, allocations: 0 / 1.175 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.4239, allocations: 370.5 kB / 1.175 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.4261, allocations: 0.5043 MB / 1.176 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/0.4436, allocations: 9.044 MB / 1.185 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/0.4442, allocations: 1.065 MB / 1.186 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008472/0.4451, allocations: 219.7 kB / 1.186 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000517/0.4456, allocations: 416.8 kB / 1.186 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/0.4456, allocations: 3.938 kB / 1.186 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5487/0.9944, allocations: 33.71 MB / 1.219 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.76, allocations: 5.672 kB / 1.219 GB, free: 11.95 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)