Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_TEva",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 2.613/2.613, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001579/0.001579, allocations: 185.7 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.379/2.379, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001093/0.001093, allocations: 97.83 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005077/0.0005079, allocations: 12.33 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2183, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.07368/0.2921, allocations: 51.31 MB / 1.028 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0224/0.3145, allocations: 10.23 MB / 1.038 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/0.3168, allocations: 55.56 kB / 1.038 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003362/0.3202, allocations: 0.618 MB / 1.039 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.3303, allocations: 1.9 MB / 1.041 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.009213/0.3396, allocations: 1.329 MB / 1.042 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006828/0.3465, allocations: 1.854 MB / 1.044 GB, free: 8.875 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002814/0.3493, allocations: 0.8018 MB / 1.045 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004478/0.3539, allocations: 0.9925 MB / 1.046 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.3563, allocations: 0.6027 MB / 1.046 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003945/0.3567, allocations: 40 kB / 1.046 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005034/0.3617, allocations: 0.9946 MB / 1.047 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0007241/0.3625, allocations: 199.1 kB / 1.048 GB, free: 5.219 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.000912/0.3635, allocations: 289 kB / 1.048 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003947/0.3674, allocations: 1.594 MB / 1.049 GB, free: 3.332 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3675, allocations: 0 / 1.049 GB, free: 3.332 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.44e-06/0.3675, allocations: 3.984 kB / 1.049 GB, free: 3.328 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.341e-05/0.3676, allocations: 0 / 1.049 GB, free: 3.328 MB / 0.6667 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.004722/0.3723, allocations: 1.485 MB / 1.051 GB, free: 1.785 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.3724, allocations: 12.03 kB / 1.051 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003429/0.3727, allocations: 126.7 kB / 1.051 GB, free: 1.641 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004154/0.3769, allocations: 469.9 kB / 1.051 GB, free: 1.18 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/0.381, allocations: 1.062 MB / 1.052 GB, free: 60 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00105/0.3821, allocations: 126 kB / 1.053 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003377/0.3825, allocations: 83.94 kB / 1.053 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00433/0.3868, allocations: 0.9956 MB / 1.054 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.3869, allocations: 4 kB / 1.054 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.387, allocations: 36 kB / 1.054 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.3871, allocations: 19.94 kB / 1.054 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00442/0.3915, allocations: 0.9172 MB / 1.055 GB, free: 13.85 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.01153/0.4031, allocations: 4.641 MB / 1.059 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006726/0.4099, allocations: 0.9383 MB / 1.06 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009455/0.4109, allocations: 0.899 MB / 1.061 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.411, allocations: 46.94 kB / 1.061 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.517e-06/0.411, allocations: 0 / 1.061 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.01418/0.4252, allocations: 1.987 MB / 1.063 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.4253, allocations: 59.84 kB / 1.063 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/0.428, allocations: 1.071 MB / 1.064 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001701/0.4282, allocations: 37.7 kB / 1.064 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006726/0.4289, allocations: 0.5197 MB / 1.065 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.4291, allocations: 165.6 kB / 1.065 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.781e-05/0.4292, allocations: 12 kB / 1.065 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.4294, allocations: 329.9 kB / 1.065 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.4311, allocations: 328.9 kB / 1.065 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.4332, allocations: 0.5287 MB / 1.066 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.435, allocations: 356.6 kB / 1.066 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.435, allocations: 4 kB / 1.066 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.006959/0.442, allocations: 1.233 MB / 1.067 GB, free: 28 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.6146/1.057, allocations: 1.491 MB / 1.069 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/1.057, allocations: 3.562 kB / 1.069 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/1.059, allocations: 328 kB / 1.069 GB, free: 88.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/1.06, allocations: 140.8 kB / 1.069 GB, free: 88.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/1.063, allocations: 0.9414 MB / 1.07 GB, free: 88.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/1.066, allocations: 189.6 kB / 1.07 GB, free: 88.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/1.066, allocations: 30.75 kB / 1.07 GB, free: 88.31 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.066, allocations: 4.125 kB / 1.07 GB, free: 88.31 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00633/1.072, allocations: 1.095 MB / 1.071 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.072, allocations: 4.188 kB / 1.071 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/1.074, allocations: 321.2 kB / 1.072 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.075, allocations: 133.6 kB / 1.072 GB, free: 88.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/1.078, allocations: 0.9334 MB / 1.073 GB, free: 87.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/1.08, allocations: 176.3 kB / 1.073 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/1.08, allocations: 29.55 kB / 1.073 GB, free: 87.61 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007769/1.081, allocations: 356.7 kB / 1.073 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/1.081, allocations: 112.4 kB / 1.073 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/1.086, allocations: 1.037 MB / 1.074 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/1.086, allocations: 9.453 kB / 1.075 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.086, allocations: 3.203 kB / 1.075 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.086, allocations: 6.594 kB / 1.075 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/1.098, allocations: 2.473 MB / 1.077 GB, free: 85.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.313e-05/1.098, allocations: 2.125 kB / 1.077 GB, free: 85.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007053/1.098, allocations: 77.73 kB / 1.077 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/1.1, allocations: 331.6 kB / 1.077 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/1.101, allocations: 14 kB / 1.077 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/1.103, allocations: 0.9729 MB / 1.078 GB, free: 85.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/1.103, allocations: 5.766 kB / 1.078 GB, free: 85.22 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007282/1.111, allocations: 1.406 MB / 1.08 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000981/1.112, allocations: 291.4 kB / 1.08 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/1.112, allocations: 13.69 kB / 1.08 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/1.114, allocations: 113 kB / 1.08 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/1.114, allocations: 44.94 kB / 1.08 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.114, allocations: 26.8 kB / 1.08 GB, free: 84.26 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002044/1.116, allocations: 0.7503 MB / 1.081 GB, free: 83.94 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.01e-07/1.116, allocations: 0 / 1.081 GB, free: 83.94 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002744/1.119, allocations: 0.5673 MB / 1.081 GB, free: 83.85 MB / 0.6823 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 (37): * Single equations (assignments): 32 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.008279/1.127, allocations: 2.819 MB / 1.084 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005991/1.133, allocations: 1.208 MB / 1.085 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.133, allocations: 0 / 1.085 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/1.135, allocations: 385.2 kB / 1.086 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004677/1.14, allocations: 0.5212 MB / 1.086 GB, free: 81.42 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/1.151, allocations: 5.799 MB / 1.092 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008902/1.152, allocations: 1.092 MB / 1.093 GB, free: 76.25 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001888/1.154, allocations: 235.3 kB / 1.093 GB, free: 76.19 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008839/1.155, allocations: 414.5 kB / 1.094 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of SimCode: time 1.001e-06/1.155, allocations: 1.125 kB / 1.094 GB, free: 75.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09777/1.253, allocations: 33.56 MB / 1.126 GB, free: 58.93 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/1.253, allocations: 240.6 kB / 1.127 GB, free: 58.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.91/5.164, allocations: 3.938 kB / 1.127 GB, free: 58.66 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)