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.002078/0.002078, allocations: 202.7 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 95.64 kB / 297.2 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4759/0.4759, allocations: 45.22 MB / 394.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003832, allocations: 4.219 kB / 468.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.57/0.5704, allocations: 63.24 MB / 0.5193 GB, free: 43.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.166/2.737, allocations: 0.709 GB / 1.228 GB, free: 99.34 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/2.737, allocations: 83.69 kB / 1.228 GB, free: 99.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.08386/2.821, allocations: 40.64 MB / 1.268 GB, free: 64.46 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.415e-06/2.821, allocations: 0 / 1.268 GB, free: 64.46 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.624e-05/2.821, allocations: 7.984 kB / 1.268 GB, free: 64.45 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.001016/2.822, allocations: 0.5217 MB / 1.269 GB, free: 63.89 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/2.822, allocations: 8.031 kB / 1.269 GB, free: 63.89 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.254e-05/2.822, allocations: 57.86 kB / 1.269 GB, free: 63.83 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003083/2.825, allocations: 381.8 kB / 1.269 GB, free: 63.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/2.826, allocations: 255 kB / 1.269 GB, free: 63.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/2.826, allocations: 19.52 kB / 1.269 GB, free: 63.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/2.826, allocations: 19.59 kB / 1.269 GB, free: 63.22 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009238/2.827, allocations: 480.5 kB / 1.27 GB, free: 62.88 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/2.827, allocations: 4 kB / 1.27 GB, free: 62.88 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/2.827, allocations: 6.062 kB / 1.27 GB, free: 62.88 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/2.827, allocations: 4 kB / 1.27 GB, free: 62.87 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009399/2.828, allocations: 0.4891 MB / 1.27 GB, free: 62.54 MB / 0.5417 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.002131/2.83, allocations: 0.9881 MB / 1.271 GB, free: 61.69 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/2.831, allocations: 290.5 kB / 1.271 GB, free: 61.47 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/2.832, allocations: 0.7469 MB / 1.272 GB, free: 60.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/2.832, allocations: 46.25 kB / 1.272 GB, free: 60.56 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/2.832, allocations: 0 / 1.272 GB, free: 60.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=29): time 0.0008765/2.833, allocations: 402.7 kB / 1.273 GB, free: 60.28 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/2.833, allocations: 81.09 kB / 1.273 GB, free: 60.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.793e-05/2.833, allocations: 108.5 kB / 1.273 GB, free: 60.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/2.833, allocations: 32.39 kB / 1.273 GB, free: 60.04 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/2.833, allocations: 112.3 kB / 1.273 GB, free: 59.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/2.833, allocations: 112.1 kB / 1.273 GB, free: 59.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/2.833, allocations: 7.688 kB / 1.273 GB, free: 59.83 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/2.833, allocations: 326.3 kB / 1.273 GB, free: 59.51 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/2.833, allocations: 112.8 kB / 1.273 GB, free: 59.44 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/2.834, allocations: 190.4 kB / 1.274 GB, free: 59.26 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/2.834, allocations: 141.8 kB / 1.274 GB, free: 59.18 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/2.834, allocations: 0 / 1.274 GB, free: 59.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006168/2.835, allocations: 371 kB / 1.274 GB, free: 58.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/2.835, allocations: 8 kB / 1.274 GB, free: 58.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/2.835, allocations: 4 kB / 1.274 GB, free: 58.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/2.835, allocations: 4 kB / 1.274 GB, free: 58.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/2.835, allocations: 75.45 kB / 1.274 GB, free: 58.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/2.835, allocations: 11.89 kB / 1.274 GB, free: 58.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/2.835, allocations: 39.36 kB / 1.274 GB, free: 58.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/2.835, allocations: 19.86 kB / 1.274 GB, free: 58.77 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 () * Number of clocked 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 0.0001307/2.835, allocations: 134.5 kB / 1.274 GB, free: 58.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-05/2.836, allocations: 19.81 kB / 1.274 GB, free: 58.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000743/2.836, allocations: 366.3 kB / 1.275 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/2.836, allocations: 11.92 kB / 1.275 GB, free: 58.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/2.836, allocations: 0 / 1.275 GB, free: 58.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/2.836, allocations: 7.953 kB / 1.275 GB, free: 58.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005355/2.837, allocations: 361.1 kB / 1.275 GB, free: 57.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/2.837, allocations: 0 / 1.275 GB, free: 57.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/2.837, allocations: 59.66 kB / 1.275 GB, free: 57.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/2.837, allocations: 0 / 1.275 GB, free: 57.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/2.837, allocations: 15.36 kB / 1.275 GB, free: 57.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/2.837, allocations: 0 / 1.275 GB, free: 57.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/2.837, allocations: 4 kB / 1.275 GB, free: 57.92 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007867/2.838, allocations: 0.5604 MB / 1.276 GB, free: 57.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/2.838, allocations: 96.8 kB / 1.276 GB, free: 57.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/2.838, allocations: 7.625 kB / 1.276 GB, free: 57.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/2.839, allocations: 15.3 kB / 1.276 GB, free: 57.32 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/2.839, allocations: 26.23 kB / 1.276 GB, free: 57.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/2.839, allocations: 19.36 kB / 1.276 GB, free: 57.28 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.228e-05/2.839, allocations: 90.94 kB / 1.276 GB, free: 57.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/2.839, allocations: 0 / 1.276 GB, free: 57.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001186/2.84, allocations: 274.3 kB / 1.276 GB, free: 56.96 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 () * Number of clocked 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.002349/2.842, allocations: 1.826 MB / 1.278 GB, free: 55.24 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000662/2.843, allocations: 292.8 kB / 1.278 GB, free: 55.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/2.843, allocations: 4.125 kB / 1.278 GB, free: 55.03 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002643/2.843, allocations: 149.3 kB / 1.279 GB, free: 54.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/2.844, allocations: 86.52 kB / 1.279 GB, free: 54.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/2.847, allocations: 3.342 MB / 1.282 GB, free: 51.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/2.847, allocations: 0.739 MB / 1.283 GB, free: 50.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000483/2.847, allocations: 73.84 kB / 1.283 GB, free: 50.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/2.847, allocations: 66.72 kB / 1.283 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of SimCode: time 4.71e-07/2.847, allocations: 0 / 1.283 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/2.881, allocations: 17.76 MB / 1.3 GB, free: 33.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/2.881, allocations: 184.6 kB / 1.3 GB, free: 32.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/5.301, allocations: 0 / 1.3 GB, free: 32.89 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