Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 96.05 kB / 16.93 MB, free: 5.98 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.001017/0.001017, allocations: 182.8 kB / 17.82 MB, free: 5.652 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.451/1.451, allocations: 205.4 MB / 224 MB, free: 13.17 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.0005083/0.0005084, allocations: 12 kB / 280.8 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1016, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3913/0.493, allocations: 125.8 MB / 454.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.4958, allocations: 1.723 MB / 455.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.4959, allocations: 0 / 455.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.4963, allocations: 39.86 kB / 456 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.4977, allocations: 442.6 kB / 456.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.4981, allocations: 79.88 kB / 456.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.4983, allocations: 156.7 kB / 456.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.434e-05/0.4984, allocations: 8 kB / 456.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004032/0.4988, allocations: 175.5 kB / 456.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.499, allocations: 67.8 kB / 456.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.499, allocations: 8 kB / 456.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.5005, allocations: 0.7062 MB / 457.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.5006, allocations: 83.77 kB / 457.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.834e-05/0.5007, allocations: 61.64 kB / 457.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006448/0.5013, allocations: 453 kB / 458.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.5013, allocations: 4 kB / 458.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5014, allocations: 0 / 458.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.5014, allocations: 3.938 kB / 458.2 MB, free: 6.926 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.000672/0.502, allocations: 468 kB / 458.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5021, allocations: 8.031 kB / 458.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.94e-05/0.5022, allocations: 54.55 kB / 458.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.5042, allocations: 259.5 kB / 459 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.5045, allocations: 242.7 kB / 459.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.5045, allocations: 16.33 kB / 459.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.5046, allocations: 23.98 kB / 459.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008038/0.5055, allocations: 0.5005 MB / 459.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.5055, allocations: 0 / 459.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.5056, allocations: 4 kB / 459.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.5056, allocations: 12.48 kB / 459.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007834/0.5064, allocations: 0.5855 MB / 460.3 MB, free: 4.668 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.002214/0.5086, allocations: 0.9997 MB / 461.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.509, allocations: 245 kB / 461.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008122/0.5098, allocations: 266.1 kB / 461.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.5098, allocations: 38.5 kB / 461.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.5098, allocations: 0 / 461.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001936/0.5118, allocations: 0.6038 MB / 462.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.5119, allocations: 85.05 kB / 462.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.512, allocations: 129.8 kB / 462.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.5121, allocations: 37.7 kB / 462.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.5122, allocations: 112.4 kB / 462.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.5123, allocations: 106.5 kB / 462.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.5123, allocations: 4 kB / 462.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5125, allocations: 326.8 kB / 463.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.5128, allocations: 187.7 kB / 463.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.5132, allocations: 292.5 kB / 463.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.5135, allocations: 216 kB / 463.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5135, allocations: 0 / 463.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001102/0.5146, allocations: 0.5126 MB / 464.5 MB, free: 332 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5147, allocations: 8 kB / 464.5 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.5147, allocations: 4 kB / 464.5 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.5147, allocations: 4 kB / 464.5 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.5152, allocations: 80.28 kB / 464.5 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.5152, allocations: 15.94 kB / 464.6 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.5157, allocations: 47.62 kB / 464.6 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.5157, allocations: 15.98 kB / 464.6 MB, free: 156 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.000186/0.5159, allocations: 149.8 kB / 464.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.875e-05/0.516, allocations: 11.91 kB / 464.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.5172, allocations: 0.4953 MB / 465.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.5172, allocations: 4 kB / 465.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.5172, allocations: 0 / 465.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.5172, allocations: 3.984 kB / 465.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007652/0.518, allocations: 461.7 kB / 465.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.518, allocations: 0 / 465.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/0.5185, allocations: 67.52 kB / 465.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5185, allocations: 0 / 465.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.5186, allocations: 12 kB / 465.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5186, allocations: 0 / 465.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5186, allocations: 4 kB / 465.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.5197, allocations: 0.7054 MB / 466.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.733e-05/0.5198, allocations: 96.86 kB / 466.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.5199, allocations: 4 kB / 466.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/0.5204, allocations: 27.97 kB / 466.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.5204, allocations: 31.86 kB / 466.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.5205, allocations: 11.98 kB / 466.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.118e-05/0.5205, allocations: 99.27 kB / 466.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5205, allocations: 0 / 466.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007284/0.5213, allocations: 156 kB / 466.9 MB, free: 13.73 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.001994/0.5233, allocations: 1.497 MB / 468.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008637/0.5242, allocations: 451.9 kB / 468.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5242, allocations: 0 / 468.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.5245, allocations: 212.6 kB / 469.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006235/0.5252, allocations: 90.09 kB / 469.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.5293, allocations: 4.124 MB / 473.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.5296, allocations: 0.7408 MB / 474 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006482/0.5303, allocations: 122.4 kB / 474.2 MB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.5305, allocations: 59.41 kB / 474.2 MB, free: 6.293 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5305, allocations: 0 / 474.2 MB, free: 6.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.5542, allocations: 9.732 MB / 483.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.5544, allocations: 167.6 kB / 484.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/2.669, allocations: 0 / 484.1 MB, free: 12.33 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat