Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",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.472/1.472, allocations: 287.4 MB / 302.5 MB, free: 8.285 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.0008982/0.0008983, allocations: 178.3 kB / 371.1 MB, free: 10.82 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.088/1.088, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006841/0.0006841, allocations: 103.3 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003088, allocations: 11.61 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1365, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.03799/0.1745, allocations: 56.56 MB / 1.034 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.1863, allocations: 11.13 MB / 1.045 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006901/0.187, allocations: 47.69 kB / 1.045 GB, free: 8.176 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0009476/0.1879, allocations: 464.8 kB / 1.045 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.1905, allocations: 1.521 MB / 1.047 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.1922, allocations: 0.8806 MB / 1.048 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.002604/0.1949, allocations: 3.426 MB / 1.051 GB, free: 1.883 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009133/0.1958, allocations: 0.8992 MB / 1.052 GB, free: 0.9492 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.197, allocations: 1.046 MB / 1.053 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000754/0.1978, allocations: 0.8244 MB / 1.054 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.791e-05/0.1979, allocations: 47.94 kB / 1.054 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.1995, allocations: 1.099 MB / 1.055 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.1996, allocations: 207 kB / 1.055 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.1998, allocations: 285 kB / 1.055 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.2012, allocations: 1.641 MB / 1.057 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2012, allocations: 3.984 kB / 1.057 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2012, allocations: 0 / 1.057 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.2012, allocations: 7.938 kB / 1.057 GB, free: 11.78 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002073/0.2033, allocations: 1.505 MB / 1.058 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2034, allocations: 8.031 kB / 1.058 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.2035, allocations: 123 kB / 1.059 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/0.2056, allocations: 0.5258 MB / 1.059 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.2072, allocations: 1.136 MB / 1.06 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000306/0.2075, allocations: 133.9 kB / 1.06 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.2077, allocations: 80 kB / 1.06 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.2094, allocations: 1.029 MB / 1.061 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2095, allocations: 0 / 1.061 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.556e-05/0.2095, allocations: 32 kB / 1.061 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.2095, allocations: 23.94 kB / 1.061 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.2118, allocations: 0.9992 MB / 1.062 GB, free: 6.035 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.004835/0.2167, allocations: 4.703 MB / 1.067 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2806/0.4973, allocations: 1.116 MB / 1.068 GB, free: 91.07 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.4985, allocations: 441.2 kB / 1.068 GB, free: 91.06 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000688/0.4993, allocations: 1.026 MB / 1.069 GB, free: 89.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.4993, allocations: 41.88 kB / 1.07 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 2.625e-06/0.4993, allocations: 0 / 1.07 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.007252/0.5066, allocations: 2.147 MB / 1.072 GB, free: 89.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.5066, allocations: 60.38 kB / 1.072 GB, free: 89.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.5077, allocations: 0.9303 MB / 1.073 GB, free: 89.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.5078, allocations: 38.25 kB / 1.073 GB, free: 89.26 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.5081, allocations: 0.5046 MB / 1.073 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.5082, allocations: 185.9 kB / 1.073 GB, free: 88.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.5082, allocations: 12.5 kB / 1.073 GB, free: 88.85 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.831e-05/0.5083, allocations: 330.3 kB / 1.074 GB, free: 88.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009595/0.5093, allocations: 376.7 kB / 1.074 GB, free: 88.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.5103, allocations: 0.537 MB / 1.074 GB, free: 88.17 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/0.5121, allocations: 0.8065 MB / 1.075 GB, free: 87.87 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5122, allocations: 0.75 kB / 1.075 GB, free: 87.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003433/0.5156, allocations: 1.294 MB / 1.077 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.5157, allocations: 158.2 kB / 1.077 GB, free: 87.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5157, allocations: 7 kB / 1.077 GB, free: 87.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.5168, allocations: 330.9 kB / 1.077 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/0.5174, allocations: 146.5 kB / 1.077 GB, free: 87.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.5187, allocations: 0.9423 MB / 1.078 GB, free: 86.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000958/0.5196, allocations: 171.1 kB / 1.078 GB, free: 86.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.5197, allocations: 28.11 kB / 1.078 GB, free: 86.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/0.5197, allocations: 7.875 kB / 1.078 GB, free: 86.47 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003137/0.5229, allocations: 1.155 MB / 1.079 GB, free: 86.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5229, allocations: 1.812 kB / 1.079 GB, free: 86.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009465/0.5238, allocations: 325.7 kB / 1.08 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/0.5244, allocations: 141.2 kB / 1.08 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.5256, allocations: 0.9294 MB / 1.081 GB, free: 85.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008738/0.5265, allocations: 169.6 kB / 1.081 GB, free: 85.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.5266, allocations: 32.25 kB / 1.081 GB, free: 85.33 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0003324/0.5269, allocations: 352.3 kB / 1.081 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.527, allocations: 110.9 kB / 1.081 GB, free: 84.99 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/0.5298, allocations: 1.221 MB / 1.083 GB, free: 84.56 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.5298, allocations: 9.734 kB / 1.083 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5298, allocations: 5.344 kB / 1.083 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.5298, allocations: 7.031 kB / 1.083 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00374/0.5336, allocations: 2.305 MB / 1.085 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.5336, allocations: 2.125 kB / 1.085 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.5341, allocations: 118 kB / 1.085 GB, free: 83.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008816/0.535, allocations: 321.2 kB / 1.085 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.535, allocations: 22.05 kB / 1.085 GB, free: 83.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.5362, allocations: 0.9664 MB / 1.086 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5362, allocations: 5.781 kB / 1.086 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00313/0.5394, allocations: 1.396 MB / 1.088 GB, free: 82.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/0.5397, allocations: 295.1 kB / 1.088 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.5398, allocations: 19.56 kB / 1.088 GB, free: 81.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000817/0.5406, allocations: 121.2 kB / 1.088 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.5407, allocations: 39.67 kB / 1.088 GB, free: 81.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.5408, allocations: 25.05 kB / 1.088 GB, free: 81.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007075/0.5415, allocations: 0.6622 MB / 1.089 GB, free: 81.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5415, allocations: 0 / 1.089 GB, free: 81.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001135/0.5426, allocations: 0.5705 MB / 1.089 GB, free: 81.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003331/0.546, allocations: 2.058 MB / 1.091 GB, free: 80.37 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003236/0.5492, allocations: 1.386 MB / 1.093 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5492, allocations: 1.25 kB / 1.093 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.5503, allocations: 489.3 kB / 1.093 GB, free: 79.85 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.5525, allocations: 0.5035 MB / 1.094 GB, free: 79.72 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.5641, allocations: 6.765 MB / 1.1 GB, free: 76.34 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.5646, allocations: 1.069 MB / 1.101 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008766/0.5655, allocations: 229.9 kB / 1.101 GB, free: 75.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/0.5659, allocations: 421.5 kB / 1.102 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/0.5659, allocations: 2.391 kB / 1.102 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6747/1.241, allocations: 33.39 MB / 1.135 GB, free: 51.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/1.241, allocations: 262.2 kB / 1.135 GB, free: 51.33 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/3.82, allocations: 0 / 1.135 GB, free: 51.33 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)