Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 92.53 kB / 16.3 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 185.1 kB / 17.2 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.4 MB / 223.3 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004554, allocations: 8 kB / 280.1 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08264/0.0831, allocations: 47.58 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3006/0.3838, allocations: 125.8 MB / 453.5 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.386, allocations: 1.72 MB / 455.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.3861, allocations: 0 / 455.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.3864, allocations: 39.84 kB / 455.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.3874, allocations: 434.7 kB / 455.7 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.3876, allocations: 96.67 kB / 455.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.3879, allocations: 155.7 kB / 455.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.388, allocations: 4 kB / 455.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003535/0.3883, allocations: 179.5 kB / 456.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.3885, allocations: 67.81 kB / 456.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.3885, allocations: 8 kB / 456.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.3899, allocations: 0.7062 MB / 456.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.344e-05/0.39, allocations: 75.78 kB / 456.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.39, allocations: 57.64 kB / 457 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006608/0.3907, allocations: 460 kB / 457.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.3907, allocations: 0 / 457.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3907, allocations: 0 / 457.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3907, allocations: 0 / 457.4 MB, free: 7.023 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006997/0.3914, allocations: 467.9 kB / 457.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3915, allocations: 12.03 kB / 457.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.3934, allocations: 259.5 kB / 458.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.3938, allocations: 250.7 kB / 458.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.3938, allocations: 12.33 kB / 458.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.3939, allocations: 20 kB / 458.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007499/0.3947, allocations: 0.5005 MB / 458.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3947, allocations: 0 / 458.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.708e-05/0.3947, allocations: 8 kB / 459 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.3948, allocations: 12.48 kB / 459 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008485/0.3956, allocations: 0.5817 MB / 459.5 MB, free: 4.824 MB / 350.1 MB 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.002179/0.3978, allocations: 1.004 MB / 460.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.3982, allocations: 241 kB / 460.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007351/0.3989, allocations: 266.2 kB / 461 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.399, allocations: 38.56 kB / 461.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.633e-06/0.399, allocations: 4 kB / 461.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001957/0.4009, allocations: 0.5997 MB / 461.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.401, allocations: 85.05 kB / 461.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.4012, allocations: 127.6 kB / 461.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.4012, allocations: 29.7 kB / 461.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.4013, allocations: 116.4 kB / 462 MB, free: 2.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.4014, allocations: 110.5 kB / 462.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.4015, allocations: 7.938 kB / 462.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4016, allocations: 338.7 kB / 462.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.4019, allocations: 187.7 kB / 462.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.4024, allocations: 284.5 kB / 462.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.4028, allocations: 216 kB / 463.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4028, allocations: 0 / 463.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009567/0.4037, allocations: 0.5127 MB / 463.7 MB, free: 488 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4038, allocations: 8 kB / 463.7 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4038, allocations: 4 kB / 463.7 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4038, allocations: 4 kB / 463.7 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.4043, allocations: 83.88 kB / 463.8 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.4044, allocations: 11.94 kB / 463.8 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.4048, allocations: 43.98 kB / 463.8 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/0.4048, allocations: 24.33 kB / 463.8 MB, free: 308 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001684/0.405, allocations: 149.7 kB / 464 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-05/0.4051, allocations: 11.91 kB / 464 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.4062, allocations: 0.498 MB / 464.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.4062, allocations: 4 kB / 464.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4062, allocations: 4 kB / 464.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4062, allocations: 0 / 464.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000748/0.4069, allocations: 457.9 kB / 465 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.407, allocations: 0 / 465 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/0.4075, allocations: 63.89 kB / 465 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4075, allocations: 0 / 465 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.4075, allocations: 8.875 kB / 465 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4075, allocations: 4 kB / 465 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4075, allocations: 0 / 465 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.4086, allocations: 0.7132 MB / 465.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.662e-05/0.4087, allocations: 92.86 kB / 465.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.4088, allocations: 8 kB / 465.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/0.4093, allocations: 26.72 kB / 465.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.4093, allocations: 23.92 kB / 465.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.4094, allocations: 19.98 kB / 465.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.273e-05/0.4094, allocations: 95.27 kB / 466 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4095, allocations: 0 / 466 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007211/0.4102, allocations: 155.9 kB / 466.2 MB, free: 13.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0007352/0.4109, allocations: 291.8 kB / 466.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000803/0.4117, allocations: 435.9 kB / 466.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4117, allocations: 0 / 466.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003466/0.4121, allocations: 212.9 kB / 467.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/0.4127, allocations: 99.73 kB / 467.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.4142, allocations: 1.059 MB / 468.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.4146, allocations: 0.7408 MB / 469 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006243/0.4152, allocations: 114.3 kB / 469.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.4154, allocations: 27.42 kB / 469.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4154, allocations: 7.938 kB / 469.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of Templates: time 0.01222/0.4276, allocations: 7.661 MB / 476.8 MB, free: 3.203 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) Environment - environmentSimulation: