Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",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.001588/0.001588, 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.001897/0.001897, allocations: 199.8 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.596/2.596, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 62.58 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2349, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.0559/0.2908, allocations: 61.24 MB / 1.113 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01495/0.3058, allocations: 11.98 MB / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.3072, allocations: 63.62 kB / 1.124 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.3088, allocations: 0.683 MB / 1.125 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004318/0.3131, allocations: 1.974 MB / 1.127 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.3158, allocations: 1.182 MB / 1.128 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003409/0.3192, allocations: 3.081 MB / 1.131 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/0.3213, allocations: 1.096 MB / 1.132 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003789/0.3251, allocations: 1.331 MB / 1.134 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.3268, allocations: 0.8944 MB / 1.134 GB, free: 4.438 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.327, allocations: 116 kB / 1.135 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003876/0.3309, allocations: 1.454 MB / 1.136 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004061/0.3313, allocations: 298.8 kB / 1.136 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009666/0.3323, allocations: 0.6919 MB / 1.137 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004077/0.3364, allocations: 2.275 MB / 1.139 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.3364, allocations: 4 kB / 1.139 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3364, allocations: 0 / 1.139 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.3365, allocations: 0 / 1.139 GB, free: 15.59 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004594/0.3411, allocations: 1.73 MB / 1.141 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.3411, allocations: 12.62 kB / 1.141 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002132/0.3414, allocations: 122.9 kB / 1.141 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/0.3445, allocations: 343 kB / 1.141 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.3477, allocations: 1.097 MB / 1.142 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006667/0.3484, allocations: 121.9 kB / 1.143 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.3486, allocations: 84 kB / 1.143 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/0.3519, allocations: 0.9703 MB / 1.144 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.3519, allocations: 7.875 kB / 1.144 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.3521, allocations: 32 kB / 1.144 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.3521, allocations: 20 kB / 1.144 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003696/0.3558, allocations: 0.8079 MB / 1.144 GB, free: 10.07 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.01001/0.3659, allocations: 5.168 MB / 1.149 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002834/0.3687, allocations: 0.5814 MB / 1.15 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.3699, allocations: 268.7 kB / 1.15 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002288/0.3722, allocations: 1.369 MB / 1.152 GB, free: 2.012 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.3723, allocations: 38.5 kB / 1.152 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 3.507e-06/0.3723, allocations: 0 / 1.152 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.01287/0.3852, allocations: 1.676 MB / 1.153 GB, free: 264 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.3852, allocations: 55.41 kB / 1.153 GB, free: 196 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00291/0.3882, allocations: 1.08 MB / 1.154 GB, free: 15.1 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.093e-05/0.3883, allocations: 33.7 kB / 1.154 GB, free: 15.06 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007211/0.389, allocations: 0.5349 MB / 1.155 GB, free: 14.52 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.3893, allocations: 157.8 kB / 1.155 GB, free: 14.36 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/0.3897, allocations: 130.2 kB / 1.155 GB, free: 14.23 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3898, allocations: 329.9 kB / 1.156 GB, free: 13.9 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.3914, allocations: 279.3 kB / 1.156 GB, free: 13.62 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/0.3933, allocations: 0.5048 MB / 1.156 GB, free: 13.02 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002843/0.3962, allocations: 0.6675 MB / 1.157 GB, free: 12.29 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.3962, allocations: 7.938 kB / 1.157 GB, free: 12.28 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.004829/0.401, allocations: 0.9655 MB / 1.158 GB, free: 11.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.4011, allocations: 5.25 kB / 1.158 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.4011, allocations: 8.031 kB / 1.158 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002378/0.4035, allocations: 316.7 kB / 1.158 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000966/0.4045, allocations: 123.7 kB / 1.158 GB, free: 10.86 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.4072, allocations: 0.9253 MB / 1.159 GB, free: 9.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.4093, allocations: 147.2 kB / 1.159 GB, free: 9.766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.4094, allocations: 31.98 kB / 1.159 GB, free: 9.734 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002074/0.4115, allocations: 493.2 kB / 1.16 GB, free: 9.25 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001827/0.4134, allocations: 0.4931 MB / 1.16 GB, free: 8.664 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002862/0.4162, allocations: 0.6588 MB / 1.161 GB, free: 7.938 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.26e-06/0.4163, allocations: 0 / 1.161 GB, free: 7.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.004839/0.4211, allocations: 0.9577 MB / 1.162 GB, free: 6.969 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4211, allocations: 4 kB / 1.162 GB, free: 6.965 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4212, allocations: 8 kB / 1.162 GB, free: 6.957 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/0.4233, allocations: 312.6 kB / 1.162 GB, free: 6.648 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009292/0.4243, allocations: 115.9 kB / 1.162 GB, free: 6.535 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.427, allocations: 0.9136 MB / 1.163 GB, free: 5.598 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.4292, allocations: 131.5 kB / 1.163 GB, free: 5.469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.4293, allocations: 31.98 kB / 1.163 GB, free: 5.438 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0003415/0.4296, allocations: 224.1 kB / 1.164 GB, free: 5.211 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/0.43, allocations: 110.6 kB / 1.164 GB, free: 5.102 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005132/0.4352, allocations: 1.026 MB / 1.165 GB, free: 4.062 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.4352, allocations: 8 kB / 1.165 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4352, allocations: 0 / 1.165 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.4352, allocations: 3.984 kB / 1.165 GB, free: 4.051 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008072/0.4433, allocations: 2.08 MB / 1.167 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.4433, allocations: 8 kB / 1.167 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.4437, allocations: 51.91 kB / 1.167 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.4455, allocations: 304.7 kB / 1.167 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.397e-05/0.4456, allocations: 15.98 kB / 1.167 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002549/0.4482, allocations: 0.9456 MB / 1.168 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.314e-05/0.4482, allocations: 4 kB / 1.168 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005685/0.4539, allocations: 1.117 MB / 1.169 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.4543, allocations: 259.5 kB / 1.169 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.4545, allocations: 11.98 kB / 1.169 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007028/0.4552, allocations: 63.94 kB / 1.169 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.4552, allocations: 39.83 kB / 1.169 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.4553, allocations: 27.98 kB / 1.17 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001087/0.4564, allocations: 0.7512 MB / 1.17 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4564, allocations: 0 / 1.17 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001424/0.4578, allocations: 0.5731 MB / 1.171 GB, free: 13.62 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 (33): * Single equations (assignments): 28 * 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.004219/0.4621, allocations: 1.953 MB / 1.173 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002951/0.465, allocations: 1.061 MB / 1.174 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.465, allocations: 1.125 kB / 1.174 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008687/0.4659, allocations: 318.6 kB / 1.174 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.4682, allocations: 0.5116 MB / 1.175 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/0.4836, allocations: 8.539 MB / 1.183 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000618/0.4842, allocations: 1.065 MB / 1.184 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008675/0.4851, allocations: 227 kB / 1.184 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/0.4856, allocations: 415.3 kB / 1.185 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of SimCode: time 5.21e-07/0.4856, allocations: 0 / 1.185 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09277/0.5784, allocations: 33.55 MB / 1.217 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.07, allocations: 11.64 kB / 1.217 GB, free: 13.95 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)