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.001256/0.001256, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.683/1.683, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009589/0.0009589, allocations: 86.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.824e-05/3.827e-05, allocations: 7.984 kB / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1243, allocations: 47.57 MB / 370.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.894/2.018, allocations: 0.7545 GB / 1.116 GB, free: 65.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/2.019, allocations: 72.25 kB / 1.116 GB, free: 65.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1113/2.13, allocations: 61.86 MB / 1.176 GB, free: 5.934 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/2.13, allocations: 0 / 1.176 GB, free: 5.934 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/2.13, allocations: 4 kB / 1.176 GB, free: 5.93 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.000676/2.131, allocations: 483.2 kB / 1.177 GB, free: 5.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/2.131, allocations: 8.031 kB / 1.177 GB, free: 5.402 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/2.131, allocations: 50.55 kB / 1.177 GB, free: 5.344 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00508/2.136, allocations: 0.7019 MB / 1.178 GB, free: 4.641 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/2.136, allocations: 282.8 kB / 1.178 GB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/2.136, allocations: 12.33 kB / 1.178 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/2.136, allocations: 23.91 kB / 1.178 GB, free: 4.289 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/2.137, allocations: 0.6566 MB / 1.179 GB, free: 3.617 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/2.138, allocations: 0 / 1.179 GB, free: 3.617 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.033e-05/2.138, allocations: 15.95 kB / 1.179 GB, free: 3.602 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/2.138, allocations: 11.94 kB / 1.179 GB, free: 3.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009969/2.139, allocations: 0.6989 MB / 1.179 GB, free: 2.891 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.002303/2.141, allocations: 1.234 MB / 1.181 GB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/2.141, allocations: 285 kB / 1.181 GB, free: 1.312 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/2.142, allocations: 185.7 kB / 1.181 GB, free: 1.125 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005065/2.142, allocations: 258.4 kB / 1.181 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/2.142, allocations: 42.5 kB / 1.181 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/2.142, allocations: 0 / 1.181 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.000677/2.143, allocations: 364.4 kB / 1.182 GB, free: 436 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/2.143, allocations: 85.11 kB / 1.182 GB, free: 332 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/2.143, allocations: 124.9 kB / 1.182 GB, free: 200 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/2.143, allocations: 33.62 kB / 1.182 GB, free: 160 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/2.143, allocations: 124.3 kB / 1.182 GB, free: 28 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2324/2.376, allocations: 87.91 kB / 1.182 GB, free: 128.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/2.376, allocations: 5.25 kB / 1.182 GB, free: 128.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/2.376, allocations: 326.5 kB / 1.182 GB, free: 128.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/2.376, allocations: 164 kB / 1.183 GB, free: 128.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/2.377, allocations: 265.7 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/2.377, allocations: 190.2 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/2.377, allocations: 4.359 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001003/2.378, allocations: 487.8 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/2.378, allocations: 9.031 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/2.378, allocations: 3.281 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/2.378, allocations: 6.047 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/2.379, allocations: 77.86 kB / 1.184 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/2.379, allocations: 10.73 kB / 1.184 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/2.379, allocations: 41.61 kB / 1.184 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/2.38, allocations: 23.66 kB / 1.184 GB, free: 128.2 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 (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.0001427/2.38, allocations: 124.9 kB / 1.184 GB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/2.38, allocations: 16.75 kB / 1.184 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009481/2.381, allocations: 459.3 kB / 1.184 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/2.381, allocations: 3.125 kB / 1.184 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/2.381, allocations: 1 kB / 1.184 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/2.381, allocations: 8.438 kB / 1.184 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007678/2.382, allocations: 497.5 kB / 1.185 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/2.382, allocations: 0 / 1.185 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/2.382, allocations: 60.56 kB / 1.185 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/2.382, allocations: 3.641 kB / 1.185 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/2.382, allocations: 13.52 kB / 1.185 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/2.382, allocations: 3.875 kB / 1.185 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/2.382, allocations: 4.031 kB / 1.185 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/2.383, allocations: 0.6441 MB / 1.185 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/2.383, allocations: 97.42 kB / 1.185 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/2.383, allocations: 7.641 kB / 1.185 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/2.384, allocations: 22.86 kB / 1.185 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/2.384, allocations: 16.84 kB / 1.185 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/2.384, allocations: 21.03 kB / 1.186 GB, free: 127.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.868e-05/2.384, allocations: 100.9 kB / 1.186 GB, free: 127.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.384, allocations: 1.031 kB / 1.186 GB, free: 127.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001097/2.385, allocations: 204.6 kB / 1.186 GB, free: 127.3 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 (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.002626/2.388, allocations: 1.907 MB / 1.188 GB, free: 126.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007769/2.389, allocations: 400 kB / 1.188 GB, free: 126.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/2.389, allocations: 3.688 kB / 1.188 GB, free: 126.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000313/2.389, allocations: 195.5 kB / 1.188 GB, free: 126.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006102/2.39, allocations: 87.84 kB / 1.188 GB, free: 126.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/2.391, allocations: 0.8769 MB / 1.189 GB, free: 126.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/2.391, allocations: 0.744 MB / 1.19 GB, free: 125.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007108/2.392, allocations: 112.6 kB / 1.19 GB, free: 125.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/2.392, allocations: 63.75 kB / 1.19 GB, free: 125.5 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/2.392, allocations: 0 / 1.19 GB, free: 125.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/2.436, allocations: 20.29 MB / 1.21 GB, free: 124.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/2.436, allocations: 141.6 kB / 1.21 GB, free: 124 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/4.567, allocations: 3.938 kB / 1.21 GB, free: 124 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