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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001445/0.001445, allocations: 180.7 kB / 17.02 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.4 MB / 223.1 MB, free: 9.109 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.001061/0.001061, allocations: 96 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.000266, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2964, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.538/1.834, allocations: 0.7546 GB / 1.122 GB, free: 13.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/1.835, allocations: 79.95 kB / 1.122 GB, free: 13.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3307/2.165, allocations: 61.9 MB / 1.182 GB, free: 125.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/2.166, allocations: 0 / 1.182 GB, free: 125.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/2.166, allocations: 4 kB / 1.182 GB, free: 125.4 MB / 426.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.0008371/2.166, allocations: 491.3 kB / 1.183 GB, free: 124.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/2.166, allocations: 8.031 kB / 1.183 GB, free: 124.9 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.331e-05/2.167, allocations: 50.55 kB / 1.183 GB, free: 124.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005627/2.172, allocations: 0.7058 MB / 1.183 GB, free: 124.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005337/2.173, allocations: 282.7 kB / 1.184 GB, free: 123.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/2.173, allocations: 16.33 kB / 1.184 GB, free: 123.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/2.173, allocations: 16 kB / 1.184 GB, free: 123.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/2.174, allocations: 0.6956 MB / 1.184 GB, free: 123 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/2.174, allocations: 0 / 1.184 GB, free: 123 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.262e-05/2.174, allocations: 15.98 kB / 1.184 GB, free: 123 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/2.175, allocations: 8 kB / 1.184 GB, free: 123 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/2.176, allocations: 0.7612 MB / 1.185 GB, free: 122.2 MB / 426.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.002701/2.179, allocations: 1.234 MB / 1.186 GB, free: 121 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006037/2.179, allocations: 312.9 kB / 1.187 GB, free: 120.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00053/2.18, allocations: 254.2 kB / 1.187 GB, free: 120.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/2.18, allocations: 42.5 kB / 1.187 GB, free: 120.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/2.18, allocations: 0 / 1.187 GB, free: 120.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001355/2.181, allocations: 0.5442 MB / 1.188 GB, free: 119.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/2.181, allocations: 77.11 kB / 1.188 GB, free: 119.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/2.181, allocations: 128.9 kB / 1.188 GB, free: 119.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/2.181, allocations: 29.7 kB / 1.188 GB, free: 119.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/2.181, allocations: 124.2 kB / 1.188 GB, free: 119.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/2.182, allocations: 94.66 kB / 1.188 GB, free: 119.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/2.182, allocations: 7.938 kB / 1.188 GB, free: 119.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.426e-05/2.182, allocations: 326.8 kB / 1.188 GB, free: 118.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/2.182, allocations: 183.9 kB / 1.188 GB, free: 118.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/2.182, allocations: 285 kB / 1.189 GB, free: 118.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/2.183, allocations: 211.9 kB / 1.189 GB, free: 118.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/2.183, allocations: 0 / 1.189 GB, free: 118.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009553/2.184, allocations: 0.5051 MB / 1.189 GB, free: 117.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/2.184, allocations: 4 kB / 1.189 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/2.184, allocations: 4 kB / 1.189 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/2.184, allocations: 11.98 kB / 1.189 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/2.184, allocations: 79.83 kB / 1.19 GB, free: 117.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/2.184, allocations: 8 kB / 1.19 GB, free: 117.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004158/2.185, allocations: 43.91 kB / 1.19 GB, free: 117.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/2.185, allocations: 19.95 kB / 1.19 GB, free: 117.6 MB / 426.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 (38): * Single equations (assignments): 38 * 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.0001516/2.185, allocations: 145.7 kB / 1.19 GB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/2.185, allocations: 15.89 kB / 1.19 GB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/2.186, allocations: 488.3 kB / 1.19 GB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/2.186, allocations: 4 kB / 1.19 GB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/2.186, allocations: 4 kB / 1.19 GB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/2.186, allocations: 0 / 1.19 GB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000611/2.187, allocations: 0.4948 MB / 1.191 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/2.187, allocations: 0 / 1.191 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004723/2.187, allocations: 63.88 kB / 1.191 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/2.187, allocations: 3.938 kB / 1.191 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/2.187, allocations: 11.98 kB / 1.191 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/2.187, allocations: 8 kB / 1.191 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/2.187, allocations: 0 / 1.191 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/2.188, allocations: 0.6829 MB / 1.191 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/2.189, allocations: 88.95 kB / 1.192 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/2.189, allocations: 8 kB / 1.192 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/2.189, allocations: 23.97 kB / 1.192 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/2.189, allocations: 23.94 kB / 1.192 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/2.189, allocations: 19.97 kB / 1.192 GB, free: 115.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.82e-05/2.189, allocations: 99.27 kB / 1.192 GB, free: 115.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/2.189, allocations: 0 / 1.192 GB, free: 115.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001025/2.19, allocations: 207.9 kB / 1.192 GB, free: 115.1 MB / 426.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.002668/2.193, allocations: 1.951 MB / 1.194 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007598/2.194, allocations: 435.4 kB / 1.194 GB, free: 112.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/2.194, allocations: 0.8125 kB / 1.194 GB, free: 112.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003707/2.194, allocations: 209.7 kB / 1.194 GB, free: 112.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/2.195, allocations: 87.84 kB / 1.195 GB, free: 112.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/2.198, allocations: 4.132 MB / 1.199 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/2.198, allocations: 0.7406 MB / 1.199 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007616/2.199, allocations: 113.7 kB / 1.199 GB, free: 107.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/2.199, allocations: 67.39 kB / 1.199 GB, free: 107.2 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/2.199, allocations: 0 / 1.199 GB, free: 107.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/2.232, allocations: 18.45 MB / 1.217 GB, free: 88.73 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/2.232, allocations: 176.9 kB / 1.218 GB, free: 88.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/4.426, allocations: 0 / 1.218 GB, free: 88.48 MB / 426.7 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) 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