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.001577/0.001582, allocations: 179.4 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00159/0.001589, allocations: 93.17 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.693e-05/2.704e-05, allocations: 4 kB / 314.9 MB, free: 9.074 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3737, allocations: 47.57 MB / 362.4 MB, free: 45.71 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.235/2.609, allocations: 0.7539 GB / 1.108 GB, free: 37.91 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/2.609, allocations: 77.52 kB / 1.108 GB, free: 37.88 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5158/3.125, allocations: 60.83 MB / 1.167 GB, free: 138 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.953e-06/3.125, allocations: 2.062 kB / 1.167 GB, free: 138 MB / 427.1 MB Notification: Performance of Transformations before backend: time 1.726e-05/3.125, allocations: 2.219 kB / 1.167 GB, free: 138 MB / 427.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.001102/3.126, allocations: 483.3 kB / 1.168 GB, free: 137.6 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/3.126, allocations: 12.41 kB / 1.168 GB, free: 137.6 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/3.136, allocations: 0.7049 MB / 1.168 GB, free: 137.6 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007664/3.137, allocations: 280.4 kB / 1.169 GB, free: 137.4 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/3.137, allocations: 6.344 kB / 1.169 GB, free: 137.4 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/3.137, allocations: 14.41 kB / 1.169 GB, free: 137.4 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001885/3.139, allocations: 0.6455 MB / 1.169 GB, free: 137.4 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009652/3.14, allocations: 411 kB / 1.17 GB, free: 137.4 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/3.14, allocations: 3.625 kB / 1.17 GB, free: 137.4 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.681e-05/3.14, allocations: 3.953 kB / 1.17 GB, free: 137.4 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/3.14, allocations: 10.16 kB / 1.17 GB, free: 137.4 MB / 427.1 MB Warning: The model contains alias variables with conflicting start and/or 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.004731/3.145, allocations: 1.321 MB / 1.171 GB, free: 136.8 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/3.146, allocations: 312.6 kB / 1.171 GB, free: 136.7 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004622/3.146, allocations: 229.4 kB / 1.172 GB, free: 136.7 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008527/3.147, allocations: 255.6 kB / 1.172 GB, free: 136.5 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/3.147, allocations: 36.75 kB / 1.172 GB, free: 136.5 MB / 427.1 MB Notification: Performance of pre-optimization done (n=28): time 3.246e-06/3.147, allocations: 0 / 1.172 GB, free: 136.5 MB / 427.1 MB Notification: Performance of matching and sorting (n=28): time 0.001322/3.149, allocations: 438.2 kB / 1.172 GB, free: 136.4 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/3.149, allocations: 84.95 kB / 1.172 GB, free: 136.3 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/3.149, allocations: 118.9 kB / 1.173 GB, free: 136.2 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 6.423e-05/3.149, allocations: 25.7 kB / 1.173 GB, free: 136.2 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/3.149, allocations: 183.3 kB / 1.173 GB, free: 136.1 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/3.149, allocations: 102.3 kB / 1.173 GB, free: 136 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/3.149, allocations: 0 / 1.173 GB, free: 136 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 7.792e-05/3.149, allocations: 325.3 kB / 1.173 GB, free: 135.7 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/3.15, allocations: 205.5 kB / 1.173 GB, free: 135.7 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/3.15, allocations: 290.6 kB / 1.174 GB, free: 135.6 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/3.151, allocations: 234.2 kB / 1.174 GB, free: 135.6 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/3.151, allocations: 7.953 kB / 1.174 GB, free: 135.6 MB / 427.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001317/3.152, allocations: 0.5161 MB / 1.174 GB, free: 135.5 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/3.152, allocations: 15.58 kB / 1.174 GB, free: 135.5 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/3.152, allocations: 3.719 kB / 1.174 GB, free: 135.5 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/3.152, allocations: 3.969 kB / 1.174 GB, free: 135.5 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/3.153, allocations: 94.31 kB / 1.174 GB, free: 135.5 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/3.153, allocations: 7.75 kB / 1.174 GB, free: 135.5 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007945/3.154, allocations: 34.23 kB / 1.174 GB, free: 135.5 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.407e-05/3.154, allocations: 17.75 kB / 1.174 GB, free: 135.5 MB / 427.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 () * 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.00018/3.154, allocations: 113.4 kB / 1.175 GB, free: 135.4 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001156/3.156, allocations: 441.2 kB / 1.175 GB, free: 135.3 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/3.156, allocations: 22.58 kB / 1.175 GB, free: 135.3 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/3.157, allocations: 0.526 MB / 1.176 GB, free: 135.1 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/3.157, allocations: 2.75 kB / 1.176 GB, free: 135.1 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/3.157, allocations: 3.953 kB / 1.176 GB, free: 135 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/3.157, allocations: 2.625 kB / 1.176 GB, free: 135 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/3.158, allocations: 0.5039 MB / 1.176 GB, free: 134.7 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/3.158, allocations: 0 / 1.176 GB, free: 134.7 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/3.16, allocations: 73.27 kB / 1.176 GB, free: 134.7 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/3.16, allocations: 0 / 1.176 GB, free: 134.7 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.656e-05/3.16, allocations: 6.781 kB / 1.176 GB, free: 134.7 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/3.16, allocations: 8 kB / 1.176 GB, free: 134.7 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/3.16, allocations: 3.984 kB / 1.176 GB, free: 134.7 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/3.161, allocations: 0.7192 MB / 1.177 GB, free: 134.3 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/3.161, allocations: 100.3 kB / 1.177 GB, free: 134.1 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.125e-05/3.161, allocations: 14.89 kB / 1.177 GB, free: 134.1 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008655/3.162, allocations: 19.03 kB / 1.177 GB, free: 134.1 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/3.162, allocations: 19.16 kB / 1.177 GB, free: 134.1 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.138e-05/3.162, allocations: 19.52 kB / 1.177 GB, free: 134.1 MB / 427.1 MB Notification: Performance of sorting global known variables: time 6.617e-05/3.162, allocations: 99.72 kB / 1.177 GB, free: 134.1 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.11e-07/3.162, allocations: 0 / 1.177 GB, free: 134.1 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001152/3.164, allocations: 198.7 kB / 1.177 GB, free: 134 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete 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.003517/3.167, allocations: 2.068 MB / 1.179 GB, free: 132.8 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/3.168, allocations: 474.5 kB / 1.18 GB, free: 132.6 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/3.168, allocations: 2.062 kB / 1.18 GB, free: 132.6 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000477/3.169, allocations: 231.7 kB / 1.18 GB, free: 132.6 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/3.17, allocations: 81.27 kB / 1.18 GB, free: 132.5 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/3.172, allocations: 0.9263 MB / 1.181 GB, free: 131.9 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/3.173, allocations: 0.7397 MB / 1.182 GB, free: 131.2 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/3.173, allocations: 72 kB / 1.182 GB, free: 131.2 MB / 427.1 MB Notification: Performance of SimCode: time 1.182e-06/3.173, allocations: 0 / 1.182 GB, free: 131.2 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.796/5.969, allocations: 10.81 MB / 1.192 GB, free: 129.4 MB / 427.1 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