Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.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.Examples.AirHeater_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",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.645/1.645, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001121/0.001121, allocations: 180.9 kB / 361.4 MB, free: 6.816 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.867/1.867, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.001055/0.001055, allocations: 86 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.064e-05, allocations: 4 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8349/0.835, allocations: 115.3 MB / 0.9644 GB, free: 78.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.454/6.29, allocations: 2.121 GB / 3.085 GB, free: 37.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/6.29, allocations: 92.7 kB / 3.085 GB, free: 37.73 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.186/14.48, allocations: 1.962 GB / 5.048 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.613e-06/14.48, allocations: 0 / 5.048 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003111/14.48, allocations: 67.83 kB / 5.048 GB, free: 121.2 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.008181/14.48, allocations: 2.62 MB / 5.05 GB, free: 120.2 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/14.48, allocations: 7.906 kB / 5.05 GB, free: 120.2 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005926/14.49, allocations: 0.7871 MB / 5.051 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006188/14.5, allocations: 2.346 MB / 5.053 GB, free: 119.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.137e-05/14.5, allocations: 52.94 kB / 5.053 GB, free: 119.7 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/14.5, allocations: 95.5 kB / 5.053 GB, free: 119.7 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002601/14.5, allocations: 1.268 MB / 5.055 GB, free: 119.7 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/14.5, allocations: 1.503 MB / 5.056 GB, free: 119.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/14.5, allocations: 3.562 kB / 5.056 GB, free: 119.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/14.5, allocations: 6.531 kB / 5.056 GB, free: 119.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-05/14.5, allocations: 57.22 kB / 5.056 GB, free: 119.5 MB / 0.9792 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.01095/14.51, allocations: 7.788 MB / 5.064 GB, free: 115.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/14.52, allocations: 1.604 MB / 5.065 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007402/14.52, allocations: 0.5352 MB / 5.066 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004478/14.52, allocations: 211.8 kB / 5.066 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008323/14.52, allocations: 0.5529 MB / 5.067 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001232/14.52, allocations: 91.45 kB / 5.067 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=102): time 5.069e-06/14.52, allocations: 6.969 kB / 5.067 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=105): time 0.006373/14.53, allocations: 2.768 MB / 5.069 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/14.53, allocations: 165.2 kB / 5.07 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/14.53, allocations: 1.193 MB / 5.071 GB, free: 113.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.813e-05/14.53, allocations: 29.45 kB / 5.071 GB, free: 113.5 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000898/14.53, allocations: 0.9629 MB / 5.072 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.00031/14.53, allocations: 357.1 kB / 5.072 GB, free: 113.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/14.53, allocations: 0 / 5.072 GB, free: 113.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001094/14.53, allocations: 359.3 kB / 5.072 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006143/14.53, allocations: 423.2 kB / 5.073 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008492/14.53, allocations: 0.7753 MB / 5.073 GB, free: 112.3 MB / 0.9792 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004876/14.53, allocations: 1.799 MB / 5.075 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/14.53, allocations: 0 / 5.075 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00277/14.54, allocations: 1.402 MB / 5.077 GB, free: 112 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008235/14.54, allocations: 3.039 MB / 5.08 GB, free: 108.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/14.54, allocations: 10.92 kB / 5.08 GB, free: 108.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/14.54, allocations: 47.89 kB / 5.08 GB, free: 108.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/14.54, allocations: 283.2 kB / 5.08 GB, free: 108.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/14.54, allocations: 1.446 MB / 5.081 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/14.54, allocations: 136.8 kB / 5.081 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/14.54, allocations: 59.11 kB / 5.082 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/14.54, allocations: 3.875 kB / 5.082 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002178/14.55, allocations: 1.162 MB / 5.083 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/14.55, allocations: 12.45 kB / 5.083 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001141/14.55, allocations: 51.88 kB / 5.083 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/14.55, allocations: 272.4 kB / 5.083 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008806/14.55, allocations: 1.444 MB / 5.084 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/14.55, allocations: 134.2 kB / 5.085 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/14.55, allocations: 53.95 kB / 5.085 GB, free: 106.2 MB / 0.9792 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003534/14.55, allocations: 138.6 kB / 5.085 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002333/14.55, allocations: 1.129 MB / 5.086 GB, free: 106 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004685/14.55, allocations: 199 kB / 5.086 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/14.56, allocations: 1.219 MB / 5.087 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/14.56, allocations: 11.09 kB / 5.087 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/14.56, allocations: 3.25 kB / 5.087 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001635/14.56, allocations: 0.9823 MB / 5.088 GB, free: 105.6 MB / 0.9792 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 postOpt removeSimpleEquations (simulation): time 0.006889/14.56, allocations: 3.162 MB / 5.091 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/14.56, allocations: 3.812 kB / 5.091 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/14.57, allocations: 228.2 kB / 5.091 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002461/14.57, allocations: 74.5 kB / 5.092 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-05/14.57, allocations: 14.33 kB / 5.092 GB, free: 105 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/14.57, allocations: 2.669 MB / 5.094 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/14.57, allocations: 0 / 5.094 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00324/14.57, allocations: 1.944 MB / 5.096 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/14.57, allocations: 370.2 kB / 5.096 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006069/14.57, allocations: 7.031 kB / 5.096 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/14.57, allocations: 134 kB / 5.097 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/14.58, allocations: 83.55 kB / 5.097 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/14.58, allocations: 42.44 kB / 5.097 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002096/14.58, allocations: 0.898 MB / 5.098 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.492e-06/14.58, allocations: 3.719 kB / 5.098 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006321/14.58, allocations: 1.176 MB / 5.099 GB, free: 101.7 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01078/14.59, allocations: 6.301 MB / 5.105 GB, free: 99.27 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004119/14.6, allocations: 2.141 MB / 5.107 GB, free: 98.84 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/14.6, allocations: 3.375 kB / 5.107 GB, free: 98.84 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/14.6, allocations: 0.7196 MB / 5.108 GB, free: 98.62 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005718/14.61, allocations: 0.9189 MB / 5.109 GB, free: 98.61 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/14.62, allocations: 3.658 MB / 5.112 GB, free: 97.67 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002471/14.62, allocations: 1.63 MB / 5.114 GB, free: 96.94 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004759/14.63, allocations: 0.6886 MB / 5.114 GB, free: 96.92 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/14.63, allocations: 0.8166 MB / 5.115 GB, free: 96.91 MB / 0.9792 GB Notification: Performance of SimCode: time 1.463e-06/14.63, allocations: 4.281 kB / 5.115 GB, free: 96.91 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1814/14.81, allocations: 75.53 MB / 5.189 GB, free: 93.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/14.81, allocations: 176.5 kB / 5.189 GB, free: 93.41 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.086/19.9, allocations: 0 / 5.189 GB, free: 93.41 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)