Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7789/0.7789, allocations: 140 MB / 156 MB, free: 8.438 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 189.8 kB / 188.5 MB, free: 9.012 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 426.3 MB, free: 8.141 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007949/0.000795, allocations: 98.34 kB / 0.4945 GB, free: 8.07 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001769/0.001769, allocations: 264.7 kB / 0.5728 GB, free: 66.15 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004835, allocations: 24 kB / 0.662 GB, free: 6.742 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3751, allocations: 79.3 MB / 0.7395 GB, free: 46.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.558/4.933, allocations: 2.098 GB / 2.837 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/4.933, allocations: 103.4 kB / 2.838 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.91/11.84, allocations: 2.048 GB / 4.885 GB, free: 64.67 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.715e-06/11.84, allocations: 0 / 4.885 GB, free: 64.67 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003844/11.84, allocations: 55.47 kB / 4.885 GB, free: 64.66 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.008786/11.85, allocations: 2.939 MB / 4.888 GB, free: 62.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/11.85, allocations: 10.75 kB / 4.888 GB, free: 62.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005194/11.86, allocations: 0.7791 MB / 4.889 GB, free: 62.72 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007111/11.86, allocations: 2.261 MB / 4.891 GB, free: 61.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/11.86, allocations: 107 kB / 4.891 GB, free: 61.33 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000573/11.87, allocations: 152.7 kB / 4.891 GB, free: 61.28 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003808/11.87, allocations: 1.614 MB / 4.893 GB, free: 60.01 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/11.87, allocations: 0 / 4.893 GB, free: 60.01 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/11.87, allocations: 60 kB / 4.893 GB, free: 59.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/11.87, allocations: 46.53 kB / 4.893 GB, free: 59.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/11.87, allocations: 1.275 MB / 4.894 GB, free: 58.62 MB / 0.7292 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.01008/11.88, allocations: 7.444 MB / 4.902 GB, free: 50.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/11.88, allocations: 1.5 MB / 4.903 GB, free: 49.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/11.89, allocations: 480.1 kB / 4.904 GB, free: 48.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/11.89, allocations: 0.7593 MB / 4.904 GB, free: 47.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009578/11.89, allocations: 0.5204 MB / 4.905 GB, free: 47.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001061/11.89, allocations: 127.2 kB / 4.905 GB, free: 47.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=84): time 6.191e-06/11.89, allocations: 4 kB / 4.905 GB, free: 47.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=84): time 0.003466/11.89, allocations: 1.498 MB / 4.906 GB, free: 45.51 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/11.89, allocations: 163.2 kB / 4.907 GB, free: 45.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/11.9, allocations: 1.569 MB / 4.908 GB, free: 43.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002393/11.9, allocations: 49.7 kB / 4.908 GB, free: 43.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/11.9, allocations: 0.9273 MB / 4.909 GB, free: 42.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/11.9, allocations: 299.5 kB / 4.909 GB, free: 42.42 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.402e-05/11.9, allocations: 28 kB / 4.909 GB, free: 42.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001243/11.9, allocations: 349.9 kB / 4.91 GB, free: 42.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009723/11.9, allocations: 406.4 kB / 4.91 GB, free: 41.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/11.9, allocations: 0.8031 MB / 4.911 GB, free: 40.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/11.9, allocations: 1.155 MB / 4.912 GB, free: 39.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/11.9, allocations: 8 kB / 4.912 GB, free: 39.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002728/11.91, allocations: 1.372 MB / 4.913 GB, free: 38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/11.91, allocations: 382.5 kB / 4.914 GB, free: 37.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.924e-05/11.91, allocations: 15.83 kB / 4.914 GB, free: 37.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.343e-05/11.91, allocations: 12 kB / 4.914 GB, free: 37.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009878/11.91, allocations: 271.6 kB / 4.914 GB, free: 37.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.356e-05/11.91, allocations: 15.94 kB / 4.914 GB, free: 37.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/11.91, allocations: 143.7 kB / 4.914 GB, free: 37.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/11.91, allocations: 59.58 kB / 4.914 GB, free: 37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/11.91, allocations: 5.094 kB / 4.914 GB, free: 36.99 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002083/11.91, allocations: 1.189 MB / 4.915 GB, free: 35.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/11.91, allocations: 12 kB / 4.915 GB, free: 35.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/11.91, allocations: 12 kB / 4.915 GB, free: 35.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009237/11.91, allocations: 263.8 kB / 4.916 GB, free: 35.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/11.91, allocations: 23.94 kB / 4.916 GB, free: 35.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/11.91, allocations: 143.7 kB / 4.916 GB, free: 35.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/11.91, allocations: 55.98 kB / 4.916 GB, free: 35.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 131 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001174/11.91, allocations: 0.5397 MB / 4.916 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004645/11.92, allocations: 185.7 kB / 4.917 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/11.92, allocations: 1.102 MB / 4.918 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/11.92, allocations: 11.98 kB / 4.918 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/11.92, allocations: 0 / 4.918 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001646/11.92, allocations: 1.18 MB / 4.919 GB, free: 32.17 MB / 0.7292 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 postOpt removeSimpleEquations (simulation): time 0.005791/11.93, allocations: 2.791 MB / 4.921 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/11.93, allocations: 0 / 4.921 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008122/11.93, allocations: 187.9 kB / 4.922 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/11.93, allocations: 44.83 kB / 4.922 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.658e-05/11.93, allocations: 23.98 kB / 4.922 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/11.93, allocations: 1.416 MB / 4.923 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/11.93, allocations: 0 / 4.923 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/11.93, allocations: 1.671 MB / 4.925 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009691/11.93, allocations: 334.7 kB / 4.925 GB, free: 25.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004707/11.93, allocations: 24 kB / 4.925 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/11.93, allocations: 139.7 kB / 4.925 GB, free: 25.28 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/11.93, allocations: 76.44 kB / 4.925 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.72e-05/11.93, allocations: 31.98 kB / 4.925 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001951/11.94, allocations: 1.042 MB / 4.926 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.21e-07/11.94, allocations: 0 / 4.926 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004976/11.94, allocations: 1.332 MB / 4.928 GB, free: 22.78 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005917/11.95, allocations: 3.673 MB / 4.931 GB, free: 19.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003567/11.95, allocations: 1.763 MB / 4.933 GB, free: 17.53 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/11.95, allocations: 0 / 4.933 GB, free: 17.53 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/11.95, allocations: 0.5797 MB / 4.934 GB, free: 16.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004338/11.96, allocations: 0.7984 MB / 4.934 GB, free: 16.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007712/11.96, allocations: 4.376 MB / 4.939 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/11.96, allocations: 1.495 MB / 4.94 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002409/11.97, allocations: 472.7 kB / 4.94 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/11.97, allocations: 135.4 kB / 4.941 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of SimCode: time 6.21e-07/11.97, allocations: 0 / 4.941 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.4842/12.45, allocations: 63.49 MB / 5.003 GB, free: 69.42 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)