Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",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.001229/0.00123, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001139, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2701/0.2701, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004219/0.000422, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1773, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.325/2.502, allocations: 0.7389 GB / 1.218 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/2.503, allocations: 70.28 kB / 1.218 GB, free: 89 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.08893/2.592, allocations: 39.74 MB / 1.257 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.234e-06/2.592, allocations: 0 / 1.257 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.08e-05/2.592, allocations: 4 kB / 1.257 GB, free: 54.95 MB / 0.5105 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.001286/2.593, allocations: 0.5063 MB / 1.257 GB, free: 54.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/2.593, allocations: 8.031 kB / 1.257 GB, free: 54.39 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/2.593, allocations: 56.48 kB / 1.257 GB, free: 54.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/2.597, allocations: 368.9 kB / 1.258 GB, free: 54.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/2.597, allocations: 260.7 kB / 1.258 GB, free: 53.76 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/2.597, allocations: 19.95 kB / 1.258 GB, free: 53.74 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.892e-05/2.597, allocations: 26.89 kB / 1.258 GB, free: 53.72 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/2.598, allocations: 481.8 kB / 1.258 GB, free: 53.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/2.598, allocations: 0 / 1.258 GB, free: 53.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/2.598, allocations: 15.17 kB / 1.258 GB, free: 53.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/2.598, allocations: 8 kB / 1.258 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009996/2.599, allocations: 0.5041 MB / 1.259 GB, free: 53.03 MB / 0.5105 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.002206/2.602, allocations: 0.986 MB / 1.26 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/2.602, allocations: 286 kB / 1.26 GB, free: 51.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/2.603, allocations: 0.6534 MB / 1.261 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/2.603, allocations: 37.94 kB / 1.261 GB, free: 51.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=29): time 1.783e-06/2.603, allocations: 0 / 1.261 GB, free: 51.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29): time 0.0009857/2.604, allocations: 406.5 kB / 1.261 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/2.604, allocations: 77.11 kB / 1.261 GB, free: 50.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/2.605, allocations: 113.2 kB / 1.261 GB, free: 50.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/2.605, allocations: 29.7 kB / 1.261 GB, free: 50.63 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/2.605, allocations: 108.4 kB / 1.261 GB, free: 50.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.196e-05/2.605, allocations: 114.4 kB / 1.262 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/2.605, allocations: 4 kB / 1.262 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.013e-05/2.605, allocations: 330.8 kB / 1.262 GB, free: 50.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/2.605, allocations: 112.6 kB / 1.262 GB, free: 49.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/2.605, allocations: 207.3 kB / 1.262 GB, free: 49.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/2.606, allocations: 137.1 kB / 1.262 GB, free: 49.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/2.606, allocations: 0 / 1.262 GB, free: 49.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006581/2.606, allocations: 366.7 kB / 1.263 GB, free: 49.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/2.606, allocations: 8.312 kB / 1.263 GB, free: 49.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/2.606, allocations: 8 kB / 1.263 GB, free: 49.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/2.606, allocations: 4 kB / 1.263 GB, free: 49.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/2.607, allocations: 79.83 kB / 1.263 GB, free: 49.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/2.607, allocations: 11.89 kB / 1.263 GB, free: 49.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/2.607, allocations: 35.67 kB / 1.263 GB, free: 49.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/2.607, allocations: 20 kB / 1.263 GB, free: 49.06 MB / 0.5105 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.0001757/2.607, allocations: 145.4 kB / 1.263 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/2.607, allocations: 19.81 kB / 1.263 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007896/2.608, allocations: 371 kB / 1.263 GB, free: 48.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/2.608, allocations: 4 kB / 1.263 GB, free: 48.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/2.608, allocations: 0 / 1.263 GB, free: 48.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/2.608, allocations: 11.92 kB / 1.263 GB, free: 48.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/2.609, allocations: 365.2 kB / 1.264 GB, free: 48.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/2.609, allocations: 4 kB / 1.264 GB, free: 48.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/2.609, allocations: 59.89 kB / 1.264 GB, free: 48.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/2.609, allocations: 0 / 1.264 GB, free: 48.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/2.609, allocations: 11.98 kB / 1.264 GB, free: 48.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/2.609, allocations: 4 kB / 1.264 GB, free: 48.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/2.609, allocations: 320 / 1.264 GB, free: 48.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008557/2.61, allocations: 0.5679 MB / 1.264 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/2.61, allocations: 92.86 kB / 1.264 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/2.61, allocations: 8.062 kB / 1.264 GB, free: 47.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/2.611, allocations: 15.98 kB / 1.264 GB, free: 47.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/2.611, allocations: 27.92 kB / 1.264 GB, free: 47.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/2.611, allocations: 15.92 kB / 1.264 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.127e-05/2.611, allocations: 95.25 kB / 1.265 GB, free: 47.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.312e-06/2.611, allocations: 0 / 1.265 GB, free: 47.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001267/2.612, allocations: 271.6 kB / 1.265 GB, free: 46.89 MB / 0.5105 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.002987/2.615, allocations: 1.816 MB / 1.267 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005803/2.616, allocations: 291.7 kB / 1.267 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/2.616, allocations: 0 / 1.267 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/2.616, allocations: 147.5 kB / 1.267 GB, free: 44.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/2.616, allocations: 91.08 kB / 1.267 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/2.62, allocations: 3.318 MB / 1.27 GB, free: 41.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/2.62, allocations: 0.7442 MB / 1.271 GB, free: 40.35 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005335/2.62, allocations: 86 kB / 1.271 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/2.621, allocations: 55.41 kB / 1.271 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.332e-06/2.621, allocations: 4 kB / 1.271 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03795/2.658, allocations: 17.71 MB / 1.288 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/2.659, allocations: 175.2 kB / 1.289 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/4.997, allocations: 4 kB / 1.289 GB, free: 22.25 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat