Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001122/0.001122, allocations: 101.4 kB / 15.06 MB, free: 1.094 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.001087/0.001087, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.4 MB / 222.1 MB, free: 5.68 MB / 174.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.0004393/0.0004393, allocations: 18.81 kB / 278.9 MB, free: 12.87 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1988, allocations: 47.57 MB / 326.4 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.1434/0.3423, allocations: 125.8 MB / 452.2 MB, free: 5.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.3448, allocations: 1.727 MB / 454 MB, free: 3.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.345, allocations: 0 / 454 MB, free: 3.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.3453, allocations: 35.8 kB / 454 MB, free: 3.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.3468, allocations: 434.7 kB / 454.4 MB, free: 3.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.3472, allocations: 95.75 kB / 454.5 MB, free: 3.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.3475, allocations: 151.7 kB / 454.7 MB, free: 2.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.286e-05/0.3475, allocations: 8 kB / 454.7 MB, free: 2.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000429/0.348, allocations: 167.5 kB / 454.8 MB, free: 2.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.3482, allocations: 75.8 kB / 454.9 MB, free: 2.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.3482, allocations: 8 kB / 454.9 MB, free: 2.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.35, allocations: 0.7101 MB / 455.6 MB, free: 2.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.3501, allocations: 71.84 kB / 455.7 MB, free: 1.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.064e-05/0.3502, allocations: 57.64 kB / 455.8 MB, free: 1.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.3512, allocations: 464.5 kB / 456.2 MB, free: 1.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3512, allocations: 0 / 456.2 MB, free: 1.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3512, allocations: 0 / 456.2 MB, free: 1.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3513, allocations: 0 / 456.2 MB, free: 1.426 MB / 382.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.0009518/0.3522, allocations: 459.3 kB / 456.7 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.3523, allocations: 12.02 kB / 456.7 MB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/0.3544, allocations: 255.4 kB / 456.9 MB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.3548, allocations: 266.6 kB / 457.2 MB, free: 376 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3549, allocations: 12.33 kB / 457.2 MB, free: 364 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-05/0.355, allocations: 20 kB / 457.2 MB, free: 344 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1574/0.5124, allocations: 494.9 kB / 457.7 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.5125, allocations: 0 / 457.7 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.082e-05/0.5126, allocations: 8.109 kB / 457.7 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/0.5126, allocations: 8.641 kB / 457.7 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.5137, allocations: 0.5847 MB / 458.3 MB, free: 127.7 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.002185/0.5159, allocations: 1.003 MB / 459.3 MB, free: 127.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.5162, allocations: 244.5 kB / 459.5 MB, free: 127.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006549/0.5169, allocations: 264.8 kB / 459.8 MB, free: 126.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.5169, allocations: 37.66 kB / 459.8 MB, free: 126.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.5169, allocations: 0.9688 kB / 459.8 MB, free: 126.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001837/0.5188, allocations: 0.6028 MB / 460.4 MB, free: 126.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.5188, allocations: 84.81 kB / 460.5 MB, free: 126.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.599e-05/0.5189, allocations: 129.7 kB / 460.6 MB, free: 126.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.519, allocations: 32.36 kB / 460.7 MB, free: 126.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.519, allocations: 111.9 kB / 460.8 MB, free: 126.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.992e-05/0.5191, allocations: 110 kB / 460.9 MB, free: 126.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.5191, allocations: 4 kB / 460.9 MB, free: 126.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.5192, allocations: 327.1 kB / 461.2 MB, free: 125.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.5196, allocations: 185.6 kB / 461.4 MB, free: 125.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.52, allocations: 290.3 kB / 461.7 MB, free: 125.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.5203, allocations: 216.5 kB / 461.9 MB, free: 125.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5204, allocations: 1.438 kB / 461.9 MB, free: 125.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008457/0.5212, allocations: 0.5169 MB / 462.4 MB, free: 125.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.5212, allocations: 6.438 kB / 462.4 MB, free: 125.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5212, allocations: 4 kB / 462.4 MB, free: 125.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5213, allocations: 7.281 kB / 462.4 MB, free: 125.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.5218, allocations: 84.53 kB / 462.5 MB, free: 125.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.5218, allocations: 12.78 kB / 462.5 MB, free: 125.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.5222, allocations: 43.3 kB / 462.6 MB, free: 125.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.5222, allocations: 22.17 kB / 462.6 MB, free: 125 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.5224, allocations: 148.1 kB / 462.7 MB, free: 124.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/0.5225, allocations: 14.08 kB / 462.7 MB, free: 124.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008446/0.5233, allocations: 0.4941 MB / 463.2 MB, free: 124.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.5233, allocations: 3.656 kB / 463.2 MB, free: 124.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5234, allocations: 5.172 kB / 463.3 MB, free: 124.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5234, allocations: 0 / 463.3 MB, free: 124.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006153/0.524, allocations: 463.1 kB / 463.7 MB, free: 124.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.524, allocations: 0 / 463.7 MB, free: 124.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.5245, allocations: 63.64 kB / 463.8 MB, free: 124.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5245, allocations: 0.9688 kB / 463.8 MB, free: 124.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.5245, allocations: 9.562 kB / 463.8 MB, free: 124.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.5245, allocations: 0.9062 kB / 463.8 MB, free: 124.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.5246, allocations: 1.031 kB / 463.8 MB, free: 124.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009244/0.5255, allocations: 0.712 MB / 464.5 MB, free: 123.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.5255, allocations: 94.3 kB / 464.6 MB, free: 123.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/0.5256, allocations: 8.625 kB / 464.6 MB, free: 123.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.5261, allocations: 26.84 kB / 464.6 MB, free: 123.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.5261, allocations: 21.2 kB / 464.6 MB, free: 123.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.5262, allocations: 18.61 kB / 464.7 MB, free: 123.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.636e-05/0.5262, allocations: 103.9 kB / 464.8 MB, free: 123.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5262, allocations: 1.062 kB / 464.8 MB, free: 123.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005822/0.5268, allocations: 156.4 kB / 464.9 MB, free: 123.5 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 (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.0006454/0.5275, allocations: 277.8 kB / 465.2 MB, free: 123.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006411/0.5281, allocations: 439.6 kB / 465.6 MB, free: 123.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5281, allocations: 0 / 465.6 MB, free: 123.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.5284, allocations: 215.2 kB / 465.8 MB, free: 123 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.529, allocations: 86.89 kB / 465.9 MB, free: 123 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.5301, allocations: 1.066 MB / 467 MB, free: 122.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.5302, allocations: 0.7403 MB / 467.7 MB, free: 121.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005748/0.5308, allocations: 122.3 kB / 467.8 MB, free: 121.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.531, allocations: 27.42 kB / 467.9 MB, free: 121.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.531, allocations: 0 / 467.9 MB, free: 121.2 MB / 382.1 MB Notification: Performance of Templates: time 0.009555/0.5405, allocations: 7.674 MB / 475.5 MB, free: 113.6 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) Environment - environmentSimulation: