Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.81/1.81, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.001167/0.001167, allocations: 189 kB / 371.8 MB, free: 10.3 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.68/1.68, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0008658/0.0008656, allocations: 101.2 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004044, allocations: 11.47 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2713, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.05846/0.3298, allocations: 62.96 MB / 1.041 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0167/0.3465, allocations: 10.87 MB / 1.052 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/0.349, allocations: 51.62 kB / 1.052 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002881/0.3519, allocations: 0.7462 MB / 1.052 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008406/0.3604, allocations: 2.249 MB / 1.055 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005203/0.3656, allocations: 1.534 MB / 1.056 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005817/0.3714, allocations: 2.475 MB / 1.058 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.3737, allocations: 1.029 MB / 1.059 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/0.377, allocations: 1.14 MB / 1.061 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.3789, allocations: 0.7778 MB / 1.061 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004262/0.3793, allocations: 52 kB / 1.061 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.3825, allocations: 0.8425 MB / 1.062 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004899/0.383, allocations: 262.9 kB / 1.062 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000756/0.3838, allocations: 360.8 kB / 1.063 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003321/0.3871, allocations: 2.011 MB / 1.065 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3871, allocations: 8 kB / 1.065 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3871, allocations: 0 / 1.065 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.698e-05/0.3872, allocations: 0 / 1.065 GB, free: 4.07 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.004013/0.3912, allocations: 1.772 MB / 1.067 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3912, allocations: 8.031 kB / 1.067 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002452/0.3915, allocations: 147.9 kB / 1.067 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/0.3923, allocations: 237.9 kB / 1.067 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/0.3949, allocations: 1.373 MB / 1.068 GB, free: 420 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.076e-05/0.395, allocations: 78 kB / 1.068 GB, free: 344 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.3952, allocations: 100 kB / 1.068 GB, free: 244 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5352/0.9304, allocations: 1.098 MB / 1.069 GB, free: 91.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.9305, allocations: 2.031 kB / 1.069 GB, free: 91.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.9306, allocations: 40.56 kB / 1.07 GB, free: 91.08 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.394e-05/0.9307, allocations: 31.28 kB / 1.07 GB, free: 91.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.9328, allocations: 0.9197 MB / 1.07 GB, free: 90.87 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.007544/0.9404, allocations: 4.96 MB / 1.075 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.9419, allocations: 0.647 MB / 1.076 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005413/0.9425, allocations: 0.8234 MB / 1.077 GB, free: 86.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.9425, allocations: 42.75 kB / 1.077 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 2.745e-06/0.9425, allocations: 0 / 1.077 GB, free: 86.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.008203/0.9507, allocations: 1.869 MB / 1.079 GB, free: 85.94 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.9508, allocations: 65.38 kB / 1.079 GB, free: 85.87 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.9534, allocations: 1.244 MB / 1.08 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.9536, allocations: 43.84 kB / 1.08 GB, free: 85.31 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005701/0.9542, allocations: 0.5968 MB / 1.08 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.9545, allocations: 213.7 kB / 1.081 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.9546, allocations: 14.78 kB / 1.081 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.9547, allocations: 337.6 kB / 1.081 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007841/0.9555, allocations: 297.5 kB / 1.081 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009104/0.9564, allocations: 0.4968 MB / 1.082 GB, free: 83.97 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007951/0.9572, allocations: 361.1 kB / 1.082 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.9572, allocations: 3.656 kB / 1.082 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005263/0.9625, allocations: 1.394 MB / 1.083 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002774/0.9628, allocations: 1.418 MB / 1.085 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.9628, allocations: 7.75 kB / 1.085 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006587/0.9635, allocations: 152.1 kB / 1.085 GB, free: 81.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007602/0.9642, allocations: 168.4 kB / 1.085 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009988/0.9653, allocations: 0.6971 MB / 1.086 GB, free: 81.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.9673, allocations: 180.5 kB / 1.086 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.9675, allocations: 35.03 kB / 1.086 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.9675, allocations: 7.219 kB / 1.086 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005593/0.9731, allocations: 1.244 MB / 1.087 GB, free: 80.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.9732, allocations: 3.5 kB / 1.087 GB, free: 80.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006923/0.9739, allocations: 144.7 kB / 1.087 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009033/0.9748, allocations: 170.7 kB / 1.088 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009057/0.9757, allocations: 0.7039 MB / 1.088 GB, free: 80.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.9774, allocations: 158.4 kB / 1.088 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.082e-05/0.9774, allocations: 36.8 kB / 1.088 GB, free: 80.22 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.0008195/0.9783, allocations: 424.6 kB / 1.089 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.9786, allocations: 131 kB / 1.089 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004868/0.9835, allocations: 1.398 MB / 1.09 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.9835, allocations: 7.078 kB / 1.09 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.9835, allocations: 0.9688 kB / 1.09 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004334/0.9878, allocations: 1.233 MB / 1.092 GB, free: 79 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007489/0.9954, allocations: 2.752 MB / 1.094 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.9954, allocations: 10.97 kB / 1.094 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.996, allocations: 123.5 kB / 1.094 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005408/0.9965, allocations: 138 kB / 1.095 GB, free: 77.74 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-05/0.9966, allocations: 23.66 kB / 1.095 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004981/1.002, allocations: 2.495 MB / 1.097 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.002, allocations: 12.12 kB / 1.097 GB, free: 75.95 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005849/1.007, allocations: 2.058 MB / 1.099 GB, free: 74.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.008, allocations: 346.7 kB / 1.099 GB, free: 74.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/1.009, allocations: 15.53 kB / 1.099 GB, free: 74.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009247/1.01, allocations: 93.3 kB / 1.099 GB, free: 74.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/1.01, allocations: 64.2 kB / 1.1 GB, free: 74.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-05/1.01, allocations: 32.56 kB / 1.1 GB, free: 74.54 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001445/1.011, allocations: 0.895 MB / 1.1 GB, free: 74.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/1.011, allocations: 0 / 1.1 GB, free: 74.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002437/1.014, allocations: 0.7168 MB / 1.101 GB, free: 74.02 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.006604/1.02, allocations: 3.856 MB / 1.105 GB, free: 71.19 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002778/1.023, allocations: 1.163 MB / 1.106 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.023, allocations: 1.531 kB / 1.106 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/1.025, allocations: 0.5891 MB / 1.107 GB, free: 70.36 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003719/1.028, allocations: 0.7521 MB / 1.107 GB, free: 70.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006773/1.035, allocations: 5.928 MB / 1.113 GB, free: 65.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009134/1.036, allocations: 1.196 MB / 1.114 GB, free: 64.13 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001696/1.038, allocations: 315.4 kB / 1.115 GB, free: 63.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006208/1.039, allocations: 0.4997 MB / 1.115 GB, free: 63.56 MB / 0.6823 GB Notification: Performance of SimCode: time 1.783e-06/1.039, allocations: 0 / 1.115 GB, free: 63.56 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0643/1.103, allocations: 42.09 MB / 1.156 GB, free: 28.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/1.103, allocations: 247.1 kB / 1.156 GB, free: 28.03 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.514/4.617, allocations: 0 / 1.156 GB, free: 28.03 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)