Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,fileNamePrefix="Buildings_9_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.007762/0.007761, allocations: 101 kB / 15.73 MB, free: 6.48 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.001195/0.001195, allocations: 191.4 kB / 16.67 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 70.5 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2599, allocations: 140.4 MB / 1.087 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05554/0.3155, allocations: 61.26 MB / 1.147 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.3325, allocations: 12.02 MB / 1.159 GB, free: 8.434 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002796/0.3353, allocations: 59.62 kB / 1.159 GB, free: 8.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.3376, allocations: 0.6713 MB / 1.16 GB, free: 7.699 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005573/0.3432, allocations: 1.971 MB / 1.162 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.3461, allocations: 1.211 MB / 1.163 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003734/0.3498, allocations: 3.103 MB / 1.166 GB, free: 1.406 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.3511, allocations: 1.112 MB / 1.167 GB, free: 268 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.3537, allocations: 1.334 MB / 1.168 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.3549, allocations: 0.9023 MB / 1.169 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.355, allocations: 116 kB / 1.169 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.3576, allocations: 1.447 MB / 1.171 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.3579, allocations: 298.8 kB / 1.171 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006974/0.3586, allocations: 0.6997 MB / 1.172 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003018/0.3617, allocations: 2.299 MB / 1.174 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3617, allocations: 7.938 kB / 1.174 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3617, allocations: 0 / 1.174 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.3617, allocations: 3.938 kB / 1.174 GB, free: 9.141 MB / 0.9356 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.002893/0.3646, allocations: 1.754 MB / 1.176 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3647, allocations: 8.031 kB / 1.176 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.3648, allocations: 127 kB / 1.176 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.367, allocations: 410.6 kB / 1.176 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.3693, allocations: 1.163 MB / 1.177 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.3694, allocations: 70 kB / 1.177 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.3695, allocations: 80 kB / 1.177 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.3717, allocations: 1.015 MB / 1.178 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.3717, allocations: 7.938 kB / 1.178 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.467e-05/0.3718, allocations: 32 kB / 1.178 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.3718, allocations: 24 kB / 1.178 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.3742, allocations: 0.8819 MB / 1.179 GB, free: 3.398 MB / 0.9356 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.006303/0.3805, allocations: 5.242 MB / 1.184 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003405/0.3839, allocations: 0.788 MB / 1.185 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007741/0.3847, allocations: 308.7 kB / 1.186 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006769/0.3854, allocations: 0.9103 MB / 1.186 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3854, allocations: 38.56 kB / 1.186 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 2.385e-06/0.3854, allocations: 0 / 1.186 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.006305/0.3917, allocations: 1.603 MB / 1.188 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.3918, allocations: 55.41 kB / 1.188 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.3933, allocations: 1.088 MB / 1.189 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.487e-05/0.3934, allocations: 37.7 kB / 1.189 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.3938, allocations: 0.5272 MB / 1.19 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.3939, allocations: 157.8 kB / 1.19 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.3942, allocations: 134.1 kB / 1.19 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3943, allocations: 341.8 kB / 1.19 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009526/0.3952, allocations: 319.2 kB / 1.191 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.3964, allocations: 0.5446 MB / 1.191 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.3982, allocations: 0.7373 MB / 1.192 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3982, allocations: 0 / 1.192 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002926/0.4011, allocations: 1.048 MB / 1.193 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4011, allocations: 4 kB / 1.193 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.4012, allocations: 8 kB / 1.193 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.4024, allocations: 304.6 kB / 1.193 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/0.403, allocations: 135.8 kB / 1.193 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.4044, allocations: 0.9061 MB / 1.194 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.4056, allocations: 147.2 kB / 1.194 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.091e-05/0.4057, allocations: 35.98 kB / 1.194 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001239/0.407, allocations: 0.5207 MB / 1.195 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00107/0.408, allocations: 0.5524 MB / 1.195 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001743/0.4098, allocations: 0.7257 MB / 1.196 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/0.4098, allocations: 4 kB / 1.196 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.002734/0.4125, allocations: 1.04 MB / 1.197 GB, free: 112 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.4126, allocations: 8 kB / 1.197 GB, free: 104 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4126, allocations: 8 kB / 1.197 GB, free: 96 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.4136, allocations: 292.7 kB / 1.197 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005826/0.4142, allocations: 139.8 kB / 1.198 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.4156, allocations: 0.8908 MB / 1.198 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.4168, allocations: 143.5 kB / 1.199 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.4168, allocations: 35.98 kB / 1.199 GB, free: 14.58 MB / 0.9669 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.0001852/0.417, allocations: 221.2 kB / 1.199 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.4172, allocations: 114.6 kB / 1.199 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00324/0.4205, allocations: 1.084 MB / 1.2 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.4205, allocations: 11.98 kB / 1.2 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4205, allocations: 0 / 1.2 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4205, allocations: 0 / 1.2 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00521/0.4257, allocations: 2.179 MB / 1.202 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.4257, allocations: 0 / 1.202 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.4261, allocations: 76.09 kB / 1.202 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009361/0.427, allocations: 292.5 kB / 1.202 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.4271, allocations: 15.98 kB / 1.202 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.4285, allocations: 0.9252 MB / 1.203 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.4285, allocations: 7.938 kB / 1.203 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00388/0.4324, allocations: 1.193 MB / 1.205 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004781/0.4329, allocations: 263.5 kB / 1.205 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.433, allocations: 16 kB / 1.205 GB, free: 8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008497/0.4339, allocations: 79.89 kB / 1.205 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/0.434, allocations: 39.83 kB / 1.205 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/0.434, allocations: 23.98 kB / 1.205 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001107/0.4351, allocations: 0.7594 MB / 1.206 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4351, allocations: 0 / 1.206 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001645/0.4368, allocations: 0.5731 MB / 1.206 GB, free: 6.52 MB / 0.9669 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.004798/0.4416, allocations: 2.022 MB / 1.208 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003458/0.4451, allocations: 1.173 MB / 1.209 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.4451, allocations: 4.188 kB / 1.209 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009309/0.446, allocations: 366.3 kB / 1.21 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/0.4484, allocations: 0.5149 MB / 1.21 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/0.4654, allocations: 8.518 MB / 1.219 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.466, allocations: 1.069 MB / 1.22 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008457/0.4669, allocations: 228.2 kB / 1.22 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/0.4674, allocations: 415.3 kB / 1.22 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.4674, allocations: 0 / 1.22 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0802/0.5476, allocations: 33.87 MB / 1.253 GB, free: 6.367 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.82, allocations: 3.75 kB / 1.253 GB, free: 6.363 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)