Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002755/0.002755, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 94.78 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005708/0.0005709, allocations: 8 kB / 327.1 MB, free: 15.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1027, allocations: 47.58 MB / 374.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.4667/0.5694, allocations: 125.8 MB / 0.4887 GB, free: 15.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003309/0.5728, allocations: 1.724 MB / 0.4904 GB, free: 13.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.5729, allocations: 7.938 kB / 0.4904 GB, free: 13.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.5732, allocations: 51.77 kB / 0.4904 GB, free: 13.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.5749, allocations: 434.7 kB / 0.4908 GB, free: 13.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.5754, allocations: 75.89 kB / 0.4909 GB, free: 13.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.5757, allocations: 155.7 kB / 0.4911 GB, free: 13.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.674e-05/0.5758, allocations: 7.984 kB / 0.4911 GB, free: 13.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005137/0.5763, allocations: 175.5 kB / 0.4912 GB, free: 13.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.5765, allocations: 67.81 kB / 0.4913 GB, free: 12.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.5766, allocations: 4 kB / 0.4913 GB, free: 12.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.5789, allocations: 0.7178 MB / 0.492 GB, free: 12.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.5791, allocations: 75.83 kB / 0.4921 GB, free: 12.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.644e-05/0.5792, allocations: 65.58 kB / 0.4921 GB, free: 12.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.5804, allocations: 456.7 kB / 0.4926 GB, free: 11.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.5805, allocations: 0 / 0.4926 GB, free: 11.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5805, allocations: 0 / 0.4926 GB, free: 11.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.5805, allocations: 0 / 0.4926 GB, free: 11.65 MB / 378.7 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.0008996/0.5814, allocations: 464 kB / 0.493 GB, free: 11.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.5815, allocations: 8.031 kB / 0.493 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.761e-05/0.5815, allocations: 54.55 kB / 0.4931 GB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/0.5845, allocations: 255.5 kB / 0.4933 GB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.585, allocations: 254.7 kB / 0.4936 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.585, allocations: 12.33 kB / 0.4936 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.5851, allocations: 20 kB / 0.4936 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.5864, allocations: 0.4967 MB / 0.4941 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.5864, allocations: 0 / 0.4941 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.561e-05/0.5865, allocations: 11.94 kB / 0.4941 GB, free: 9.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.5866, allocations: 12.44 kB / 0.4941 GB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.5881, allocations: 0.5855 MB / 0.4947 GB, free: 9.395 MB / 378.7 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.003715/0.5918, allocations: 1.007 MB / 0.4957 GB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.5924, allocations: 241.9 kB / 0.4959 GB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.5937, allocations: 266.1 kB / 0.4961 GB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.5938, allocations: 42.55 kB / 0.4962 GB, free: 7.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.735e-06/0.5938, allocations: 0 / 0.4962 GB, free: 7.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.003278/0.5971, allocations: 0.5959 MB / 0.4968 GB, free: 7.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.5971, allocations: 81.11 kB / 0.4968 GB, free: 7.031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.5973, allocations: 131.8 kB / 0.497 GB, free: 6.895 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.265e-05/0.5974, allocations: 33.7 kB / 0.497 GB, free: 6.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.5975, allocations: 182.8 kB / 0.4972 GB, free: 6.676 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.5977, allocations: 114.5 kB / 0.4973 GB, free: 6.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.5978, allocations: 8 kB / 0.4973 GB, free: 6.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.5979, allocations: 322.8 kB / 0.4976 GB, free: 6.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005919/0.5985, allocations: 187.7 kB / 0.4978 GB, free: 6.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006825/0.5992, allocations: 284.5 kB / 0.4981 GB, free: 5.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/0.5999, allocations: 216 kB / 0.4983 GB, free: 5.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.6, allocations: 0 / 0.4983 GB, free: 5.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001634/0.6016, allocations: 0.5165 MB / 0.4988 GB, free: 4.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.6016, allocations: 11.98 kB / 0.4988 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.6017, allocations: 4 kB / 0.4988 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.6017, allocations: 4.406 kB / 0.4988 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009925/0.6027, allocations: 83.89 kB / 0.4989 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.6027, allocations: 11.94 kB / 0.4989 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007242/0.6035, allocations: 48.61 kB / 0.4989 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.953e-05/0.6036, allocations: 16 kB / 0.4989 GB, free: 4.809 MB / 378.7 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.0002609/0.6038, allocations: 149.7 kB / 0.4991 GB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.604, allocations: 11.91 kB / 0.4991 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/0.6057, allocations: 0.4906 MB / 0.4996 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.6057, allocations: 4 kB / 0.4996 GB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.6057, allocations: 3.938 kB / 0.4996 GB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.6057, allocations: 0 / 0.4996 GB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.607, allocations: 465.8 kB / 0.5 GB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.607, allocations: 0.5625 kB / 0.5 GB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009577/0.608, allocations: 59.89 kB / 0.5001 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.608, allocations: 0 / 0.5001 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.089e-05/0.6081, allocations: 12 kB / 0.5001 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.577e-05/0.6081, allocations: 11.92 kB / 0.5001 GB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6081, allocations: 0 / 0.5001 GB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.6101, allocations: 0.7015 MB / 0.5008 GB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.917e-05/0.6102, allocations: 92.86 kB / 0.5009 GB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.948e-05/0.6103, allocations: 12 kB / 0.5009 GB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008811/0.6112, allocations: 23.97 kB / 0.5009 GB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.6113, allocations: 23.92 kB / 0.5009 GB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-05/0.6114, allocations: 19.98 kB / 0.5009 GB, free: 2.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.822e-05/0.6115, allocations: 95.27 kB / 0.501 GB, free: 2.547 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6115, allocations: 0 / 0.501 GB, free: 2.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009493/0.6125, allocations: 152 kB / 0.5012 GB, free: 2.398 MB / 378.7 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.003391/0.6159, allocations: 1.51 MB / 0.5027 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.6173, allocations: 440.6 kB / 0.5031 GB, free: 440 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.6174, allocations: 0 / 0.5031 GB, free: 440 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006391/0.618, allocations: 219.8 kB / 0.5033 GB, free: 220 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.619, allocations: 87.84 kB / 0.5034 GB, free: 132 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00609/0.6251, allocations: 4.166 MB / 0.5074 GB, free: 11.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.6256, allocations: 0.7408 MB / 0.5082 GB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/0.6261, allocations: 59.41 kB / 0.5082 GB, free: 11.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6261, allocations: 0 / 0.5082 GB, free: 11.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.828/3.454, allocations: 7.461 MB / 0.5155 GB, free: 3.562 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_FlueGas.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat