Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva",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.001533/0.001533, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001733/0.001733, allocations: 190.3 kB / 16.25 MB, free: 6.633 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.72/1.72, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.42/2.42, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 73.42 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2264, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05034/0.2768, allocations: 60.72 MB / 1.112 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01365/0.2905, allocations: 11.9 MB / 1.123 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.292, allocations: 55.62 kB / 1.123 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.2937, allocations: 0.5906 MB / 1.124 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004166/0.2979, allocations: 1.819 MB / 1.126 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.3003, allocations: 1.089 MB / 1.127 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003255/0.3036, allocations: 3.113 MB / 1.13 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.305, allocations: 1.092 MB / 1.131 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.3075, allocations: 1.333 MB / 1.132 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.3087, allocations: 0.9295 MB / 1.133 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002006/0.3089, allocations: 116 kB / 1.133 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.3111, allocations: 1.458 MB / 1.135 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.3114, allocations: 294.8 kB / 1.135 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007448/0.3121, allocations: 0.692 MB / 1.136 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002638/0.3148, allocations: 2.283 MB / 1.138 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3148, allocations: 0 / 1.138 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3148, allocations: 0 / 1.138 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.991e-05/0.3148, allocations: 0 / 1.138 GB, free: 0.8438 MB / 0.8887 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.002823/0.3177, allocations: 1.726 MB / 1.14 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3177, allocations: 16.62 kB / 1.14 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.3178, allocations: 126.9 kB / 1.14 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/0.3199, allocations: 406.8 kB / 1.14 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.3217, allocations: 1.12 MB / 1.141 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003223/0.3221, allocations: 121.9 kB / 1.141 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.3222, allocations: 80 kB / 1.141 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.324, allocations: 0.9855 MB / 1.142 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.3241, allocations: 0 / 1.142 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.572e-05/0.3241, allocations: 32 kB / 1.142 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.3242, allocations: 20 kB / 1.142 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.3262, allocations: 0.8509 MB / 1.143 GB, free: 11.2 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.005699/0.332, allocations: 4.84 MB / 1.148 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.3351, allocations: 0.7997 MB / 1.149 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006564/0.3358, allocations: 296.7 kB / 1.149 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005935/0.3364, allocations: 0.9025 MB / 1.15 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3364, allocations: 46.5 kB / 1.15 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.3365, allocations: 0 / 1.15 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.006657/0.3431, allocations: 1.754 MB / 1.152 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.3432, allocations: 59.39 kB / 1.152 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.3446, allocations: 1.051 MB / 1.153 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.3446, allocations: 33.7 kB / 1.153 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.345, allocations: 0.5274 MB / 1.153 GB, free: 260 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.3451, allocations: 145.9 kB / 1.153 GB, free: 112 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.3454, allocations: 126.2 kB / 1.153 GB, free: 15.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.3455, allocations: 329.9 kB / 1.154 GB, free: 15.65 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008079/0.3463, allocations: 306.9 kB / 1.154 GB, free: 15.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009461/0.3472, allocations: 0.5023 MB / 1.155 GB, free: 14.76 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.3487, allocations: 0.6849 MB / 1.155 GB, free: 14.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3487, allocations: 0 / 1.155 GB, free: 14.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003272/0.352, allocations: 1.137 MB / 1.156 GB, free: 12.87 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.352, allocations: 8.094 kB / 1.156 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.352, allocations: 4 kB / 1.156 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.3532, allocations: 320.5 kB / 1.157 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.3537, allocations: 111.9 kB / 1.157 GB, free: 12.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.355, allocations: 0.9136 MB / 1.158 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.3562, allocations: 175.2 kB / 1.158 GB, free: 11.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.545e-05/0.3563, allocations: 27.98 kB / 1.158 GB, free: 11.3 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001046/0.3573, allocations: 0.5049 MB / 1.158 GB, free: 10.79 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009336/0.3583, allocations: 0.5018 MB / 1.159 GB, free: 10.2 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001431/0.3597, allocations: 0.672 MB / 1.16 GB, free: 9.473 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.049e-06/0.3597, allocations: 4 kB / 1.16 GB, free: 9.469 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003086/0.3628, allocations: 1.117 MB / 1.161 GB, free: 8.34 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3628, allocations: 8 kB / 1.161 GB, free: 8.332 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3628, allocations: 4 kB / 1.161 GB, free: 8.328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009558/0.3638, allocations: 304.7 kB / 1.161 GB, free: 8.027 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.3643, allocations: 115.9 kB / 1.161 GB, free: 7.914 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.3655, allocations: 0.9104 MB / 1.162 GB, free: 6.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.3667, allocations: 155.6 kB / 1.162 GB, free: 6.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/0.3668, allocations: 31.98 kB / 1.162 GB, free: 6.797 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0001927/0.367, allocations: 224 kB / 1.162 GB, free: 6.57 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.3672, allocations: 106.7 kB / 1.162 GB, free: 6.465 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.3694, allocations: 0.9338 MB / 1.163 GB, free: 5.512 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.3694, allocations: 8 kB / 1.163 GB, free: 5.504 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3694, allocations: 3.938 kB / 1.163 GB, free: 5.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3694, allocations: 3.984 kB / 1.163 GB, free: 5.496 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00471/0.3741, allocations: 2.148 MB / 1.165 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.3741, allocations: 4 kB / 1.165 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.3744, allocations: 63.89 kB / 1.165 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009109/0.3753, allocations: 298.1 kB / 1.166 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/0.3754, allocations: 12 kB / 1.166 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.3767, allocations: 0.9605 MB / 1.167 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3767, allocations: 0 / 1.167 GB, free: 1.906 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003266/0.38, allocations: 1.159 MB / 1.168 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003751/0.3804, allocations: 267.6 kB / 1.168 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.3805, allocations: 15.94 kB / 1.168 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000863/0.3814, allocations: 103.7 kB / 1.168 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.3815, allocations: 35.89 kB / 1.168 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.3815, allocations: 23.98 kB / 1.168 GB, free: 248 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001038/0.3826, allocations: 0.743 MB / 1.169 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3826, allocations: 0 / 1.169 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001351/0.3839, allocations: 0.5535 MB / 1.17 GB, free: 14.94 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.004156/0.3881, allocations: 1.964 MB / 1.171 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002964/0.3911, allocations: 1.128 MB / 1.173 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.3911, allocations: 4 kB / 1.173 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008127/0.3919, allocations: 344.4 kB / 1.173 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.3941, allocations: 0.5082 MB / 1.173 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/0.4109, allocations: 8.945 MB / 1.182 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.4115, allocations: 1.061 MB / 1.183 GB, free: 492 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008324/0.4123, allocations: 216.6 kB / 1.183 GB, free: 272 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/0.4128, allocations: 407.4 kB / 1.184 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/0.4128, allocations: 0 / 1.184 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.139/1.552, allocations: 32.67 MB / 1.216 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003542/1.553, allocations: 273.9 kB / 1.216 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.482/5.034, allocations: 0 / 1.216 GB, free: 15.3 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)