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.00106/0.00106, allocations: 181.3 kB / 8.7 MB, free: 352 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008973/0.0008974, allocations: 78.72 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.38e-05, allocations: 0 / 315.6 MB, free: 22.64 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1388, allocations: 47.59 MB / 363.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.482/2.621, allocations: 0.7542 GB / 1.109 GB, free: 91.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004046/2.621, allocations: 79.95 kB / 1.109 GB, free: 91.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1152/2.736, allocations: 60.83 MB / 1.168 GB, free: 29.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.013e-06/2.736, allocations: 0 / 1.168 GB, free: 29.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/2.736, allocations: 4 kB / 1.168 GB, free: 29.47 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.0008602/2.737, allocations: 475.2 kB / 1.169 GB, free: 28.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/2.737, allocations: 8.031 kB / 1.169 GB, free: 28.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005282/2.743, allocations: 0.7097 MB / 1.169 GB, free: 28.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/2.743, allocations: 274.8 kB / 1.17 GB, free: 27.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/2.743, allocations: 12 kB / 1.17 GB, free: 27.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/2.743, allocations: 11.91 kB / 1.17 GB, free: 27.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001057/2.744, allocations: 0.6445 MB / 1.17 GB, free: 27.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006418/2.745, allocations: 408.5 kB / 1.171 GB, free: 26.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/2.745, allocations: 4 kB / 1.171 GB, free: 26.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.076e-05/2.745, allocations: 7.953 kB / 1.171 GB, free: 26.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/2.745, allocations: 12 kB / 1.171 GB, free: 26.82 MB / 426.7 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.002944/2.748, allocations: 1.315 MB / 1.172 GB, free: 25.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/2.749, allocations: 325.4 kB / 1.172 GB, free: 25.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/2.749, allocations: 233.6 kB / 1.173 GB, free: 24.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005491/2.749, allocations: 250.1 kB / 1.173 GB, free: 24.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/2.749, allocations: 38.56 kB / 1.173 GB, free: 24.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.016e-06/2.749, allocations: 0 / 1.173 GB, free: 24.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007834/2.75, allocations: 441.2 kB / 1.173 GB, free: 24.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/2.75, allocations: 85.05 kB / 1.173 GB, free: 24.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.957e-05/2.75, allocations: 114.7 kB / 1.173 GB, free: 23.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/2.75, allocations: 29.7 kB / 1.173 GB, free: 23.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/2.75, allocations: 112.5 kB / 1.174 GB, free: 23.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.743e-05/2.751, allocations: 102.5 kB / 1.174 GB, free: 23.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/2.751, allocations: 3.938 kB / 1.174 GB, free: 23.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.853e-05/2.751, allocations: 330.8 kB / 1.174 GB, free: 23.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/2.751, allocations: 196 kB / 1.174 GB, free: 23.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/2.751, allocations: 296.6 kB / 1.174 GB, free: 22.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/2.752, allocations: 231.8 kB / 1.175 GB, free: 22.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/2.752, allocations: 3.953 kB / 1.175 GB, free: 22.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007229/2.752, allocations: 0.5211 MB / 1.175 GB, free: 22.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/2.752, allocations: 15.98 kB / 1.175 GB, free: 22.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/2.752, allocations: 0 / 1.175 GB, free: 22.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/2.752, allocations: 8 kB / 1.175 GB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/2.753, allocations: 87.88 kB / 1.175 GB, free: 21.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/2.753, allocations: 7.938 kB / 1.175 GB, free: 21.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/2.753, allocations: 39.66 kB / 1.175 GB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/2.753, allocations: 23.98 kB / 1.175 GB, free: 21.86 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 () * 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.000124/2.754, allocations: 112.9 kB / 1.176 GB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006446/2.754, allocations: 437.3 kB / 1.176 GB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/2.754, allocations: 15.81 kB / 1.176 GB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008509/2.755, allocations: 0.5296 MB / 1.176 GB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/2.755, allocations: 4 kB / 1.176 GB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/2.755, allocations: 7.953 kB / 1.176 GB, free: 20.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/2.755, allocations: 0 / 1.176 GB, free: 20.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/2.756, allocations: 0.4997 MB / 1.177 GB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/2.756, allocations: 0 / 1.177 GB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/2.757, allocations: 59.89 kB / 1.177 GB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/2.757, allocations: 7.984 kB / 1.177 GB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/2.757, allocations: 11.94 kB / 1.177 GB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/2.757, allocations: 3.953 kB / 1.177 GB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/2.757, allocations: 7.984 kB / 1.177 GB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009555/2.758, allocations: 0.7164 MB / 1.178 GB, free: 19.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/2.758, allocations: 88.95 kB / 1.178 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.215e-05/2.758, allocations: 19.94 kB / 1.178 GB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/2.758, allocations: 19.89 kB / 1.178 GB, free: 19.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/2.758, allocations: 15.97 kB / 1.178 GB, free: 19.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.166e-05/2.758, allocations: 27.92 kB / 1.178 GB, free: 19.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.122e-05/2.758, allocations: 95.7 kB / 1.178 GB, free: 19.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/2.758, allocations: 0 / 1.178 GB, free: 19.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001133/2.76, allocations: 196 kB / 1.178 GB, free: 18.91 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 () * 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.003113/2.763, allocations: 2.083 MB / 1.18 GB, free: 16.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007833/2.763, allocations: 463.7 kB / 1.181 GB, free: 16.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/2.763, allocations: 0 / 1.181 GB, free: 16.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/2.764, allocations: 227.9 kB / 1.181 GB, free: 16.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007041/2.764, allocations: 92.55 kB / 1.181 GB, free: 16.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/2.766, allocations: 0.8985 MB / 1.182 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/2.767, allocations: 0.7369 MB / 1.183 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007705/2.767, allocations: 129.9 kB / 1.183 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/2.768, allocations: 63.41 kB / 1.183 GB, free: 14.14 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/2.768, allocations: 0 / 1.183 GB, free: 14.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04111/2.809, allocations: 13.69 MB / 1.196 GB, free: 432 kB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/2.809, allocations: 121.6 kB / 1.196 GB, free: 240 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/5.129, allocations: 3.969 kB / 1.196 GB, free: 236 kB / 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