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.627/1.627, allocations: 288.4 MB / 303.6 MB, free: 8.121 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.0008729/0.0008729, allocations: 183 kB / 372.3 MB, free: 10.14 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.219/1.219, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0006741/0.0006742, allocations: 90.34 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003838, allocations: 12.5 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1728, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04425/0.2171, allocations: 56.55 MB / 1.035 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01369/0.2308, allocations: 11.14 MB / 1.046 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.232, allocations: 47.69 kB / 1.046 GB, free: 7.34 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.2332, allocations: 464.8 kB / 1.047 GB, free: 6.883 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.003477/0.2367, allocations: 1.621 MB / 1.048 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.2388, allocations: 0.8842 MB / 1.049 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003182/0.242, allocations: 3.429 MB / 1.053 GB, free: 0.9414 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.2431, allocations: 0.9032 MB / 1.053 GB, free: 4 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.2448, allocations: 1.101 MB / 1.055 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009019/0.2457, allocations: 0.8166 MB / 1.055 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.2458, allocations: 44 kB / 1.055 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.2479, allocations: 1.282 MB / 1.057 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.2481, allocations: 203 kB / 1.057 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000558/0.2487, allocations: 0.6119 MB / 1.057 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.2503, allocations: 1.711 MB / 1.059 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2503, allocations: 0 / 1.059 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2503, allocations: 0 / 1.059 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.2503, allocations: 0 / 1.059 GB, free: 10.21 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.002421/0.2527, allocations: 1.505 MB / 1.061 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2528, allocations: 12.03 kB / 1.061 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.2529, allocations: 130.9 kB / 1.061 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/0.2552, allocations: 0.5181 MB / 1.061 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.257, allocations: 1.14 MB / 1.062 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000343/0.2574, allocations: 129.9 kB / 1.062 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.2575, allocations: 80 kB / 1.063 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.2596, allocations: 1.029 MB / 1.064 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.2596, allocations: 4 kB / 1.064 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.719e-05/0.2597, allocations: 32 kB / 1.064 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.2597, allocations: 20 kB / 1.064 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.2622, allocations: 0.9953 MB / 1.065 GB, free: 4.469 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.3362/0.5984, allocations: 4.695 MB / 1.069 GB, free: 89.69 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004208/0.6026, allocations: 1.119 MB / 1.07 GB, free: 89.67 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.6037, allocations: 438.4 kB / 1.071 GB, free: 89.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007364/0.6045, allocations: 1.033 MB / 1.072 GB, free: 88.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.6045, allocations: 42.84 kB / 1.072 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.657e-06/0.6045, allocations: 0 / 1.072 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.007731/0.6122, allocations: 2.149 MB / 1.074 GB, free: 88.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.6123, allocations: 58.31 kB / 1.074 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.6136, allocations: 0.9355 MB / 1.075 GB, free: 87.72 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/0.6137, allocations: 38.45 kB / 1.075 GB, free: 87.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.614, allocations: 0.509 MB / 1.075 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.6141, allocations: 184.8 kB / 1.075 GB, free: 87.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.6142, allocations: 10.19 kB / 1.075 GB, free: 87.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.6142, allocations: 329.8 kB / 1.076 GB, free: 86.94 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.6153, allocations: 376.7 kB / 1.076 GB, free: 86.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.6166, allocations: 0.5287 MB / 1.077 GB, free: 86.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.6188, allocations: 0.8137 MB / 1.077 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6188, allocations: 5.156 kB / 1.077 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003929/0.6228, allocations: 1.291 MB / 1.079 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.6228, allocations: 162.2 kB / 1.079 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.6229, allocations: 2.469 kB / 1.079 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.6241, allocations: 332 kB / 1.079 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/0.6248, allocations: 142.4 kB / 1.079 GB, free: 85.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.6262, allocations: 0.9322 MB / 1.08 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.6273, allocations: 181.1 kB / 1.08 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/0.6274, allocations: 33.2 kB / 1.08 GB, free: 84.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.6274, allocations: 3.625 kB / 1.08 GB, free: 84.84 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003484/0.6309, allocations: 1.15 MB / 1.082 GB, free: 84.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6309, allocations: 3.312 kB / 1.082 GB, free: 84.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.632, allocations: 319.2 kB / 1.082 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/0.6326, allocations: 143.2 kB / 1.082 GB, free: 84.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.6339, allocations: 0.9313 MB / 1.083 GB, free: 83.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.6349, allocations: 169.6 kB / 1.083 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.635, allocations: 28.03 kB / 1.083 GB, free: 83.71 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.0004861/0.6355, allocations: 353.8 kB / 1.083 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.6356, allocations: 111.1 kB / 1.084 GB, free: 83.37 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002977/0.6386, allocations: 1.219 MB / 1.085 GB, free: 82.94 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.6387, allocations: 5.875 kB / 1.085 GB, free: 82.94 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.6387, allocations: 5.812 kB / 1.085 GB, free: 82.94 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.6387, allocations: 2.766 kB / 1.085 GB, free: 82.94 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004331/0.643, allocations: 2.32 MB / 1.087 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.643, allocations: 2.125 kB / 1.087 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/0.6436, allocations: 118 kB / 1.087 GB, free: 81.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.6447, allocations: 325.8 kB / 1.087 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.6447, allocations: 18.95 kB / 1.087 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.6461, allocations: 0.9712 MB / 1.088 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6461, allocations: 7.156 kB / 1.088 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/0.6496, allocations: 1.393 MB / 1.09 GB, free: 80.54 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/0.65, allocations: 290 kB / 1.09 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.6502, allocations: 16.89 kB / 1.09 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008942/0.6511, allocations: 127.8 kB / 1.09 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.6512, allocations: 45.05 kB / 1.09 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.6512, allocations: 25.19 kB / 1.09 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008024/0.652, allocations: 0.6561 MB / 1.091 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6521, allocations: 4 kB / 1.091 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001373/0.6534, allocations: 0.5708 MB / 1.091 GB, free: 79.88 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.003527/0.657, allocations: 2.055 MB / 1.093 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003742/0.6607, allocations: 1.391 MB / 1.095 GB, free: 78.37 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6607, allocations: 0 / 1.095 GB, free: 78.37 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.6619, allocations: 489.5 kB / 1.095 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.6644, allocations: 0.5043 MB / 1.096 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.6772, allocations: 6.772 MB / 1.102 GB, free: 74.72 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.6777, allocations: 1.07 MB / 1.103 GB, free: 73.99 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009874/0.6787, allocations: 227.9 kB / 1.104 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/0.6791, allocations: 423.3 kB / 1.104 GB, free: 73.62 MB / 0.6823 GB Notification: Performance of SimCode: time 5.91e-07/0.6792, allocations: 0 / 1.104 GB, free: 73.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.804/1.483, allocations: 33.7 MB / 1.137 GB, free: 48.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/1.483, allocations: 268.8 kB / 1.137 GB, free: 47.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.869/4.352, allocations: 0 / 1.137 GB, free: 47.7 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)