Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",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.715/1.715, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001671/0.001671, allocations: 185 kB / 371.8 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.709/1.709, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.001137/0.001137, allocations: 90.91 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.000449, allocations: 11.75 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2538, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.648/6.902, allocations: 2.325 GB / 3.304 GB, free: 347.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/6.903, allocations: 88.95 kB / 3.304 GB, free: 347.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.982/9.885, allocations: 0.7882 GB / 4.092 GB, free: 170.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.493e-06/9.885, allocations: 2.953 kB / 4.092 GB, free: 170.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001517/9.885, allocations: 32.28 kB / 4.092 GB, free: 170.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.005895/9.891, allocations: 1.707 MB / 4.094 GB, free: 169.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/9.891, allocations: 11.66 kB / 4.094 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003642/9.891, allocations: 118.4 kB / 4.094 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002572/9.894, allocations: 442.2 kB / 4.095 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/9.897, allocations: 1.026 MB / 4.096 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006448/9.897, allocations: 194.2 kB / 4.096 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002534/9.897, allocations: 68.94 kB / 4.096 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/9.9, allocations: 1.12 MB / 4.097 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/9.9, allocations: 3.844 kB / 4.097 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/9.9, allocations: 34.86 kB / 4.097 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.586e-05/9.9, allocations: 31.34 kB / 4.097 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003055/9.903, allocations: 1.238 MB / 4.098 GB, free: 168.9 MB / 0.948 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.008632/9.912, allocations: 4.159 MB / 4.102 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/9.915, allocations: 0.9261 MB / 4.103 GB, free: 167.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/9.916, allocations: 0.632 MB / 4.104 GB, free: 166.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001694/9.918, allocations: 0.6337 MB / 4.104 GB, free: 166.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 7.413e-06/9.918, allocations: 0 / 4.104 GB, free: 166.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.004699/9.922, allocations: 1.506 MB / 4.106 GB, free: 166.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/9.922, allocations: 85.42 kB / 4.106 GB, free: 166.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/9.924, allocations: 0.7304 MB / 4.107 GB, free: 166.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/9.924, allocations: 42.89 kB / 4.107 GB, free: 166.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005841/9.925, allocations: 433.6 kB / 4.107 GB, free: 165.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/9.925, allocations: 189.6 kB / 4.107 GB, free: 165.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/9.925, allocations: 11.56 kB / 4.107 GB, free: 165.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001132/9.925, allocations: 334.3 kB / 4.108 GB, free: 165.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/9.927, allocations: 451.4 kB / 4.108 GB, free: 165.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/9.928, allocations: 0.591 MB / 4.109 GB, free: 165.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/9.929, allocations: 499.6 kB / 4.109 GB, free: 165.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/9.929, allocations: 3.5 kB / 4.109 GB, free: 165.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002942/9.932, allocations: 1.146 MB / 4.11 GB, free: 165.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002076/9.932, allocations: 0.7319 MB / 4.111 GB, free: 164.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/9.932, allocations: 0 / 4.111 GB, free: 164.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/9.932, allocations: 4.406 kB / 4.111 GB, free: 164.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/9.934, allocations: 241.6 kB / 4.111 GB, free: 164.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006101/9.934, allocations: 1.194 MB / 4.112 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/9.936, allocations: 193.9 kB / 4.113 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/9.936, allocations: 32.06 kB / 4.113 GB, free: 163.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/9.936, allocations: 5.344 kB / 4.113 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002553/9.939, allocations: 1.046 MB / 4.114 GB, free: 163.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/9.939, allocations: 3.531 kB / 4.114 GB, free: 163.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/9.939, allocations: 5.859 kB / 4.114 GB, free: 163.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/9.94, allocations: 228.8 kB / 4.114 GB, free: 163.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/9.94, allocations: 3.906 kB / 4.114 GB, free: 163.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/9.941, allocations: 185.9 kB / 4.114 GB, free: 163.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.541e-05/9.941, allocations: 33.5 kB / 4.114 GB, free: 163.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007012/9.942, allocations: 345.9 kB / 4.114 GB, free: 163 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/9.942, allocations: 102.3 kB / 4.114 GB, free: 163 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003133/9.945, allocations: 1.203 MB / 4.116 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/9.945, allocations: 7.031 kB / 4.116 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/9.945, allocations: 2.906 kB / 4.116 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/9.945, allocations: 3.656 kB / 4.116 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005087/9.95, allocations: 2.371 MB / 4.118 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/9.951, allocations: 6.219 kB / 4.118 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/9.952, allocations: 221.2 kB / 4.118 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.998e-05/9.952, allocations: 10.59 kB / 4.118 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/9.952, allocations: 20.53 kB / 4.118 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004863/9.952, allocations: 1.193 MB / 4.119 GB, free: 161.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/9.952, allocations: 5.875 kB / 4.119 GB, free: 161.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/9.955, allocations: 1.407 MB / 4.121 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007306/9.956, allocations: 297.7 kB / 4.121 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/9.956, allocations: 17.61 kB / 4.121 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/9.958, allocations: 156.6 kB / 4.121 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/9.958, allocations: 60.22 kB / 4.121 GB, free: 160.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.962e-05/9.958, allocations: 35.77 kB / 4.121 GB, free: 160.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000957/9.959, allocations: 0.5708 MB / 4.122 GB, free: 160.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.51e-07/9.959, allocations: 0 / 4.122 GB, free: 160.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002679/9.961, allocations: 0.6338 MB / 4.123 GB, free: 160.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006275/9.968, allocations: 4.305 MB / 4.127 GB, free: 158.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004581/9.972, allocations: 1.703 MB / 4.128 GB, free: 158.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/9.972, allocations: 2.906 kB / 4.128 GB, free: 158.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/9.974, allocations: 0.5891 MB / 4.129 GB, free: 158.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/9.976, allocations: 450.9 kB / 4.129 GB, free: 158.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006367/9.983, allocations: 3.842 MB / 4.133 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/9.983, allocations: 1.064 MB / 4.134 GB, free: 155.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001488/9.985, allocations: 296.9 kB / 4.134 GB, free: 155.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006087/9.986, allocations: 356.4 kB / 4.135 GB, free: 155.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.543e-06/9.986, allocations: 0 / 4.135 GB, free: 155.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08604/10.07, allocations: 49.56 MB / 4.183 GB, free: 152.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/10.07, allocations: 270.3 kB / 4.183 GB, free: 152.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.932/14, allocations: 0 / 4.183 GB, free: 152.6 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)