Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Annex60.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2841/0.2841, allocations: 54.33 MB / 66.89 MB, free: 6.094 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00117/0.001169, allocations: 190.2 kB / 80.71 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.709/1.709, allocations: 194.2 MB / 288.6 MB, free: 15.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001794/0.001794, allocations: 114.1 kB / 346.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.392e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1354, allocations: 57.64 MB / 470 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.342/5.477, allocations: 2.178 GB / 2.637 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/5.478, allocations: 92.97 kB / 2.637 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.318/11.8, allocations: 1.618 GB / 4.255 GB, free: 49.32 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.324e-06/11.8, allocations: 0 / 4.255 GB, free: 49.32 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0005846/11.8, allocations: 66.67 kB / 4.255 GB, free: 49.32 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 383 * Number of variables: 383 Notification: Performance of Generate backend data structure: time 0.01225/11.81, allocations: 2.614 MB / 4.258 GB, free: 48.25 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/11.81, allocations: 16.66 kB / 4.258 GB, free: 48.25 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006298/11.81, allocations: 0.775 MB / 4.258 GB, free: 48.11 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009254/11.82, allocations: 2.353 MB / 4.261 GB, free: 47.73 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/11.82, allocations: 124.1 kB / 4.261 GB, free: 47.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008409/11.83, allocations: 167.1 kB / 4.261 GB, free: 47.73 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005736/11.83, allocations: 1.774 MB / 4.263 GB, free: 47.48 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-05/11.83, allocations: 3.219 kB / 4.263 GB, free: 47.48 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004767/11.83, allocations: 72 kB / 4.263 GB, free: 47.48 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-05/11.83, allocations: 56.41 kB / 4.263 GB, free: 47.48 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003632/11.84, allocations: 1.375 MB / 4.264 GB, free: 47.46 MB / 0.5573 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.0148/11.85, allocations: 8.102 MB / 4.272 GB, free: 43.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/11.85, allocations: 1.635 MB / 4.274 GB, free: 42.71 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008643/11.85, allocations: 0.5405 MB / 4.274 GB, free: 42.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00033/11.85, allocations: 116.4 kB / 4.274 GB, free: 42.61 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/11.85, allocations: 0.6687 MB / 4.275 GB, free: 42.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001419/11.86, allocations: 134.9 kB / 4.275 GB, free: 42.46 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=99): time 8.355e-06/11.86, allocations: 0 / 4.275 GB, free: 42.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=102): time 0.007864/11.86, allocations: 3.035 MB / 4.278 GB, free: 41.41 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/11.86, allocations: 336.5 kB / 4.278 GB, free: 41.03 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/11.87, allocations: 1.356 MB / 4.28 GB, free: 40.81 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001987/11.87, allocations: 51.83 kB / 4.28 GB, free: 40.78 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/11.87, allocations: 0.9911 MB / 4.281 GB, free: 40.43 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/11.87, allocations: 354 kB / 4.281 GB, free: 40.21 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.613e-05/11.87, allocations: 25.62 kB / 4.281 GB, free: 40.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001679/11.87, allocations: 350.3 kB / 4.281 GB, free: 39.91 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007852/11.87, allocations: 443.1 kB / 4.282 GB, free: 39.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/11.87, allocations: 0.8324 MB / 4.283 GB, free: 39.46 MB / 0.5573 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.008774/11.88, allocations: 2.189 MB / 4.285 GB, free: 39.28 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/11.88, allocations: 3.281 kB / 4.285 GB, free: 39.28 MB / 0.5573 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003259/11.88, allocations: 1.568 MB / 4.286 GB, free: 38.99 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001227/11.88, allocations: 3.137 MB / 4.289 GB, free: 35.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.372e-05/11.88, allocations: 11.34 kB / 4.289 GB, free: 35.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/11.88, allocations: 39.66 kB / 4.289 GB, free: 35.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/11.89, allocations: 292.7 kB / 4.29 GB, free: 35.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/11.89, allocations: 1.482 MB / 4.291 GB, free: 34.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/11.89, allocations: 166 kB / 4.291 GB, free: 34.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/11.89, allocations: 56.59 kB / 4.291 GB, free: 34.38 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/11.89, allocations: 7.812 kB / 4.291 GB, free: 34.38 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002381/11.89, allocations: 1.367 MB / 4.293 GB, free: 34.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.945e-05/11.89, allocations: 12.88 kB / 4.293 GB, free: 34.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/11.89, allocations: 38.61 kB / 4.293 GB, free: 34.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/11.89, allocations: 284.5 kB / 4.293 GB, free: 34.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/11.9, allocations: 1.478 MB / 4.294 GB, free: 32.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/11.9, allocations: 164.3 kB / 4.295 GB, free: 32.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/11.9, allocations: 57.28 kB / 4.295 GB, free: 32.86 MB / 0.5573 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: 34 * 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 (151): * Single equations (assignments): 146 * 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.0004989/11.9, allocations: 185.2 kB / 4.295 GB, free: 32.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005953/11.9, allocations: 198.9 kB / 4.295 GB, free: 32.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/11.9, allocations: 1.293 MB / 4.296 GB, free: 32.45 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/11.9, allocations: 11.09 kB / 4.296 GB, free: 32.45 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/11.9, allocations: 6.016 kB / 4.296 GB, free: 32.45 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001664/11.9, allocations: 1.047 MB / 4.297 GB, free: 32.26 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007773/11.91, allocations: 3.411 MB / 4.301 GB, free: 31.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/11.91, allocations: 5.875 kB / 4.301 GB, free: 31.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/11.91, allocations: 229.5 kB / 4.301 GB, free: 31.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002187/11.91, allocations: 65.95 kB / 4.301 GB, free: 31.43 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/11.91, allocations: 25.89 kB / 4.301 GB, free: 31.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/11.92, allocations: 2.728 MB / 4.304 GB, free: 28.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/11.92, allocations: 4.188 kB / 4.304 GB, free: 28.93 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/11.92, allocations: 1.93 MB / 4.306 GB, free: 28.51 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/11.92, allocations: 384.2 kB / 4.306 GB, free: 28.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006522/11.92, allocations: 29.05 kB / 4.306 GB, free: 28.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/11.92, allocations: 162.6 kB / 4.306 GB, free: 28.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/11.92, allocations: 76.31 kB / 4.306 GB, free: 28.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/11.92, allocations: 36.86 kB / 4.306 GB, free: 28.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0025/11.93, allocations: 1.046 MB / 4.307 GB, free: 28.14 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/11.93, allocations: 0 / 4.307 GB, free: 28.14 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006421/11.93, allocations: 1.278 MB / 4.308 GB, free: 28.09 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (100): * Single equations (assignments): 96 * 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.00771/11.94, allocations: 3.437 MB / 4.312 GB, free: 26.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004755/11.94, allocations: 2.228 MB / 4.314 GB, free: 26.27 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/11.94, allocations: 0 / 4.314 GB, free: 26.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/11.95, allocations: 0.7339 MB / 4.315 GB, free: 26.05 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006184/11.95, allocations: 0.9902 MB / 4.316 GB, free: 26.02 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009693/11.96, allocations: 3.182 MB / 4.319 GB, free: 25.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002524/11.96, allocations: 1.638 MB / 4.32 GB, free: 24.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004642/11.97, allocations: 0.6988 MB / 4.321 GB, free: 24.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005227/11.97, allocations: 123 kB / 4.321 GB, free: 24.47 MB / 0.5573 GB Notification: Performance of SimCode: time 2.364e-06/11.97, allocations: 0 / 4.321 GB, free: 24.47 MB / 0.5573 GB Notification: Performance of Templates: time 0.1301/12.1, allocations: 80.7 MB / 4.4 GB, free: 96 kB / 0.5573 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)