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.001525/0.001525, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.964/1.964, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001205/0.001204, allocations: 89.55 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 8 kB / 327.1 MB, free: 140 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.351, allocations: 47.57 MB / 374.6 MB, free: 45.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.358/2.709, allocations: 0.7546 GB / 1.12 GB, free: 115.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/2.709, allocations: 87.05 kB / 1.121 GB, free: 115.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2095/2.918, allocations: 61.88 MB / 1.181 GB, free: 100.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.165e-06/2.919, allocations: 0 / 1.181 GB, free: 100.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/2.919, allocations: 8 kB / 1.181 GB, free: 100.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.0009364/2.919, allocations: 495.2 kB / 1.181 GB, free: 99.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/2.92, allocations: 8.031 kB / 1.181 GB, free: 99.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.756e-05/2.92, allocations: 54.23 kB / 1.182 GB, free: 99.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/2.93, allocations: 0.7044 MB / 1.182 GB, free: 99.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006707/2.93, allocations: 283.9 kB / 1.182 GB, free: 98.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/2.93, allocations: 11.77 kB / 1.183 GB, free: 98.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/2.931, allocations: 15 kB / 1.183 GB, free: 98.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/2.933, allocations: 0.6915 MB / 1.183 GB, free: 98.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/2.933, allocations: 0 / 1.183 GB, free: 98.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/2.933, allocations: 13.2 kB / 1.183 GB, free: 98.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/2.933, allocations: 18.55 kB / 1.183 GB, free: 98.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/2.936, allocations: 0.7626 MB / 1.184 GB, free: 97.74 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.004451/2.941, allocations: 1.222 MB / 1.185 GB, free: 96.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/2.942, allocations: 316.9 kB / 1.185 GB, free: 96.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008316/2.943, allocations: 258.3 kB / 1.186 GB, free: 95.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/2.943, allocations: 38.45 kB / 1.186 GB, free: 95.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.675e-06/2.943, allocations: 4 kB / 1.186 GB, free: 95.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002265/2.945, allocations: 0.5415 MB / 1.186 GB, free: 95.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/2.945, allocations: 81.11 kB / 1.186 GB, free: 95.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/2.945, allocations: 121 kB / 1.186 GB, free: 95.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/2.945, allocations: 29.7 kB / 1.187 GB, free: 95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/2.945, allocations: 190.6 kB / 1.187 GB, free: 94.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/2.946, allocations: 90.64 kB / 1.187 GB, free: 94.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/2.946, allocations: 12 kB / 1.187 GB, free: 94.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.908e-05/2.946, allocations: 322.8 kB / 1.187 GB, free: 94.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006421/2.946, allocations: 179.8 kB / 1.187 GB, free: 94.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006924/2.947, allocations: 289 kB / 1.188 GB, free: 93.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007217/2.948, allocations: 214.8 kB / 1.188 GB, free: 93.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/2.948, allocations: 0 / 1.188 GB, free: 93.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001741/2.95, allocations: 0.501 MB / 1.188 GB, free: 93.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/2.95, allocations: 11.94 kB / 1.188 GB, free: 93.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/2.95, allocations: 7.953 kB / 1.188 GB, free: 93.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/2.95, allocations: 4 kB / 1.188 GB, free: 93.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009514/2.951, allocations: 79.88 kB / 1.188 GB, free: 93.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/2.951, allocations: 12.73 kB / 1.188 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007575/2.951, allocations: 43.67 kB / 1.188 GB, free: 93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.353e-05/2.952, allocations: 23.98 kB / 1.188 GB, free: 92.98 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.0002504/2.952, allocations: 137.8 kB / 1.189 GB, free: 92.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/2.952, allocations: 15.91 kB / 1.189 GB, free: 92.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/2.954, allocations: 0.4905 MB / 1.189 GB, free: 92.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/2.954, allocations: 4 kB / 1.189 GB, free: 92.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/2.954, allocations: 3.984 kB / 1.189 GB, free: 92.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/2.954, allocations: 0 / 1.189 GB, free: 92.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/2.955, allocations: 0.4911 MB / 1.19 GB, free: 91.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/2.955, allocations: 0 / 1.19 GB, free: 91.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009243/2.956, allocations: 59.89 kB / 1.19 GB, free: 91.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/2.956, allocations: 0 / 1.19 GB, free: 91.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-05/2.956, allocations: 23.94 kB / 1.19 GB, free: 91.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/2.956, allocations: 0 / 1.19 GB, free: 91.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/2.956, allocations: 0 / 1.19 GB, free: 91.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/2.958, allocations: 0.6772 MB / 1.19 GB, free: 90.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.994e-05/2.958, allocations: 100.8 kB / 1.19 GB, free: 90.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.809e-05/2.958, allocations: 8 kB / 1.19 GB, free: 90.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008552/2.959, allocations: 27.92 kB / 1.19 GB, free: 90.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/2.959, allocations: 19.91 kB / 1.19 GB, free: 90.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.971e-05/2.959, allocations: 15.98 kB / 1.19 GB, free: 90.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.199e-05/2.959, allocations: 99.27 kB / 1.191 GB, free: 90.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.96, allocations: 0 / 1.191 GB, free: 90.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001222/2.961, allocations: 207.9 kB / 1.191 GB, free: 90.5 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.004177/2.965, allocations: 1.95 MB / 1.193 GB, free: 88.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001557/2.967, allocations: 435.8 kB / 1.193 GB, free: 88.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/2.967, allocations: 0 / 1.193 GB, free: 88.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006663/2.967, allocations: 211.7 kB / 1.193 GB, free: 87.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/2.968, allocations: 80.47 kB / 1.193 GB, free: 87.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/2.974, allocations: 4.164 MB / 1.197 GB, free: 83.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/2.974, allocations: 0.7407 MB / 1.198 GB, free: 82.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/2.974, allocations: 71.33 kB / 1.198 GB, free: 82.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/2.974, allocations: 0 / 1.198 GB, free: 82.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.79/5.765, allocations: 10.35 MB / 1.208 GB, free: 72.32 MB / 426.7 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