Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009204/0.0009206, allocations: 89.75 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2031/0.2031, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.044e-05/3.046e-05, allocations: 0 / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 63.25 MB / 0.5115 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.658/1.775, allocations: 0.709 GB / 1.22 GB, free: 184.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/1.776, allocations: 75.95 kB / 1.221 GB, free: 184.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.07882/1.854, allocations: 40.59 MB / 1.26 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.694e-06/1.855, allocations: 0 / 1.26 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.15e-05/1.855, allocations: 3.938 kB / 1.26 GB, free: 143.5 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007675/1.855, allocations: 0.519 MB / 1.261 GB, free: 142.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.855, allocations: 15.97 kB / 1.261 GB, free: 142.9 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.863e-05/1.855, allocations: 58.48 kB / 1.261 GB, free: 142.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/1.858, allocations: 371.3 kB / 1.261 GB, free: 142.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/1.858, allocations: 266.8 kB / 1.261 GB, free: 142.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/1.859, allocations: 16.33 kB / 1.261 GB, free: 142.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/1.859, allocations: 24 kB / 1.261 GB, free: 142.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006502/1.859, allocations: 453.6 kB / 1.262 GB, free: 141.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.859, allocations: 0 / 1.262 GB, free: 141.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/1.859, allocations: 8 kB / 1.262 GB, free: 141.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.859, allocations: 4 kB / 1.262 GB, free: 141.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000641/1.86, allocations: 471.8 kB / 1.262 GB, free: 141.2 MB / 0.5417 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.001681/1.862, allocations: 0.9827 MB / 1.263 GB, free: 140.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/1.862, allocations: 262.8 kB / 1.263 GB, free: 139.9 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/1.862, allocations: 149.7 kB / 1.264 GB, free: 139.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/1.863, allocations: 0.7425 MB / 1.264 GB, free: 138.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/1.863, allocations: 34.56 kB / 1.264 GB, free: 138.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/1.863, allocations: 3.938 kB / 1.264 GB, free: 138.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=29): time 0.0005017/1.864, allocations: 281.9 kB / 1.265 GB, free: 138.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/1.864, allocations: 81.11 kB / 1.265 GB, free: 138.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.266e-05/1.864, allocations: 109 kB / 1.265 GB, free: 138.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/1.864, allocations: 29.7 kB / 1.265 GB, free: 138.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/1.864, allocations: 112.5 kB / 1.265 GB, free: 138.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/1.864, allocations: 106.5 kB / 1.265 GB, free: 138.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/1.864, allocations: 11.94 kB / 1.265 GB, free: 138.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.46e-05/1.864, allocations: 326.8 kB / 1.265 GB, free: 137.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/1.864, allocations: 104.6 kB / 1.265 GB, free: 137.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/1.865, allocations: 183.6 kB / 1.266 GB, free: 137.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/1.865, allocations: 135.9 kB / 1.266 GB, free: 137.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.865, allocations: 0 / 1.266 GB, free: 137.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004575/1.865, allocations: 355.2 kB / 1.266 GB, free: 137 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.865, allocations: 13.31 kB / 1.266 GB, free: 137 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.865, allocations: 0 / 1.266 GB, free: 137 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.865, allocations: 8 kB / 1.266 GB, free: 136.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/1.866, allocations: 75.84 kB / 1.266 GB, free: 136.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.866, allocations: 4 kB / 1.266 GB, free: 136.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/1.866, allocations: 39.67 kB / 1.266 GB, free: 136.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/1.866, allocations: 12 kB / 1.266 GB, free: 136.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 8.214e-05/1.866, allocations: 132.9 kB / 1.266 GB, free: 136.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/1.866, allocations: 15.89 kB / 1.266 GB, free: 136.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005552/1.867, allocations: 358.4 kB / 1.267 GB, free: 136.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/1.867, allocations: 4 kB / 1.267 GB, free: 136.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.867, allocations: 3.953 kB / 1.267 GB, free: 136.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/1.867, allocations: 4 kB / 1.267 GB, free: 136.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/1.867, allocations: 364.3 kB / 1.267 GB, free: 135.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/1.867, allocations: 0 / 1.267 GB, free: 135.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/1.867, allocations: 55.97 kB / 1.267 GB, free: 135.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.867, allocations: 7.938 kB / 1.267 GB, free: 135.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/1.867, allocations: 15.98 kB / 1.267 GB, free: 135.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.868, allocations: 3.938 kB / 1.267 GB, free: 135.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.868, allocations: 3.953 kB / 1.267 GB, free: 135.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000528/1.868, allocations: 0.528 MB / 1.268 GB, free: 135.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/1.868, allocations: 92.95 kB / 1.268 GB, free: 135.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/1.868, allocations: 4.062 kB / 1.268 GB, free: 135.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/1.868, allocations: 23.84 kB / 1.268 GB, free: 135.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/1.868, allocations: 19.97 kB / 1.268 GB, free: 135.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/1.869, allocations: 15.98 kB / 1.268 GB, free: 135.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.749e-05/1.869, allocations: 91.27 kB / 1.268 GB, free: 135 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/1.869, allocations: 4 kB / 1.268 GB, free: 135 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008494/1.869, allocations: 283.6 kB / 1.268 GB, free: 134.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.001677/1.871, allocations: 1.801 MB / 1.27 GB, free: 132.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003754/1.871, allocations: 276.3 kB / 1.27 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.871, allocations: 0 / 1.27 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/1.872, allocations: 140.4 kB / 1.27 GB, free: 132.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/1.872, allocations: 77.58 kB / 1.27 GB, free: 132.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/1.873, allocations: 0.7629 MB / 1.271 GB, free: 131.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/1.873, allocations: 0.7404 MB / 1.272 GB, free: 130.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004251/1.874, allocations: 85.89 kB / 1.272 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/1.874, allocations: 63.41 kB / 1.272 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of SimCode: time 3.2e-07/1.874, allocations: 0 / 1.272 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/1.901, allocations: 19.43 MB / 1.291 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001352/1.901, allocations: 149.3 kB / 1.291 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/3.971, allocations: 0 / 1.291 GB, free: 111.1 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat