Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.643/2.643, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001479/0.001479, allocations: 188.9 kB / 360.6 MB, free: 7.27 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.134/2.134, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 86.45 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.523e-05/2.534e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8378/0.8379, allocations: 115.3 MB / 0.9634 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.877/7.715, allocations: 2.324 GB / 3.287 GB, free: 157 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/7.715, allocations: 87.52 kB / 3.287 GB, free: 157 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.892/11.61, allocations: 0.7797 GB / 4.067 GB, free: 115.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.683e-06/11.61, allocations: 0 / 4.067 GB, free: 115.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000145/11.61, allocations: 27.98 kB / 4.067 GB, free: 115.4 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.00648/11.61, allocations: 1.54 MB / 4.068 GB, free: 113.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/11.61, allocations: 12.03 kB / 4.068 GB, free: 113.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004103/11.62, allocations: 442.1 kB / 4.069 GB, free: 113.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003581/11.62, allocations: 1.012 MB / 4.07 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001128/11.62, allocations: 161.9 kB / 4.07 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003073/11.62, allocations: 48 kB / 4.07 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002191/11.63, allocations: 0.7576 MB / 4.071 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/11.63, allocations: 0.8153 MB / 4.072 GB, free: 110.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/11.63, allocations: 0 / 4.072 GB, free: 110.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/11.63, allocations: 7.953 kB / 4.072 GB, free: 110.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.889e-05/11.63, allocations: 33.98 kB / 4.072 GB, free: 110.5 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01099/11.64, allocations: 4.058 MB / 4.076 GB, free: 106.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/11.64, allocations: 0.5282 MB / 4.076 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007149/11.64, allocations: 326.5 kB / 4.076 GB, free: 105.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/11.64, allocations: 0.6409 MB / 4.077 GB, free: 104.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009878/11.64, allocations: 436.6 kB / 4.078 GB, free: 104.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.176e-06/11.64, allocations: 4 kB / 4.078 GB, free: 104.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.002655/11.65, allocations: 0.7166 MB / 4.078 GB, free: 103.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/11.65, allocations: 85.61 kB / 4.078 GB, free: 103.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/11.65, allocations: 0.563 MB / 4.079 GB, free: 102.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002018/11.65, allocations: 25.81 kB / 4.079 GB, free: 102.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/11.65, allocations: 448 kB / 4.079 GB, free: 102.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/11.65, allocations: 193.1 kB / 4.079 GB, free: 102 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/11.65, allocations: 0 / 4.079 GB, free: 102 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.887e-05/11.65, allocations: 330 kB / 4.08 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006294/11.65, allocations: 257 kB / 4.08 GB, free: 101.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00076/11.65, allocations: 410.1 kB / 4.08 GB, free: 101 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/11.65, allocations: 322 kB / 4.081 GB, free: 100.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/11.65, allocations: 4 kB / 4.081 GB, free: 100.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002385/11.65, allocations: 0.7516 MB / 4.081 GB, free: 99.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002245/11.65, allocations: 0.9082 MB / 4.082 GB, free: 98.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/11.65, allocations: 7.984 kB / 4.082 GB, free: 98.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/11.65, allocations: 15.92 kB / 4.082 GB, free: 98.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/11.66, allocations: 247.6 kB / 4.083 GB, free: 98.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008055/11.66, allocations: 1.199 MB / 4.084 GB, free: 97.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/11.66, allocations: 171.6 kB / 4.084 GB, free: 97.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/11.66, allocations: 35.97 kB / 4.084 GB, free: 97.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/11.66, allocations: 4 kB / 4.084 GB, free: 97.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002214/11.66, allocations: 0.6532 MB / 4.085 GB, free: 96.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/11.66, allocations: 4 kB / 4.085 GB, free: 96.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/11.66, allocations: 4 kB / 4.085 GB, free: 96.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/11.66, allocations: 227.9 kB / 4.085 GB, free: 96.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/11.66, allocations: 4 kB / 4.085 GB, free: 96.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/11.67, allocations: 159.5 kB / 4.085 GB, free: 96.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/11.67, allocations: 35.98 kB / 4.085 GB, free: 96.11 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 () * 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.0003356/11.67, allocations: 120.6 kB / 4.085 GB, free: 95.99 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002227/11.67, allocations: 0.6853 MB / 4.086 GB, free: 95.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/11.67, allocations: 86.92 kB / 4.086 GB, free: 95.21 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/11.67, allocations: 0.8356 MB / 4.087 GB, free: 94.36 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/11.67, allocations: 7.938 kB / 4.087 GB, free: 94.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/11.67, allocations: 0 / 4.087 GB, free: 94.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/11.67, allocations: 3.984 kB / 4.087 GB, free: 94.35 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/11.68, allocations: 1.908 MB / 4.089 GB, free: 92.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/11.68, allocations: 0 / 4.089 GB, free: 92.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/11.68, allocations: 224 kB / 4.089 GB, free: 92.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-05/11.68, allocations: 12 kB / 4.089 GB, free: 92.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/11.68, allocations: 23.97 kB / 4.089 GB, free: 92.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005319/11.68, allocations: 1.188 MB / 4.09 GB, free: 90.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/11.68, allocations: 8.031 kB / 4.09 GB, free: 90.87 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/11.68, allocations: 1.055 MB / 4.091 GB, free: 89.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000718/11.68, allocations: 283.7 kB / 4.091 GB, free: 89.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/11.68, allocations: 4 kB / 4.091 GB, free: 89.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/11.69, allocations: 147.8 kB / 4.091 GB, free: 89.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/11.69, allocations: 64.31 kB / 4.092 GB, free: 89.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/11.69, allocations: 35.97 kB / 4.092 GB, free: 89.16 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007641/11.69, allocations: 439.1 kB / 4.092 GB, free: 88.73 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.81e-07/11.69, allocations: 0 / 4.092 GB, free: 88.73 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002596/11.69, allocations: 0.5847 MB / 4.093 GB, free: 88.14 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) * 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.006084/11.7, allocations: 4.103 MB / 4.097 GB, free: 83.87 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003496/11.7, allocations: 1.166 MB / 4.098 GB, free: 82.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/11.7, allocations: 0 / 4.098 GB, free: 82.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/11.7, allocations: 407 kB / 4.098 GB, free: 82.28 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/11.7, allocations: 346.5 kB / 4.098 GB, free: 81.95 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005344/11.71, allocations: 1.489 MB / 4.1 GB, free: 80.38 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/11.71, allocations: 1.067 MB / 4.101 GB, free: 79.29 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002723/11.71, allocations: 316.8 kB / 4.101 GB, free: 78.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008812/11.71, allocations: 343.3 kB / 4.102 GB, free: 78.64 MB / 0.948 GB Notification: Performance of SimCode: time 1.142e-06/11.71, allocations: 3.938 kB / 4.102 GB, free: 78.64 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/11.82, allocations: 35.39 MB / 4.136 GB, free: 43.39 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/11.82, allocations: 187.2 kB / 4.136 GB, free: 43.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.387/16.21, allocations: 0 / 4.136 GB, free: 43.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)