Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_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.002256/0.002256, allocations: 183.3 kB / 15.76 MB, free: 6.363 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.932/1.932, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001178/0.001178, allocations: 98.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2658/0.2658, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004343/0.0004347, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1672, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.293/2.46, allocations: 0.7642 GB / 1.243 GB, free: 81.56 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/2.46, allocations: 67.97 kB / 1.243 GB, free: 81.49 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.12/2.58, allocations: 62.01 MB / 1.304 GB, free: 18.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.805e-06/2.58, allocations: 4 kB / 1.304 GB, free: 18.53 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.792e-05/2.58, allocations: 0 / 1.304 GB, free: 18.53 MB / 0.5105 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.0009951/2.581, allocations: 484 kB / 1.304 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/2.582, allocations: 12.03 kB / 1.304 GB, free: 18 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/2.582, allocations: 50.53 kB / 1.304 GB, free: 17.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00581/2.587, allocations: 0.7141 MB / 1.305 GB, free: 17.22 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006308/2.588, allocations: 286.6 kB / 1.305 GB, free: 16.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/2.588, allocations: 12.28 kB / 1.305 GB, free: 16.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/2.588, allocations: 19.94 kB / 1.305 GB, free: 16.87 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/2.59, allocations: 0.6956 MB / 1.306 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/2.59, allocations: 0 / 1.306 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.28e-05/2.59, allocations: 4 kB / 1.306 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/2.59, allocations: 15.98 kB / 1.306 GB, free: 16.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/2.591, allocations: 0.7651 MB / 1.307 GB, free: 15.38 MB / 0.5105 GB 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.002697/2.594, allocations: 1.225 MB / 1.308 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006608/2.595, allocations: 313 kB / 1.308 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005431/2.595, allocations: 254.6 kB / 1.308 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/2.595, allocations: 38.55 kB / 1.308 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/2.595, allocations: 0 / 1.308 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.00125/2.597, allocations: 0.5466 MB / 1.309 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/2.597, allocations: 85.11 kB / 1.309 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/2.597, allocations: 124.9 kB / 1.309 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/2.597, allocations: 25.7 kB / 1.309 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/2.597, allocations: 120.2 kB / 1.309 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/2.597, allocations: 94.64 kB / 1.309 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/2.597, allocations: 8 kB / 1.309 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.418e-05/2.597, allocations: 326.8 kB / 1.31 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/2.597, allocations: 175.9 kB / 1.31 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/2.598, allocations: 296.1 kB / 1.31 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/2.598, allocations: 215.8 kB / 1.31 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/2.598, allocations: 0 / 1.31 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009224/2.599, allocations: 0.5077 MB / 1.311 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/2.599, allocations: 8 kB / 1.311 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/2.599, allocations: 4 kB / 1.311 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/2.599, allocations: 4 kB / 1.311 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/2.6, allocations: 80.28 kB / 1.311 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/2.6, allocations: 8 kB / 1.311 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/2.6, allocations: 43.67 kB / 1.311 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/2.6, allocations: 19.98 kB / 1.311 GB, free: 10.68 MB / 0.5105 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 () * 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.0001811/2.601, allocations: 153.6 kB / 1.311 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/2.601, allocations: 15.91 kB / 1.311 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009997/2.602, allocations: 490.3 kB / 1.312 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/2.602, allocations: 4 kB / 1.312 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/2.602, allocations: 7.922 kB / 1.312 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/2.602, allocations: 0 / 1.312 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007469/2.603, allocations: 0.499 MB / 1.312 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/2.603, allocations: 4 kB / 1.312 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/2.603, allocations: 59.89 kB / 1.312 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/2.603, allocations: 8 kB / 1.312 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/2.603, allocations: 11.98 kB / 1.312 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/2.603, allocations: 0 / 1.312 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/2.603, allocations: 0 / 1.312 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/2.604, allocations: 0.6771 MB / 1.313 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/2.604, allocations: 96.84 kB / 1.313 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/2.604, allocations: 11.94 kB / 1.313 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/2.605, allocations: 27.92 kB / 1.313 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/2.605, allocations: 15.97 kB / 1.313 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/2.605, allocations: 19.98 kB / 1.313 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.176e-05/2.605, allocations: 99.2 kB / 1.313 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/2.605, allocations: 0 / 1.313 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001123/2.606, allocations: 207.8 kB / 1.313 GB, free: 8.184 MB / 0.5105 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 () * 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.003431/2.61, allocations: 1.942 MB / 1.315 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009441/2.611, allocations: 428.2 kB / 1.316 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/2.611, allocations: 4.25 kB / 1.316 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003766/2.611, allocations: 206.3 kB / 1.316 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/2.612, allocations: 87.8 kB / 1.316 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004791/2.616, allocations: 4.123 MB / 1.32 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/2.617, allocations: 0.7406 MB / 1.321 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007814/2.618, allocations: 113.7 kB / 1.321 GB, free: 400 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/2.618, allocations: 67.41 kB / 1.321 GB, free: 332 kB / 0.5105 GB Notification: Performance of SimCode: time 7.074e-06/2.618, allocations: 0 / 1.321 GB, free: 332 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3339/2.952, allocations: 18.37 MB / 1.339 GB, free: 167.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002944/2.952, allocations: 173.8 kB / 1.339 GB, free: 167.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/5.182, allocations: 0 / 1.339 GB, free: 167.4 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat