Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001494/0.001494, allocations: 184.8 kB / 366.7 MB, free: 1.652 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.172/2.172, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.001348/0.001348, allocations: 94.62 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.889e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7999/0.8, allocations: 116.3 MB / 0.9733 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.411/7.211, allocations: 2.122 GB / 3.095 GB, free: 275.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/7.212, allocations: 95.12 kB / 3.095 GB, free: 275.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.724/14.94, allocations: 1.962 GB / 5.057 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.154e-06/14.94, allocations: 3.312 kB / 5.057 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002802/14.94, allocations: 66.17 kB / 5.057 GB, free: 115.9 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.0102/14.95, allocations: 2.613 MB / 5.06 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 8.239e-05/14.95, allocations: 9.938 kB / 5.06 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006527/14.95, allocations: 0.7933 MB / 5.061 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006902/14.96, allocations: 2.345 MB / 5.063 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.687e-05/14.96, allocations: 53.81 kB / 5.063 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002781/14.96, allocations: 97.23 kB / 5.063 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002495/14.96, allocations: 1.262 MB / 5.064 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/14.97, allocations: 1.502 MB / 5.066 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/14.97, allocations: 11.19 kB / 5.066 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/14.97, allocations: 0 / 5.066 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.066e-05/14.97, allocations: 55.45 kB / 5.066 GB, free: 113.8 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.0118/14.98, allocations: 7.781 MB / 5.074 GB, free: 110 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/14.98, allocations: 1.604 MB / 5.075 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007481/14.98, allocations: 0.5419 MB / 5.076 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004614/14.98, allocations: 208 kB / 5.076 GB, free: 109 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008736/14.98, allocations: 0.5537 MB / 5.076 GB, free: 109 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001211/14.98, allocations: 92.11 kB / 5.076 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=102): time 5.25e-06/14.98, allocations: 2.188 kB / 5.076 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=105): time 0.006469/14.99, allocations: 2.763 MB / 5.079 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/14.99, allocations: 175.5 kB / 5.079 GB, free: 108 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/14.99, allocations: 1.2 MB / 5.081 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/14.99, allocations: 32.8 kB / 5.081 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000895/14.99, allocations: 0.9589 MB / 5.081 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/14.99, allocations: 355.7 kB / 5.082 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/14.99, allocations: 0 / 5.082 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001076/14.99, allocations: 350.2 kB / 5.082 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006072/14.99, allocations: 426.8 kB / 5.083 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008229/14.99, allocations: 0.7777 MB / 5.083 GB, free: 106.5 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.004822/15, allocations: 1.795 MB / 5.085 GB, free: 106.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/15, allocations: 8.281 kB / 5.085 GB, free: 106.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002863/15, allocations: 1.411 MB / 5.086 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008051/15, allocations: 3.036 MB / 5.089 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/15, allocations: 6.719 kB / 5.089 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/15, allocations: 43.58 kB / 5.089 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/15, allocations: 283.6 kB / 5.09 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/15.01, allocations: 1.444 MB / 5.091 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/15.01, allocations: 135.3 kB / 5.091 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/15.01, allocations: 51.97 kB / 5.091 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/15.01, allocations: 4.719 kB / 5.091 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002144/15.01, allocations: 1.172 MB / 5.092 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/15.01, allocations: 12.11 kB / 5.093 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/15.01, allocations: 51.02 kB / 5.093 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/15.01, allocations: 281.9 kB / 5.093 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009492/15.01, allocations: 1.441 MB / 5.094 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/15.01, allocations: 128.2 kB / 5.094 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/15.01, allocations: 55.73 kB / 5.094 GB, free: 100.3 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.0004014/15.02, allocations: 152.8 kB / 5.095 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002166/15.02, allocations: 1.132 MB / 5.096 GB, free: 100 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/15.02, allocations: 189.3 kB / 5.096 GB, free: 99.91 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/15.02, allocations: 1.215 MB / 5.097 GB, free: 99.8 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/15.02, allocations: 15.17 kB / 5.097 GB, free: 99.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/15.02, allocations: 0 / 5.097 GB, free: 99.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001601/15.02, allocations: 0.975 MB / 5.098 GB, free: 99.68 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.005964/15.03, allocations: 3.162 MB / 5.101 GB, free: 99 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/15.03, allocations: 2.938 kB / 5.101 GB, free: 99 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/15.03, allocations: 224.4 kB / 5.101 GB, free: 99 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002484/15.03, allocations: 72.91 kB / 5.101 GB, free: 98.98 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-05/15.03, allocations: 19.81 kB / 5.101 GB, free: 98.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/15.03, allocations: 2.658 MB / 5.104 GB, free: 96.58 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/15.03, allocations: 2.734 kB / 5.104 GB, free: 96.58 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002905/15.03, allocations: 1.94 MB / 5.106 GB, free: 96.15 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009229/15.03, allocations: 377.3 kB / 5.106 GB, free: 95.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/15.04, allocations: 11.27 kB / 5.106 GB, free: 95.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/15.04, allocations: 136.3 kB / 5.106 GB, free: 95.95 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/15.04, allocations: 74.78 kB / 5.106 GB, free: 95.95 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-05/15.04, allocations: 41.59 kB / 5.106 GB, free: 95.94 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001596/15.04, allocations: 0.9004 MB / 5.107 GB, free: 95.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.61e-07/15.04, allocations: 0 / 5.107 GB, free: 95.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004589/15.04, allocations: 1.175 MB / 5.109 GB, free: 95.73 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.009157/15.05, allocations: 6.303 MB / 5.115 GB, free: 93.25 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003713/15.06, allocations: 2.133 MB / 5.117 GB, free: 92.55 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/15.06, allocations: 0 / 5.117 GB, free: 92.55 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0009933/15.06, allocations: 0.7169 MB / 5.117 GB, free: 92.15 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005291/15.06, allocations: 0.935 MB / 5.118 GB, free: 91.98 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009388/15.07, allocations: 3.652 MB / 5.122 GB, free: 90.62 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/15.07, allocations: 1.633 MB / 5.124 GB, free: 89.82 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003462/15.08, allocations: 0.6866 MB / 5.124 GB, free: 89.8 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/15.08, allocations: 0.818 MB / 5.125 GB, free: 89.15 MB / 0.9792 GB Notification: Performance of SimCode: time 1.693e-06/15.08, allocations: 0 / 5.125 GB, free: 89.15 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1432/15.22, allocations: 75.54 MB / 5.199 GB, free: 34.86 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/15.22, allocations: 172.1 kB / 5.199 GB, free: 34.66 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.277/20.5, allocations: 0 / 5.199 GB, free: 34.66 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)