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.001012/0.001012, allocations: 91.75 kB / 16.65 MB, free: 6.59 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.001116/0.001116, allocations: 181.3 kB / 17.56 MB, free: 6.203 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.362/1.362, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.000438/0.000438, allocations: 19.92 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07977/0.08022, allocations: 47.58 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3074/0.3876, allocations: 146.8 MB / 475.2 MB, free: 6.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.3902, allocations: 2.114 MB / 477.3 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.3903, allocations: 7.938 kB / 477.3 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.3905, allocations: 47.78 kB / 477.3 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.3919, allocations: 0.5485 MB / 477.9 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.3922, allocations: 95.81 kB / 478 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.3926, allocations: 374.8 kB / 478.3 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.3927, allocations: 10.44 kB / 478.3 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.393, allocations: 117.1 kB / 478.5 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.3932, allocations: 103.7 kB / 478.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.3933, allocations: 11.98 kB / 478.6 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.3953, allocations: 1.2 MB / 479.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.3954, allocations: 75.81 kB / 479.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.3956, allocations: 121.3 kB / 480 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.3969, allocations: 0.7441 MB / 480.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3969, allocations: 4 kB / 480.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3969, allocations: 3.938 kB / 480.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.3969, allocations: 0 / 480.7 MB, free: 1.355 MB / 366.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.0006126/0.3975, allocations: 471.9 kB / 481.2 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.555e-05/0.3975, allocations: 8.031 kB / 481.2 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007421/0.405, allocations: 0.7189 MB / 481.9 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.4054, allocations: 280.8 kB / 482.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.4054, allocations: 12.89 kB / 482.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.4056, allocations: 31.91 kB / 482.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.407, allocations: 0.6995 MB / 482.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.407, allocations: 3.984 kB / 482.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/0.4071, allocations: 12 kB / 482.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.4071, allocations: 11.98 kB / 482.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.4092, allocations: 0.9211 MB / 483.9 MB, free: 14.11 MB / 382.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.004838/0.414, allocations: 2.005 MB / 485.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.4152, allocations: 0.5064 MB / 486.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006694/0.4159, allocations: 325.5 kB / 486.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006828/0.4166, allocations: 274 kB / 487 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.4166, allocations: 38.55 kB / 487 MB, free: 10.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.833e-06/0.4166, allocations: 0 / 487 MB, free: 10.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002258/0.4189, allocations: 0.8926 MB / 487.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.419, allocations: 85.11 kB / 488 MB, free: 9.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.4191, allocations: 125.8 kB / 488.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.4192, allocations: 29.7 kB / 488.1 MB, free: 9.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.4192, allocations: 112.3 kB / 488.2 MB, free: 9.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.4194, allocations: 110.5 kB / 488.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.224e-05/0.4195, allocations: 29.7 kB / 488.4 MB, free: 9.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4196, allocations: 330.8 kB / 488.7 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000668/0.4203, allocations: 299.8 kB / 489 MB, free: 8.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007492/0.421, allocations: 408.2 kB / 489.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.4224, allocations: 0.6919 MB / 490.1 MB, free: 7.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4225, allocations: 0 / 490.1 MB, free: 7.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001715/0.4242, allocations: 0.7475 MB / 490.8 MB, free: 6.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4242, allocations: 4 kB / 490.8 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4242, allocations: 4.078 kB / 490.8 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4243, allocations: 8 kB / 490.8 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.4254, allocations: 103.8 kB / 490.9 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.4254, allocations: 7.984 kB / 491 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009574/0.4264, allocations: 55.69 kB / 491 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/0.4265, allocations: 23.98 kB / 491 MB, free: 6.531 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.4267, allocations: 141.8 kB / 491.2 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.4269, allocations: 27.73 kB / 491.2 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.429, allocations: 0.7673 MB / 492 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.429, allocations: 4 kB / 492 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.429, allocations: 3.938 kB / 492 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.429, allocations: 7.875 kB / 492 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.4301, allocations: 0.8019 MB / 492.8 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.4301, allocations: 7.938 kB / 492.8 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.4312, allocations: 75.91 kB / 492.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.4312, allocations: 4 kB / 492.9 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.136e-05/0.4313, allocations: 15.97 kB / 492.9 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.4313, allocations: 4 kB / 492.9 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4313, allocations: 3.938 kB / 492.9 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.4334, allocations: 0.9686 MB / 493.9 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.4335, allocations: 92.94 kB / 493.9 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.551e-05/0.4336, allocations: 8 kB / 494 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.4347, allocations: 43.89 kB / 494 MB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.4347, allocations: 15.98 kB / 494 MB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.328e-05/0.4348, allocations: 23.97 kB / 494 MB, free: 3.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.183e-05/0.4349, allocations: 95.27 kB / 494.1 MB, free: 3.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4349, allocations: 0 / 494.1 MB, free: 3.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008265/0.4357, allocations: 184 kB / 494.3 MB, free: 3.098 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.4367, allocations: 342.9 kB / 494.6 MB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.4384, allocations: 0.6556 MB / 495.3 MB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.4384, allocations: 4 kB / 495.3 MB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007214/0.4391, allocations: 332.5 kB / 495.6 MB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008121/0.4399, allocations: 102 kB / 495.7 MB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.4418, allocations: 1.146 MB / 496.9 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.4421, allocations: 0.729 MB / 497.6 MB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001422/0.4435, allocations: 185.7 kB / 497.8 MB, free: 15.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.4438, allocations: 43.41 kB / 497.8 MB, free: 15.52 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4439, allocations: 0 / 497.8 MB, free: 15.52 MB / 398.1 MB Notification: Performance of Templates: time 0.01558/0.4594, allocations: 10.2 MB / 0.4961 GB, free: 5.27 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.makefile (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)