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.002105/0.002105, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 92.69 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3015/0.3015, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.156e-05, allocations: 4.219 kB / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4275, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.007/2.435, allocations: 0.7263 GB / 1.192 GB, free: 8.816 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/2.435, allocations: 76.83 kB / 1.192 GB, free: 8.777 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.451/2.886, allocations: 32.9 MB / 1.225 GB, free: 177.2 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.523e-06/2.886, allocations: 0 / 1.225 GB, free: 177.2 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.363e-05/2.886, allocations: 1.062 kB / 1.225 GB, free: 177.2 MB / 0.4952 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.0006845/2.887, allocations: 413.7 kB / 1.225 GB, free: 176.8 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/2.887, allocations: 9.594 kB / 1.225 GB, free: 176.8 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002782/2.89, allocations: 176.7 kB / 1.225 GB, free: 176.8 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/2.89, allocations: 204.3 kB / 1.225 GB, free: 176.5 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/2.89, allocations: 10.88 kB / 1.225 GB, free: 176.5 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/2.89, allocations: 9.297 kB / 1.225 GB, free: 176.5 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006317/2.891, allocations: 189.3 kB / 1.225 GB, free: 176.5 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/2.891, allocations: 149.2 kB / 1.226 GB, free: 176.4 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/2.891, allocations: 1.312 kB / 1.226 GB, free: 176.4 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/2.891, allocations: 0 / 1.226 GB, free: 176.4 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/2.891, allocations: 2.5 kB / 1.226 GB, free: 176.4 MB / 0.4952 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.002017/2.893, allocations: 0.5914 MB / 1.226 GB, free: 175.9 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/2.894, allocations: 144.9 kB / 1.226 GB, free: 175.9 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/2.894, allocations: 74.42 kB / 1.226 GB, free: 175.8 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/2.894, allocations: 93.06 kB / 1.227 GB, free: 175.7 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/2.894, allocations: 35.53 kB / 1.227 GB, free: 175.7 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=14): time 2.726e-06/2.894, allocations: 1.031 kB / 1.227 GB, free: 175.7 MB / 0.4952 GB Notification: Performance of matching and sorting (n=19): time 0.006919/2.901, allocations: 1.018 MB / 1.228 GB, free: 175 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/2.901, allocations: 52.53 kB / 1.228 GB, free: 175 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/2.901, allocations: 101.5 kB / 1.228 GB, free: 174.9 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/2.901, allocations: 25.7 kB / 1.228 GB, free: 174.8 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/2.902, allocations: 161.2 kB / 1.228 GB, free: 174.7 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/2.902, allocations: 69.95 kB / 1.228 GB, free: 174.6 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/2.902, allocations: 5.094 kB / 1.228 GB, free: 174.6 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.868e-05/2.902, allocations: 322.1 kB / 1.228 GB, free: 174.3 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/2.902, allocations: 64.66 kB / 1.228 GB, free: 174.3 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/2.902, allocations: 109.9 kB / 1.228 GB, free: 174.2 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/2.902, allocations: 86.45 kB / 1.228 GB, free: 174.2 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/2.902, allocations: 5.438 kB / 1.228 GB, free: 174.2 MB / 0.4952 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006795/2.903, allocations: 229.1 kB / 1.229 GB, free: 174.1 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/2.903, allocations: 5.562 kB / 1.229 GB, free: 174.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/2.903, allocations: 0.7812 kB / 1.229 GB, free: 174.1 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001748/2.903, allocations: 23.14 kB / 1.229 GB, free: 174 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/2.904, allocations: 51.98 kB / 1.229 GB, free: 174 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000373/2.904, allocations: 0.5447 MB / 1.229 GB, free: 173.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/2.905, allocations: 7.312 kB / 1.229 GB, free: 173.5 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/2.905, allocations: 10.48 kB / 1.229 GB, free: 173.5 MB / 0.4952 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 () * 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.0001361/2.905, allocations: 115.3 kB / 1.229 GB, free: 173.4 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006323/2.906, allocations: 206 kB / 1.23 GB, free: 173.3 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.714e-05/2.906, allocations: 17.67 kB / 1.23 GB, free: 173.3 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008559/2.907, allocations: 257.9 kB / 1.23 GB, free: 173.2 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/2.907, allocations: 3.969 kB / 1.23 GB, free: 173.2 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/2.907, allocations: 0 / 1.23 GB, free: 173.2 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/2.907, allocations: 3.75 kB / 1.23 GB, free: 173.2 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/2.908, allocations: 0.5807 MB / 1.23 GB, free: 172.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/2.908, allocations: 3.938 kB / 1.23 GB, free: 172.7 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/2.909, allocations: 54.42 kB / 1.231 GB, free: 172.7 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/2.909, allocations: 20.44 kB / 1.231 GB, free: 172.7 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/2.909, allocations: 3.812 kB / 1.231 GB, free: 172.7 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008216/2.91, allocations: 1.212 MB / 1.232 GB, free: 171.5 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/2.91, allocations: 3.812 kB / 1.232 GB, free: 171.5 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008101/2.911, allocations: 429.9 kB / 1.232 GB, free: 171.2 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/2.911, allocations: 84.97 kB / 1.232 GB, free: 171.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/2.911, allocations: 3.938 kB / 1.232 GB, free: 171.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/2.911, allocations: 7.734 kB / 1.232 GB, free: 171.1 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/2.911, allocations: 19.7 kB / 1.232 GB, free: 171 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/2.911, allocations: 15.81 kB / 1.232 GB, free: 171 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 4.747e-05/2.911, allocations: 83.25 kB / 1.232 GB, free: 171 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.61e-07/2.911, allocations: 0 / 1.232 GB, free: 171 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0009039/2.912, allocations: 156.4 kB / 1.233 GB, free: 170.9 MB / 0.4952 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 () * 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.00261/2.915, allocations: 1.778 MB / 1.234 GB, free: 169.7 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0006643/2.915, allocations: 188.8 kB / 1.234 GB, free: 169.7 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/2.916, allocations: 3.938 kB / 1.234 GB, free: 169.6 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0003609/2.916, allocations: 199.8 kB / 1.235 GB, free: 169.5 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/2.917, allocations: 41.81 kB / 1.235 GB, free: 169.5 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/2.918, allocations: 419.9 kB / 1.235 GB, free: 169.2 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/2.918, allocations: 0.7169 MB / 1.236 GB, free: 168.5 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/2.918, allocations: 41.08 kB / 1.236 GB, free: 168.4 MB / 0.4952 GB Notification: Performance of SimCode: time 1.252e-06/2.918, allocations: 0 / 1.236 GB, free: 168.4 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.967/5.885, allocations: 7.855 MB / 1.243 GB, free: 165.1 MB / 0.4952 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