Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.415/1.415, allocations: 287.4 MB / 302.6 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009064/0.0009064, allocations: 183 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.082/1.082, allocations: 205.4 MB / 0.6298 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006474/0.0006475, allocations: 98.72 kB / 0.7431 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002959, allocations: 12.97 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1357, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.0469/0.1827, allocations: 69.42 MB / 1.047 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.1951, allocations: 11.85 MB / 1.058 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009064/0.196, allocations: 55.62 kB / 1.058 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.1972, allocations: 0.5627 MB / 1.059 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003193/0.2004, allocations: 1.872 MB / 1.061 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.2024, allocations: 0.9727 MB / 1.061 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003549/0.2059, allocations: 4.798 MB / 1.066 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.2071, allocations: 1.124 MB / 1.067 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2856/0.4927, allocations: 1.258 MB / 1.068 GB, free: 34.32 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/0.4946, allocations: 1.062 MB / 1.07 GB, free: 34.32 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003891/0.495, allocations: 57.36 kB / 1.07 GB, free: 34.32 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.4975, allocations: 0.9267 MB / 1.07 GB, free: 34.32 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000417/0.498, allocations: 267.6 kB / 1.071 GB, free: 34.32 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006433/0.4986, allocations: 358 kB / 1.071 GB, free: 34.29 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.5011, allocations: 2.076 MB / 1.073 GB, free: 34.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5011, allocations: 0 / 1.073 GB, free: 34.22 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5011, allocations: 4.219 kB / 1.073 GB, free: 34.22 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.5012, allocations: 0 / 1.073 GB, free: 34.22 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002649/0.5038, allocations: 1.789 MB / 1.075 GB, free: 33.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.5039, allocations: 9.781 kB / 1.075 GB, free: 33.25 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/0.504, allocations: 147.2 kB / 1.075 GB, free: 33.21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006287/0.5047, allocations: 235.8 kB / 1.075 GB, free: 33.12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.5066, allocations: 1.479 MB / 1.077 GB, free: 32.72 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.5067, allocations: 75.34 kB / 1.077 GB, free: 32.72 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.5068, allocations: 99.41 kB / 1.077 GB, free: 32.72 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.5086, allocations: 1.114 MB / 1.078 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.5086, allocations: 1.531 kB / 1.078 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.582e-05/0.5087, allocations: 43.39 kB / 1.078 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.5088, allocations: 25.98 kB / 1.078 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.5105, allocations: 0.9209 MB / 1.079 GB, free: 32.58 MB / 0.6823 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.004618/0.5151, allocations: 4.924 MB / 1.084 GB, free: 30.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.5164, allocations: 0.6395 MB / 1.084 GB, free: 30.35 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006452/0.517, allocations: 371.4 kB / 1.085 GB, free: 30.33 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003602/0.5174, allocations: 0.8274 MB / 1.085 GB, free: 29.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.5174, allocations: 43.42 kB / 1.086 GB, free: 29.36 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 2.164e-06/0.5174, allocations: 2.516 kB / 1.086 GB, free: 29.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.006093/0.5235, allocations: 1.879 MB / 1.087 GB, free: 29.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.5235, allocations: 59.41 kB / 1.087 GB, free: 29.01 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.5248, allocations: 1.191 MB / 1.089 GB, free: 28.85 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.5249, allocations: 44.55 kB / 1.089 GB, free: 28.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.5253, allocations: 0.6035 MB / 1.089 GB, free: 28.61 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.5254, allocations: 206.8 kB / 1.089 GB, free: 28.48 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.5254, allocations: 15.84 kB / 1.089 GB, free: 28.48 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.707e-05/0.5255, allocations: 334.4 kB / 1.09 GB, free: 28.17 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/0.5261, allocations: 297.7 kB / 1.09 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/0.5267, allocations: 0.5052 MB / 1.091 GB, free: 27.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.5279, allocations: 0.7375 MB / 1.091 GB, free: 27.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5279, allocations: 1.531 kB / 1.091 GB, free: 27.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003972/0.5319, allocations: 1.388 MB / 1.093 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.532, allocations: 199.6 kB / 1.093 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.532, allocations: 3.719 kB / 1.093 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004872/0.5325, allocations: 146.4 kB / 1.093 GB, free: 27.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/0.533, allocations: 173 kB / 1.093 GB, free: 27.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005934/0.5336, allocations: 0.7059 MB / 1.094 GB, free: 26.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009293/0.5345, allocations: 172 kB / 1.094 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/0.5346, allocations: 36.39 kB / 1.094 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.791e-06/0.5346, allocations: 4.062 kB / 1.094 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003895/0.5385, allocations: 1.247 MB / 1.095 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5385, allocations: 3.938 kB / 1.095 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004152/0.539, allocations: 143.9 kB / 1.095 GB, free: 26.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.5395, allocations: 168.5 kB / 1.096 GB, free: 26.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005867/0.5401, allocations: 0.7067 MB / 1.096 GB, free: 26.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008366/0.5409, allocations: 165 kB / 1.096 GB, free: 26.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/0.541, allocations: 31.78 kB / 1.096 GB, free: 26.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004147/0.5414, allocations: 416 kB / 1.097 GB, free: 26.01 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.5416, allocations: 136 kB / 1.097 GB, free: 25.94 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004181/0.5458, allocations: 1.395 MB / 1.098 GB, free: 25.81 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.5458, allocations: 10.39 kB / 1.098 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5458, allocations: 2.75 kB / 1.098 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00359/0.5494, allocations: 1.234 MB / 1.099 GB, free: 25.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005343/0.5548, allocations: 2.728 MB / 1.102 GB, free: 25.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5548, allocations: 7.406 kB / 1.102 GB, free: 25.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.5552, allocations: 118.2 kB / 1.102 GB, free: 25.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004035/0.5556, allocations: 143 kB / 1.102 GB, free: 25.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.5557, allocations: 22.66 kB / 1.102 GB, free: 25.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003798/0.5595, allocations: 2.439 MB / 1.105 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.5595, allocations: 4.188 kB / 1.105 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004343/0.5638, allocations: 1.85 MB / 1.107 GB, free: 23.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.5642, allocations: 332.5 kB / 1.107 GB, free: 23.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.5643, allocations: 20.84 kB / 1.107 GB, free: 23.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007476/0.5651, allocations: 91.83 kB / 1.107 GB, free: 23.01 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/0.5652, allocations: 66.81 kB / 1.107 GB, free: 23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.5652, allocations: 28.97 kB / 1.107 GB, free: 23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00089/0.5661, allocations: 0.8527 MB / 1.108 GB, free: 22.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5661, allocations: 0 / 1.108 GB, free: 22.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00151/0.5677, allocations: 0.7068 MB / 1.109 GB, free: 22.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.005169/0.5728, allocations: 2.71 MB / 1.111 GB, free: 21.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.5749, allocations: 1.156 MB / 1.112 GB, free: 21.78 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.575, allocations: 3.922 kB / 1.112 GB, free: 21.78 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.5762, allocations: 0.5993 MB / 1.113 GB, free: 21.65 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/0.5796, allocations: 0.7846 MB / 1.114 GB, free: 21.57 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/0.596, allocations: 8.32 MB / 1.122 GB, free: 18.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.5965, allocations: 1.17 MB / 1.123 GB, free: 17.98 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001092/0.5976, allocations: 304 kB / 1.123 GB, free: 17.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/0.5982, allocations: 0.5071 MB / 1.124 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.5982, allocations: 7.938 kB / 1.124 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.06/1.659, allocations: 44.58 MB / 1.167 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/1.659, allocations: 237.4 kB / 1.168 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.963/4.622, allocations: 2.625 kB / 1.168 GB, free: 15.67 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)