Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 176.8 kB / 17.06 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001078, allocations: 89.56 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4475/0.4475, allocations: 44.2 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004639, allocations: 11.94 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5245/0.525, allocations: 61.91 MB / 0.5096 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.978/2.503, allocations: 0.708 GB / 1.218 GB, free: 81.44 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/2.503, allocations: 83.88 kB / 1.218 GB, free: 81.36 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.08655/2.59, allocations: 40.71 MB / 1.257 GB, free: 40.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.483e-06/2.59, allocations: 0 / 1.257 GB, free: 40.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.764e-05/2.59, allocations: 4 kB / 1.257 GB, free: 40.36 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.001133/2.591, allocations: 0.5111 MB / 1.258 GB, free: 39.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.187e-05/2.591, allocations: 12.03 kB / 1.258 GB, free: 39.79 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.04e-05/2.591, allocations: 58.48 kB / 1.258 GB, free: 39.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/2.594, allocations: 375.3 kB / 1.258 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/2.595, allocations: 258.8 kB / 1.259 GB, free: 39.06 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/2.595, allocations: 12.38 kB / 1.259 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.118e-05/2.595, allocations: 20 kB / 1.259 GB, free: 39.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009855/2.596, allocations: 477.5 kB / 1.259 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/2.596, allocations: 0 / 1.259 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/2.596, allocations: 12 kB / 1.259 GB, free: 38.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/2.596, allocations: 8 kB / 1.259 GB, free: 38.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000934/2.597, allocations: 499.6 kB / 1.26 GB, free: 38.05 MB / 0.5261 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.002108/2.599, allocations: 0.9887 MB / 1.261 GB, free: 37.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/2.6, allocations: 289 kB / 1.261 GB, free: 36.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/2.601, allocations: 0.7543 MB / 1.262 GB, free: 35.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/2.601, allocations: 38.56 kB / 1.262 GB, free: 35.78 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=29): time 2.504e-06/2.601, allocations: 0 / 1.262 GB, free: 35.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29): time 0.001003/2.602, allocations: 399.7 kB / 1.262 GB, free: 35.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/2.603, allocations: 81.11 kB / 1.262 GB, free: 35.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/2.603, allocations: 112.9 kB / 1.262 GB, free: 35.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/2.603, allocations: 29.7 kB / 1.262 GB, free: 35.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/2.603, allocations: 112.4 kB / 1.262 GB, free: 35.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/2.603, allocations: 110.4 kB / 1.262 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/2.603, allocations: 8 kB / 1.262 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001527/2.603, allocations: 326.8 kB / 1.263 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/2.603, allocations: 116.6 kB / 1.263 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/2.604, allocations: 195.5 kB / 1.263 GB, free: 34.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/2.604, allocations: 135.9 kB / 1.263 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/2.604, allocations: 0 / 1.263 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000813/2.605, allocations: 373.4 kB / 1.264 GB, free: 33.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/2.605, allocations: 8 kB / 1.264 GB, free: 33.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/2.605, allocations: 4 kB / 1.264 GB, free: 33.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/2.605, allocations: 4 kB / 1.264 GB, free: 33.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/2.605, allocations: 75.83 kB / 1.264 GB, free: 33.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/2.605, allocations: 4 kB / 1.264 GB, free: 33.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/2.606, allocations: 39.67 kB / 1.264 GB, free: 33.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/2.606, allocations: 16.16 kB / 1.264 GB, free: 33.59 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 () * 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.0001768/2.606, allocations: 146.2 kB / 1.264 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-05/2.606, allocations: 11.91 kB / 1.264 GB, free: 33.42 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008318/2.607, allocations: 375.8 kB / 1.264 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/2.607, allocations: 4 kB / 1.264 GB, free: 33.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/2.607, allocations: 4 kB / 1.264 GB, free: 33.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/2.607, allocations: 3.984 kB / 1.264 GB, free: 33.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006134/2.607, allocations: 364.7 kB / 1.265 GB, free: 32.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/2.607, allocations: 0 / 1.265 GB, free: 32.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/2.608, allocations: 63.89 kB / 1.265 GB, free: 32.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/2.608, allocations: 0 / 1.265 GB, free: 32.56 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/2.608, allocations: 15.98 kB / 1.265 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/2.608, allocations: 0 / 1.265 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/2.608, allocations: 0 / 1.265 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009062/2.609, allocations: 0.5655 MB / 1.265 GB, free: 31.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/2.609, allocations: 96.86 kB / 1.265 GB, free: 31.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/2.609, allocations: 4.062 kB / 1.265 GB, free: 31.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/2.609, allocations: 19.92 kB / 1.265 GB, free: 31.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/2.609, allocations: 19.97 kB / 1.265 GB, free: 31.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/2.609, allocations: 19.98 kB / 1.265 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.018e-05/2.609, allocations: 87.28 kB / 1.265 GB, free: 31.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/2.609, allocations: 0 / 1.265 GB, free: 31.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001509/2.611, allocations: 263.8 kB / 1.266 GB, free: 31.45 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 () * 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.00255/2.614, allocations: 1.834 MB / 1.267 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000606/2.614, allocations: 293.7 kB / 1.268 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/2.614, allocations: 0 / 1.268 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/2.614, allocations: 143.8 kB / 1.268 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/2.615, allocations: 73.95 kB / 1.268 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/2.618, allocations: 3.347 MB / 1.271 GB, free: 25.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/2.618, allocations: 0.7364 MB / 1.272 GB, free: 24.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004944/2.618, allocations: 85.77 kB / 1.272 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/2.619, allocations: 59.41 kB / 1.272 GB, free: 24.73 MB / 0.5261 GB Notification: Performance of SimCode: time 6.81e-07/2.619, allocations: 4 kB / 1.272 GB, free: 24.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03552/2.654, allocations: 17.69 MB / 1.289 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/2.654, allocations: 183.8 kB / 1.29 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/4.925, allocations: 0 / 1.29 GB, free: 6.938 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat