Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.00252/0.00252, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.218/2.218, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001239/0.001239, allocations: 92.89 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.7262/0.7262, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005498/0.0005499, allocations: 20 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1485, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.435/2.584, allocations: 0.7642 GB / 1.243 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/2.584, allocations: 71.95 kB / 1.243 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6054/3.19, allocations: 62.01 MB / 1.304 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.104e-06/3.19, allocations: 0 / 1.304 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.603e-05/3.19, allocations: 3.156 kB / 1.304 GB, free: 157.9 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.001011/3.191, allocations: 486.9 kB / 1.304 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/3.191, allocations: 8.312 kB / 1.304 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.994e-05/3.191, allocations: 56.22 kB / 1.304 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009942/3.201, allocations: 0.7038 MB / 1.305 GB, free: 157.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000769/3.202, allocations: 275.3 kB / 1.305 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/3.202, allocations: 11.42 kB / 1.305 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/3.202, allocations: 25.66 kB / 1.305 GB, free: 157.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/3.205, allocations: 0.6926 MB / 1.306 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/3.205, allocations: 5 kB / 1.306 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/3.205, allocations: 14.41 kB / 1.306 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/3.205, allocations: 9.719 kB / 1.306 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002999/3.208, allocations: 0.7711 MB / 1.307 GB, free: 156.6 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.004726/3.213, allocations: 1.232 MB / 1.308 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/3.214, allocations: 324.2 kB / 1.308 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008622/3.215, allocations: 249.2 kB / 1.308 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/3.215, allocations: 34.5 kB / 1.308 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 3.095e-06/3.215, allocations: 4 kB / 1.308 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.002441/3.217, allocations: 0.5511 MB / 1.309 GB, free: 155.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/3.217, allocations: 79.27 kB / 1.309 GB, free: 155 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/3.218, allocations: 119.6 kB / 1.309 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/3.218, allocations: 30.98 kB / 1.309 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/3.218, allocations: 187.4 kB / 1.309 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/3.218, allocations: 97.08 kB / 1.309 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/3.218, allocations: 4 kB / 1.309 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.217e-05/3.218, allocations: 336.4 kB / 1.31 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006885/3.219, allocations: 177.7 kB / 1.31 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007631/3.22, allocations: 286.8 kB / 1.31 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007821/3.22, allocations: 214.8 kB / 1.31 GB, free: 154 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/3.22, allocations: 1.031 kB / 1.31 GB, free: 154 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001985/3.222, allocations: 0.503 MB / 1.311 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/3.222, allocations: 6.375 kB / 1.311 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/3.222, allocations: 4.375 kB / 1.311 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/3.222, allocations: 9.438 kB / 1.311 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009827/3.223, allocations: 77.58 kB / 1.311 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/3.223, allocations: 5.078 kB / 1.311 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007527/3.224, allocations: 41.06 kB / 1.311 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.11e-05/3.224, allocations: 18.84 kB / 1.311 GB, free: 153.7 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.0003019/3.225, allocations: 155.8 kB / 1.311 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/3.225, allocations: 27.47 kB / 1.311 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/3.227, allocations: 483.8 kB / 1.312 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/3.227, allocations: 3.438 kB / 1.312 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/3.227, allocations: 0 / 1.312 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/3.227, allocations: 1.094 kB / 1.312 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/3.228, allocations: 0.5023 MB / 1.312 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/3.228, allocations: 5.094 kB / 1.312 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009873/3.229, allocations: 60.69 kB / 1.312 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/3.229, allocations: 1.219 kB / 1.312 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.919e-05/3.229, allocations: 12.61 kB / 1.312 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/3.229, allocations: 5.312 kB / 1.312 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/3.229, allocations: 1.281 kB / 1.312 GB, free: 153 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/3.231, allocations: 0.6863 MB / 1.313 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/3.232, allocations: 90.42 kB / 1.313 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/3.232, allocations: 7.219 kB / 1.313 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008612/3.233, allocations: 27.16 kB / 1.313 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/3.233, allocations: 13.16 kB / 1.313 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-05/3.233, allocations: 20.8 kB / 1.313 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.412e-05/3.233, allocations: 103.1 kB / 1.313 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/3.233, allocations: 0 / 1.313 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001342/3.234, allocations: 213.7 kB / 1.313 GB, free: 152.3 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.0045/3.239, allocations: 1.919 MB / 1.315 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001692/3.24, allocations: 439.6 kB / 1.316 GB, free: 151 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/3.241, allocations: 0 / 1.316 GB, free: 151 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007424/3.241, allocations: 204.5 kB / 1.316 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/3.242, allocations: 88.25 kB / 1.316 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006485/3.249, allocations: 4.173 MB / 1.32 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/3.249, allocations: 0.7411 MB / 1.321 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/3.25, allocations: 69.19 kB / 1.321 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/3.25, allocations: 0 / 1.321 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.836/6.086, allocations: 10.24 MB / 1.331 GB, free: 144.1 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat