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: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.63/1.63, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.001182/0.001182, allocations: 180.8 kB / 366.7 MB, free: 1.684 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.68/1.68, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.001/0.001001, allocations: 92.91 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.224e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7295/0.7295, allocations: 116.3 MB / 0.9732 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.941/6.671, allocations: 2.122 GB / 3.095 GB, free: 340.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/6.671, allocations: 90.53 kB / 3.095 GB, free: 340.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.275/13.95, allocations: 1.962 GB / 5.057 GB, free: 122.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.325e-06/13.95, allocations: 3.844 kB / 5.057 GB, free: 122.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002532/13.95, allocations: 60.34 kB / 5.057 GB, free: 122.6 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.00739/13.95, allocations: 2.603 MB / 5.06 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/13.95, allocations: 14.12 kB / 5.06 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005424/13.96, allocations: 0.7953 MB / 5.061 GB, free: 121.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006027/13.97, allocations: 2.34 MB / 5.063 GB, free: 121 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/13.97, allocations: 52.34 kB / 5.063 GB, free: 121 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/13.97, allocations: 98 kB / 5.063 GB, free: 121 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002279/13.97, allocations: 1.267 MB / 5.064 GB, free: 121 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/13.97, allocations: 1.504 MB / 5.066 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/13.97, allocations: 1.594 kB / 5.066 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/13.97, allocations: 3.844 kB / 5.066 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.546e-05/13.97, allocations: 55.17 kB / 5.066 GB, free: 120.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.01025/13.98, allocations: 7.786 MB / 5.073 GB, free: 117 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/13.98, allocations: 1.605 MB / 5.075 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007143/13.98, allocations: 0.5422 MB / 5.076 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004373/13.98, allocations: 216.2 kB / 5.076 GB, free: 116 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007916/13.98, allocations: 0.5475 MB / 5.076 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001111/13.99, allocations: 94.67 kB / 5.076 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=102): time 4.969e-06/13.99, allocations: 3.891 kB / 5.076 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=105): time 0.00578/13.99, allocations: 2.764 MB / 5.079 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/13.99, allocations: 173.3 kB / 5.079 GB, free: 115 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/13.99, allocations: 1.201 MB / 5.08 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.259e-05/13.99, allocations: 25.7 kB / 5.08 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008365/13.99, allocations: 0.9655 MB / 5.081 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/13.99, allocations: 353.3 kB / 5.082 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/13.99, allocations: 0 / 5.082 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.419e-05/13.99, allocations: 352.7 kB / 5.082 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/14, allocations: 423.2 kB / 5.082 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007602/14, allocations: 0.7799 MB / 5.083 GB, free: 113.4 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.004436/14, allocations: 1.79 MB / 5.085 GB, free: 113.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/14, allocations: 6.156 kB / 5.085 GB, free: 113.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002462/14, allocations: 1.413 MB / 5.086 GB, free: 113.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006412/14, allocations: 3.026 MB / 5.089 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/14, allocations: 12.69 kB / 5.089 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/14, allocations: 46.39 kB / 5.089 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/14.01, allocations: 284.9 kB / 5.09 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/14.01, allocations: 1.444 MB / 5.091 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/14.01, allocations: 132.2 kB / 5.091 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/14.01, allocations: 56.53 kB / 5.091 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/14.01, allocations: 6.625 kB / 5.091 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001932/14.01, allocations: 1.169 MB / 5.092 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/14.01, allocations: 20.73 kB / 5.092 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001011/14.01, allocations: 42.3 kB / 5.092 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009965/14.01, allocations: 282.9 kB / 5.093 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007905/14.01, allocations: 1.447 MB / 5.094 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/14.01, allocations: 135 kB / 5.094 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.884e-05/14.01, allocations: 53.08 kB / 5.094 GB, free: 107.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.0003118/14.01, allocations: 152.8 kB / 5.094 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/14.01, allocations: 189.7 kB / 5.095 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/14.02, allocations: 1.205 MB / 5.096 GB, free: 107 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/14.02, allocations: 16.52 kB / 5.096 GB, free: 107 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/14.02, allocations: 6.469 kB / 5.096 GB, free: 107 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/14.02, allocations: 0.9761 MB / 5.097 GB, free: 106.9 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.005164/14.02, allocations: 3.164 MB / 5.1 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/14.02, allocations: 0 / 5.1 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/14.03, allocations: 235.6 kB / 5.1 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000222/14.03, allocations: 68.89 kB / 5.1 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.796e-05/14.03, allocations: 16.86 kB / 5.1 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/14.03, allocations: 2.66 MB / 5.103 GB, free: 103.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/14.03, allocations: 0 / 5.103 GB, free: 103.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/14.03, allocations: 1.939 MB / 5.105 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008144/14.03, allocations: 370.2 kB / 5.105 GB, free: 103.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/14.03, allocations: 11.11 kB / 5.105 GB, free: 103.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/14.03, allocations: 139 kB / 5.105 GB, free: 103.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/14.03, allocations: 74.06 kB / 5.105 GB, free: 103.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.751e-05/14.03, allocations: 43 kB / 5.105 GB, free: 103.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001336/14.03, allocations: 0.8999 MB / 5.106 GB, free: 103 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.3e-07/14.03, allocations: 0 / 5.106 GB, free: 103 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004132/14.04, allocations: 1.173 MB / 5.107 GB, free: 103 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.005236/14.04, allocations: 3.638 MB / 5.111 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003213/14.05, allocations: 2.144 MB / 5.113 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/14.05, allocations: 0 / 5.113 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008605/14.05, allocations: 0.7246 MB / 5.114 GB, free: 101 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004687/14.05, allocations: 0.9399 MB / 5.115 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006607/14.06, allocations: 3.126 MB / 5.118 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009997/14.06, allocations: 1.633 MB / 5.119 GB, free: 99.39 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003285/14.06, allocations: 0.6847 MB / 5.12 GB, free: 99.38 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003662/14.06, allocations: 117 kB / 5.12 GB, free: 99.37 MB / 0.9792 GB Notification: Performance of SimCode: time 1.002e-06/14.06, allocations: 0 / 5.12 GB, free: 99.37 MB / 0.9792 GB Notification: Performance of Templates: time 0.0823/14.15, allocations: 53.51 MB / 5.172 GB, free: 89.38 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)