Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 249.5 MB / 257 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 183.5 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008484/0.0008485, allocations: 98.72 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.09e-05/2.091e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2261, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.087/6.313, allocations: 2.24 GB / 3.125 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/6.313, allocations: 100.6 kB / 3.125 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.49/13.8, allocations: 1.903 GB / 5.029 GB, free: 115 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.363e-06/13.8, allocations: 0 / 5.029 GB, free: 115 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000292/13.8, allocations: 69.52 kB / 5.029 GB, free: 115 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 0.00838/13.81, allocations: 2.613 MB / 5.031 GB, free: 114.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/13.81, allocations: 10 kB / 5.031 GB, free: 114.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005862/13.82, allocations: 0.7841 MB / 5.032 GB, free: 114.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006445/13.82, allocations: 2.348 MB / 5.034 GB, free: 113.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.839e-05/13.82, allocations: 54.72 kB / 5.034 GB, free: 113.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003235/13.82, allocations: 101.1 kB / 5.034 GB, free: 113.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002414/13.83, allocations: 1.28 MB / 5.036 GB, free: 113.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/13.83, allocations: 1.509 MB / 5.037 GB, free: 113.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.997e-05/13.83, allocations: 0.5625 kB / 5.037 GB, free: 113.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/13.83, allocations: 3.5 kB / 5.037 GB, free: 113.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.148e-05/13.83, allocations: 51.91 kB / 5.037 GB, free: 113.5 MB / 0.9167 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.01088/13.84, allocations: 7.805 MB / 5.045 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/13.84, allocations: 1.594 MB / 5.046 GB, free: 108.9 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/13.84, allocations: 0.5315 MB / 5.047 GB, free: 108.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004272/13.84, allocations: 216.3 kB / 5.047 GB, free: 108.7 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008196/13.84, allocations: 0.552 MB / 5.048 GB, free: 108.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001232/13.85, allocations: 100.2 kB / 5.048 GB, free: 108.6 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=102): time 4.909e-06/13.85, allocations: 0 / 5.048 GB, free: 108.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=105): time 0.006044/13.85, allocations: 2.742 MB / 5.05 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/13.85, allocations: 177.1 kB / 5.051 GB, free: 107.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/13.85, allocations: 1.208 MB / 5.052 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/13.85, allocations: 31.98 kB / 5.052 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007677/13.85, allocations: 0.9636 MB / 5.053 GB, free: 107.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/13.85, allocations: 360.8 kB / 5.053 GB, free: 107 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/13.85, allocations: 0 / 5.053 GB, free: 107 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.222e-05/13.85, allocations: 354.4 kB / 5.053 GB, free: 106.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/13.86, allocations: 417.2 kB / 5.054 GB, free: 106.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007563/13.86, allocations: 0.772 MB / 5.055 GB, free: 106.3 MB / 0.9167 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.004484/13.86, allocations: 1.767 MB / 5.056 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/13.86, allocations: 3.781 kB / 5.056 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002751/13.86, allocations: 1.397 MB / 5.058 GB, free: 106 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006572/13.86, allocations: 3.041 MB / 5.061 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/13.86, allocations: 13.36 kB / 5.061 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/13.86, allocations: 45.5 kB / 5.061 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/13.87, allocations: 277.5 kB / 5.061 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009676/13.87, allocations: 1.448 MB / 5.062 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/13.87, allocations: 136.3 kB / 5.063 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/13.87, allocations: 55.27 kB / 5.063 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/13.87, allocations: 3.625 kB / 5.063 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002048/13.87, allocations: 1.169 MB / 5.064 GB, free: 101.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/13.87, allocations: 11.7 kB / 5.064 GB, free: 101.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/13.87, allocations: 43.83 kB / 5.064 GB, free: 101.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/13.87, allocations: 282.4 kB / 5.064 GB, free: 101.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008671/13.87, allocations: 1.44 MB / 5.065 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/13.87, allocations: 131.3 kB / 5.066 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/13.87, allocations: 56.83 kB / 5.066 GB, free: 100.2 MB / 0.9167 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.0003568/13.88, allocations: 147.2 kB / 5.066 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002041/13.88, allocations: 1.123 MB / 5.067 GB, free: 99.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/13.88, allocations: 194.5 kB / 5.067 GB, free: 99.84 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/13.88, allocations: 1.203 MB / 5.068 GB, free: 99.74 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/13.88, allocations: 11.56 kB / 5.068 GB, free: 99.74 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/13.88, allocations: 3.953 kB / 5.068 GB, free: 99.73 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/13.88, allocations: 0.9713 MB / 5.069 GB, free: 99.62 MB / 0.9167 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.005824/13.89, allocations: 3.162 MB / 5.072 GB, free: 98.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/13.89, allocations: 3.938 kB / 5.072 GB, free: 98.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/13.89, allocations: 227.8 kB / 5.072 GB, free: 98.97 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002249/13.89, allocations: 66.69 kB / 5.073 GB, free: 98.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.42e-05/13.89, allocations: 19.67 kB / 5.073 GB, free: 98.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/13.89, allocations: 2.67 MB / 5.075 GB, free: 96.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/13.89, allocations: 3.953 kB / 5.075 GB, free: 96.57 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/13.89, allocations: 1.928 MB / 5.077 GB, free: 96.13 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/13.9, allocations: 377.9 kB / 5.077 GB, free: 95.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/13.9, allocations: 12.52 kB / 5.077 GB, free: 95.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/13.9, allocations: 146.6 kB / 5.078 GB, free: 95.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/13.9, allocations: 71.33 kB / 5.078 GB, free: 95.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.25e-05/13.9, allocations: 40.75 kB / 5.078 GB, free: 95.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001705/13.9, allocations: 0.9162 MB / 5.079 GB, free: 95.79 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.943e-06/13.9, allocations: 0 / 5.079 GB, free: 95.79 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005432/13.9, allocations: 1.165 MB / 5.08 GB, free: 95.75 MB / 0.9167 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.009647/13.91, allocations: 6.274 MB / 5.086 GB, free: 93.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003629/13.92, allocations: 2.131 MB / 5.088 GB, free: 92.89 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/13.92, allocations: 3.75 kB / 5.088 GB, free: 92.89 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009685/13.92, allocations: 0.7101 MB / 5.089 GB, free: 92.68 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005059/13.92, allocations: 0.9282 MB / 5.09 GB, free: 92.66 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009285/13.93, allocations: 3.676 MB / 5.093 GB, free: 91.74 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/13.93, allocations: 1.639 MB / 5.095 GB, free: 91.01 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003382/13.94, allocations: 0.6824 MB / 5.095 GB, free: 90.99 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/13.94, allocations: 0.8252 MB / 5.096 GB, free: 90.98 MB / 0.9167 GB Notification: Performance of SimCode: time 1.543e-06/13.94, allocations: 0 / 5.096 GB, free: 90.98 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.145/14.08, allocations: 75.64 MB / 5.17 GB, free: 87.73 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/14.08, allocations: 179.9 kB / 5.17 GB, free: 87.54 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.91/18.99, allocations: 4 kB / 5.17 GB, free: 87.54 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)