Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001817/0.001817, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 99.28 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.248/0.248, allocations: 45.15 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.085e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1463, allocations: 63.26 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.206/2.352, allocations: 0.7328 GB / 1.237 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/2.353, allocations: 76.2 kB / 1.237 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1178/2.47, allocations: 62.57 MB / 1.298 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.813e-06/2.471, allocations: 0 / 1.298 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.281e-05/2.471, allocations: 0 / 1.298 GB, free: 55.64 MB / 0.5261 GB 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.0007233/2.471, allocations: 483.1 kB / 1.299 GB, free: 55.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/2.471, allocations: 12.03 kB / 1.299 GB, free: 55.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005286/2.477, allocations: 0.7141 MB / 1.3 GB, free: 54.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/2.477, allocations: 274.8 kB / 1.3 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/2.477, allocations: 15.89 kB / 1.3 GB, free: 54.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.907e-05/2.477, allocations: 16 kB / 1.3 GB, free: 54.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009107/2.478, allocations: 0.625 MB / 1.301 GB, free: 53.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005143/2.479, allocations: 404.5 kB / 1.301 GB, free: 53.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/2.479, allocations: 3.984 kB / 1.301 GB, free: 53.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/2.479, allocations: 0 / 1.301 GB, free: 53.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/2.479, allocations: 12 kB / 1.301 GB, free: 53.01 MB / 0.5261 GB 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.002488/2.481, allocations: 1.316 MB / 1.302 GB, free: 51.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/2.482, allocations: 329 kB / 1.303 GB, free: 51.31 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/2.482, allocations: 221.7 kB / 1.303 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007191/2.483, allocations: 363.2 kB / 1.303 GB, free: 50.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/2.483, allocations: 46.5 kB / 1.303 GB, free: 50.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 1.633e-06/2.483, allocations: 0 / 1.303 GB, free: 50.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.0007377/2.483, allocations: 433.7 kB / 1.304 GB, free: 50.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/2.483, allocations: 85.11 kB / 1.304 GB, free: 50.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/2.484, allocations: 118.5 kB / 1.304 GB, free: 49.97 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/2.484, allocations: 25.7 kB / 1.304 GB, free: 49.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/2.484, allocations: 116.5 kB / 1.304 GB, free: 49.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.684e-05/2.484, allocations: 110.5 kB / 1.304 GB, free: 49.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/2.484, allocations: 0 / 1.304 GB, free: 49.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.13e-05/2.484, allocations: 334.7 kB / 1.304 GB, free: 49.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/2.484, allocations: 195.9 kB / 1.304 GB, free: 49.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/2.484, allocations: 296.6 kB / 1.305 GB, free: 48.85 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/2.485, allocations: 230.8 kB / 1.305 GB, free: 48.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/2.485, allocations: 4 kB / 1.305 GB, free: 48.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007253/2.485, allocations: 0.5248 MB / 1.306 GB, free: 48.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/2.485, allocations: 8.031 kB / 1.306 GB, free: 48.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/2.485, allocations: 7.984 kB / 1.306 GB, free: 48.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/2.485, allocations: 8 kB / 1.306 GB, free: 48.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/2.486, allocations: 79.88 kB / 1.306 GB, free: 47.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/2.486, allocations: 11.94 kB / 1.306 GB, free: 47.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/2.486, allocations: 31.77 kB / 1.306 GB, free: 47.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/2.487, allocations: 23.98 kB / 1.306 GB, free: 47.92 MB / 0.5261 GB 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.0001141/2.487, allocations: 112.9 kB / 1.306 GB, free: 47.8 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006207/2.487, allocations: 447.5 kB / 1.306 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/2.487, allocations: 11.91 kB / 1.306 GB, free: 47.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007912/2.488, allocations: 0.5251 MB / 1.307 GB, free: 46.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/2.488, allocations: 11.92 kB / 1.307 GB, free: 46.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/2.488, allocations: 4 kB / 1.307 GB, free: 46.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/2.488, allocations: 0 / 1.307 GB, free: 46.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006621/2.489, allocations: 0.507 MB / 1.307 GB, free: 46.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/2.489, allocations: 0 / 1.307 GB, free: 46.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/2.489, allocations: 59.95 kB / 1.307 GB, free: 46.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/2.489, allocations: 3.984 kB / 1.307 GB, free: 46.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/2.489, allocations: 8 kB / 1.307 GB, free: 46.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/2.489, allocations: 7.938 kB / 1.307 GB, free: 46.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/2.49, allocations: 3.984 kB / 1.307 GB, free: 46.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007952/2.49, allocations: 0.716 MB / 1.308 GB, free: 45.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/2.49, allocations: 92.86 kB / 1.308 GB, free: 45.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/2.49, allocations: 7.984 kB / 1.308 GB, free: 45.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/2.491, allocations: 15.98 kB / 1.308 GB, free: 45.31 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/2.491, allocations: 19.97 kB / 1.308 GB, free: 45.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/2.491, allocations: 23.98 kB / 1.308 GB, free: 45.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.707e-05/2.491, allocations: 96.03 kB / 1.308 GB, free: 45.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/2.491, allocations: 0 / 1.308 GB, free: 45.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001045/2.492, allocations: 203.9 kB / 1.308 GB, free: 44.97 MB / 0.5261 GB 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.002502/2.495, allocations: 2.082 MB / 1.31 GB, free: 42.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006129/2.495, allocations: 473.5 kB / 1.311 GB, free: 42.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/2.495, allocations: 0 / 1.311 GB, free: 42.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/2.496, allocations: 227.9 kB / 1.311 GB, free: 42.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/2.496, allocations: 86.83 kB / 1.311 GB, free: 42.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/2.498, allocations: 0.8946 MB / 1.312 GB, free: 41.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/2.498, allocations: 0.7446 MB / 1.313 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007764/2.499, allocations: 130.2 kB / 1.313 GB, free: 40.26 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/2.499, allocations: 63.34 kB / 1.313 GB, free: 40.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/2.499, allocations: 7.938 kB / 1.313 GB, free: 40.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/2.529, allocations: 13.57 MB / 1.326 GB, free: 26.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/2.53, allocations: 124 kB / 1.326 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/4.589, allocations: 0 / 1.326 GB, free: 26.45 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat