Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.775/1.775, allocations: 288.4 MB / 303.3 MB, free: 8.047 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.001333/0.001333, allocations: 174.5 kB / 372 MB, free: 10.28 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.475/1.475, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0007901/0.0007901, allocations: 86.36 kB / 0.744 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004475, allocations: 11.94 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2465, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05044/0.297, allocations: 56.54 MB / 1.035 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01751/0.3146, allocations: 11.15 MB / 1.046 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/0.3173, allocations: 51.62 kB / 1.046 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.3197, allocations: 460.9 kB / 1.046 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006972/0.3267, allocations: 1.523 MB / 1.048 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.3301, allocations: 0.8749 MB / 1.049 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005406/0.3355, allocations: 3.392 MB / 1.052 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.3375, allocations: 0.8066 MB / 1.053 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002907/0.3404, allocations: 1.042 MB / 1.054 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.3423, allocations: 0.8205 MB / 1.054 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003735/0.3427, allocations: 44 kB / 1.055 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003384/0.3461, allocations: 1.103 MB / 1.056 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004896/0.3466, allocations: 203 kB / 1.056 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000796/0.3474, allocations: 285 kB / 1.056 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.3503, allocations: 1.648 MB / 1.058 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3503, allocations: 0 / 1.058 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3503, allocations: 0 / 1.058 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.166e-05/0.3504, allocations: 0 / 1.058 GB, free: 11.44 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.003332/0.3538, allocations: 1.524 MB / 1.059 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.3538, allocations: 8.031 kB / 1.059 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002196/0.3541, allocations: 122.8 kB / 1.059 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.3567, allocations: 0.5135 MB / 1.06 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.3591, allocations: 1.098 MB / 1.061 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003776/0.3594, allocations: 129.9 kB / 1.061 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.3596, allocations: 87.94 kB / 1.061 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/0.362, allocations: 1.029 MB / 1.062 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.3621, allocations: 0 / 1.062 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.165e-05/0.3622, allocations: 35.98 kB / 1.062 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.3622, allocations: 24 kB / 1.062 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002824/0.365, allocations: 0.9915 MB / 1.063 GB, free: 5.723 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.0071/0.3721, allocations: 4.703 MB / 1.068 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5435/0.9157, allocations: 1.111 MB / 1.069 GB, free: 91.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.9173, allocations: 440.8 kB / 1.069 GB, free: 91.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009898/0.9183, allocations: 1.03 MB / 1.07 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.9184, allocations: 38.8 kB / 1.07 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.807e-06/0.9184, allocations: 3.562 kB / 1.07 GB, free: 89.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.009048/0.9274, allocations: 2.142 MB / 1.072 GB, free: 89.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.9275, allocations: 60.53 kB / 1.072 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/0.9296, allocations: 0.9336 MB / 1.073 GB, free: 89.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.567e-05/0.9297, allocations: 40.78 kB / 1.073 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/0.9302, allocations: 0.5031 MB / 1.074 GB, free: 88.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.9305, allocations: 188.2 kB / 1.074 GB, free: 88.69 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.9305, allocations: 11.16 kB / 1.074 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.9306, allocations: 333.7 kB / 1.074 GB, free: 88.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.9319, allocations: 376 kB / 1.075 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.9332, allocations: 0.5354 MB / 1.075 GB, free: 88 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.9344, allocations: 397.3 kB / 1.076 GB, free: 87.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.9344, allocations: 3.969 kB / 1.076 GB, free: 87.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004566/0.939, allocations: 1.28 MB / 1.077 GB, free: 87.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.9391, allocations: 169.3 kB / 1.077 GB, free: 87.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.9392, allocations: 6.203 kB / 1.077 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.9406, allocations: 322.9 kB / 1.077 GB, free: 87.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007914/0.9414, allocations: 143 kB / 1.077 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.9431, allocations: 0.9422 MB / 1.078 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.9447, allocations: 169.3 kB / 1.079 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.9449, allocations: 33.56 kB / 1.079 GB, free: 86.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.9449, allocations: 3.188 kB / 1.079 GB, free: 86.52 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004075/0.949, allocations: 1.154 MB / 1.08 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.949, allocations: 3.062 kB / 1.08 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.9503, allocations: 319.5 kB / 1.08 GB, free: 86.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007476/0.9511, allocations: 143.2 kB / 1.08 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.9526, allocations: 0.9347 MB / 1.081 GB, free: 85.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.9541, allocations: 170.4 kB / 1.081 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.515e-05/0.9542, allocations: 31.77 kB / 1.081 GB, free: 85.39 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.0007082/0.955, allocations: 356 kB / 1.082 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.9552, allocations: 111 kB / 1.082 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00356/0.9588, allocations: 1.215 MB / 1.083 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.9588, allocations: 16.03 kB / 1.083 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.9588, allocations: 0.5 kB / 1.083 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.9588, allocations: 4.484 kB / 1.083 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005495/0.9644, allocations: 2.309 MB / 1.085 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.9644, allocations: 1.812 kB / 1.085 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00062/0.965, allocations: 121.6 kB / 1.085 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.9662, allocations: 332.7 kB / 1.086 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/0.9663, allocations: 15.14 kB / 1.086 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.968, allocations: 0.9644 MB / 1.087 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.968, allocations: 4.469 kB / 1.087 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004402/0.9724, allocations: 1.401 MB / 1.088 GB, free: 82.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007346/0.9732, allocations: 293.8 kB / 1.088 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.9733, allocations: 12.58 kB / 1.088 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.9743, allocations: 125.7 kB / 1.088 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.9745, allocations: 43.48 kB / 1.088 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.197e-05/0.9745, allocations: 24.3 kB / 1.088 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001236/0.9758, allocations: 0.6593 MB / 1.089 GB, free: 81.65 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9758, allocations: 0 / 1.089 GB, free: 81.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00227/0.9781, allocations: 0.5673 MB / 1.09 GB, free: 81.55 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.004685/0.9828, allocations: 2.046 MB / 1.092 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004455/0.9873, allocations: 1.389 MB / 1.093 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.9873, allocations: 0 / 1.093 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.989, allocations: 491.6 kB / 1.093 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/0.9924, allocations: 0.5163 MB / 1.094 GB, free: 79.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/1.009, allocations: 6.771 MB / 1.101 GB, free: 76.39 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007946/1.01, allocations: 1.067 MB / 1.102 GB, free: 75.66 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001742/1.012, allocations: 232.4 kB / 1.102 GB, free: 75.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006034/1.012, allocations: 416.5 kB / 1.102 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of SimCode: time 2.895e-06/1.012, allocations: 5.062 kB / 1.102 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06266/1.075, allocations: 33.41 MB / 1.135 GB, free: 50.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/1.075, allocations: 276 kB / 1.135 GB, free: 50.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/4.299, allocations: 2.5 kB / 1.135 GB, free: 50.54 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)