Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.002316/0.002316, allocations: 185.7 kB / 16.41 MB, free: 5.723 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.106/2.106, 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.001204/0.001204, allocations: 92.67 kB / 270.9 MB, free: 8.379 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.533/0.533, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.000523, allocations: 8 kB / 431.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1465, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.363/2.509, allocations: 0.7271 GB / 1.206 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/2.51, allocations: 76.09 kB / 1.206 GB, free: 57.89 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1181/2.628, allocations: 33.55 MB / 1.239 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.735e-06/2.628, allocations: 0 / 1.239 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.318e-05/2.628, allocations: 0 / 1.239 GB, free: 27.72 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006224/2.629, allocations: 421.4 kB / 1.239 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/2.629, allocations: 12.03 kB / 1.239 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/2.629, allocations: 38.55 kB / 1.239 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/2.631, allocations: 190.4 kB / 1.239 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/2.632, allocations: 210.9 kB / 1.24 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/2.632, allocations: 8.188 kB / 1.24 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/2.632, allocations: 7.906 kB / 1.24 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007292/2.633, allocations: 206.9 kB / 1.24 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/2.633, allocations: 3.953 kB / 1.24 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/2.633, allocations: 4 kB / 1.24 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/2.633, allocations: 7.938 kB / 1.24 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008895/2.634, allocations: 216.4 kB / 1.24 GB, free: 26.33 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.002052/2.636, allocations: 0.6379 MB / 1.241 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/2.636, allocations: 162.5 kB / 1.241 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/2.637, allocations: 89.09 kB / 1.241 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/2.637, allocations: 34.5 kB / 1.241 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 2.696e-06/2.637, allocations: 4 kB / 1.241 GB, free: 25.32 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.009253/2.646, allocations: 1.453 MB / 1.242 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/2.646, allocations: 51.41 kB / 1.242 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/2.646, allocations: 116.9 kB / 1.242 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/2.646, allocations: 29.7 kB / 1.242 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/2.646, allocations: 170.7 kB / 1.243 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.771e-05/2.646, allocations: 74.98 kB / 1.243 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/2.646, allocations: 4 kB / 1.243 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.214e-05/2.646, allocations: 314.8 kB / 1.243 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/2.647, allocations: 79.95 kB / 1.243 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/2.647, allocations: 115.6 kB / 1.243 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/2.647, allocations: 99.86 kB / 1.243 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/2.648, allocations: 4 kB / 1.243 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008974/2.648, allocations: 258.3 kB / 1.244 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/2.648, allocations: 4 kB / 1.244 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/2.648, allocations: 4 kB / 1.244 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/2.649, allocations: 16.84 kB / 1.244 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/2.649, allocations: 59.89 kB / 1.244 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003677/2.65, allocations: 0.5368 MB / 1.244 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/2.65, allocations: 8.016 kB / 1.244 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/2.65, allocations: 15.94 kB / 1.244 GB, free: 21.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001584/2.65, allocations: 133.7 kB / 1.244 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/2.65, allocations: 12 kB / 1.244 GB, free: 21.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/2.651, allocations: 295 kB / 1.245 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/2.651, allocations: 7.953 kB / 1.245 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/2.652, allocations: 0 / 1.245 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/2.652, allocations: 0 / 1.245 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/2.653, allocations: 0.6519 MB / 1.245 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/2.653, allocations: 4 kB / 1.245 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006566/2.654, allocations: 47.95 kB / 1.245 GB, free: 20.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001242/2.654, allocations: 24.78 kB / 1.245 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/2.654, allocations: 8 kB / 1.245 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008819/2.655, allocations: 1.268 MB / 1.247 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/2.655, allocations: 3.938 kB / 1.247 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/2.656, allocations: 469.1 kB / 1.247 GB, free: 18.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/2.656, allocations: 89 kB / 1.247 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/2.656, allocations: 3.984 kB / 1.247 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/2.657, allocations: 12 kB / 1.247 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/2.657, allocations: 19.98 kB / 1.247 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/2.657, allocations: 11.98 kB / 1.247 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.161e-05/2.657, allocations: 91.27 kB / 1.247 GB, free: 18.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/2.657, allocations: 0 / 1.247 GB, free: 18.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000879/2.658, allocations: 159.9 kB / 1.247 GB, free: 18.17 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002945/2.661, allocations: 1.729 MB / 1.249 GB, free: 16.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009479/2.662, allocations: 215.7 kB / 1.249 GB, free: 16.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.81e-06/2.662, allocations: 0 / 1.249 GB, free: 16.19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000528/2.662, allocations: 218.8 kB / 1.249 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/2.663, allocations: 47.89 kB / 1.25 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/2.666, allocations: 1.623 MB / 1.251 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/2.666, allocations: 0.7088 MB / 1.252 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/2.666, allocations: 43.41 kB / 1.252 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/2.666, allocations: 4 kB / 1.252 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.946/5.612, allocations: 7.903 MB / 1.26 GB, free: 5.527 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat