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.001176/0.001176, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009307/0.0009308, allocations: 105.8 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 45.16 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.706e-05/1.708e-05, allocations: 0 / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1292, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.172/2.302, allocations: 0.7083 GB / 1.213 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/2.302, allocations: 74.94 kB / 1.213 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.08139/2.383, allocations: 39.87 MB / 1.252 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/2.383, allocations: 0 / 1.252 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.522e-05/2.383, allocations: 7.938 kB / 1.252 GB, free: 114.7 MB / 0.5261 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.0009596/2.384, allocations: 0.5112 MB / 1.252 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/2.384, allocations: 8.031 kB / 1.252 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/2.387, allocations: 375.3 kB / 1.253 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/2.388, allocations: 266.8 kB / 1.253 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/2.388, allocations: 11.95 kB / 1.253 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-05/2.388, allocations: 16 kB / 1.253 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006484/2.388, allocations: 456.5 kB / 1.253 GB, free: 113 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004088/2.389, allocations: 301.5 kB / 1.254 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/2.389, allocations: 4 kB / 1.254 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/2.389, allocations: 4 kB / 1.254 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/2.389, allocations: 4 kB / 1.254 GB, free: 112.7 MB / 0.5261 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.001756/2.391, allocations: 0.9368 MB / 1.255 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/2.391, allocations: 257.1 kB / 1.255 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/2.391, allocations: 133.7 kB / 1.255 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/2.392, allocations: 0.7425 MB / 1.256 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/2.392, allocations: 42.56 kB / 1.256 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=29): time 2.815e-06/2.392, allocations: 0 / 1.256 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29): time 0.0005297/2.393, allocations: 269.1 kB / 1.256 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/2.393, allocations: 77.11 kB / 1.256 GB, free: 110 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.858e-05/2.393, allocations: 109 kB / 1.256 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/2.393, allocations: 25.7 kB / 1.256 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/2.393, allocations: 112.5 kB / 1.256 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.338e-05/2.393, allocations: 98.5 kB / 1.256 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/2.393, allocations: 4 kB / 1.256 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.904e-05/2.393, allocations: 330.8 kB / 1.257 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/2.393, allocations: 92.64 kB / 1.257 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/2.393, allocations: 187.2 kB / 1.257 GB, free: 109 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/2.394, allocations: 118 kB / 1.257 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/2.394, allocations: 4 kB / 1.257 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004691/2.394, allocations: 333.1 kB / 1.257 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/2.394, allocations: 4 kB / 1.257 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/2.394, allocations: 4 kB / 1.257 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/2.394, allocations: 4 kB / 1.257 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/2.395, allocations: 75.83 kB / 1.257 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/2.395, allocations: 4 kB / 1.257 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/2.395, allocations: 32.05 kB / 1.258 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/2.395, allocations: 16 kB / 1.258 GB, free: 108.4 MB / 0.5261 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.633e-05/2.395, allocations: 116.8 kB / 1.258 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004276/2.395, allocations: 271 kB / 1.258 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/2.395, allocations: 15.81 kB / 1.258 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/2.396, allocations: 330 kB / 1.258 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/2.396, allocations: 4 kB / 1.258 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/2.396, allocations: 0 / 1.258 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/2.396, allocations: 3.984 kB / 1.258 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/2.397, allocations: 328.7 kB / 1.259 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/2.397, allocations: 3.984 kB / 1.259 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/2.397, allocations: 63.89 kB / 1.259 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/2.397, allocations: 3.938 kB / 1.259 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/2.397, allocations: 4 kB / 1.259 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/2.397, allocations: 11.98 kB / 1.259 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/2.397, allocations: 0 / 1.259 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/2.397, allocations: 0.5058 MB / 1.259 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/2.398, allocations: 96.86 kB / 1.259 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/2.398, allocations: 0 / 1.259 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/2.398, allocations: 15.98 kB / 1.259 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/2.398, allocations: 23.97 kB / 1.259 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/2.398, allocations: 15.98 kB / 1.259 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.223e-05/2.398, allocations: 91.55 kB / 1.259 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/2.398, allocations: 0 / 1.259 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009512/2.399, allocations: 271.6 kB / 1.26 GB, free: 106.2 MB / 0.5261 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.001886/2.401, allocations: 1.862 MB / 1.261 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003798/2.401, allocations: 257.5 kB / 1.262 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/2.401, allocations: 4.562 kB / 1.262 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/2.401, allocations: 131.9 kB / 1.262 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/2.402, allocations: 76.97 kB / 1.262 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/2.403, allocations: 0.7498 MB / 1.263 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/2.403, allocations: 0.7327 MB / 1.263 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004894/2.404, allocations: 81.95 kB / 1.263 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/2.404, allocations: 63.41 kB / 1.263 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/2.404, allocations: 0 / 1.263 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/2.438, allocations: 13.03 MB / 1.276 GB, free: 89.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/2.438, allocations: 132.9 kB / 1.276 GB, free: 88.97 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/4.458, allocations: 4.031 kB / 1.276 GB, free: 88.97 MB / 0.5261 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