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.001435/0.001435, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.571/1.571, allocations: 221.4 MB / 236 MB, free: 2.898 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009966/0.0009965, allocations: 95.55 kB / 287 MB, free: 188 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2726/0.2726, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.597e-05, allocations: 0 / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1886, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.451/2.639, allocations: 0.7079 GB / 1.21 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/2.64, allocations: 76.19 kB / 1.21 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.08661/2.726, allocations: 40.65 MB / 1.25 GB, free: 80.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.615e-06/2.726, allocations: 0 / 1.25 GB, free: 80.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.207e-05/2.726, allocations: 4 kB / 1.25 GB, free: 80.79 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.001439/2.728, allocations: 0.5145 MB / 1.25 GB, free: 80.22 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/2.728, allocations: 8.031 kB / 1.25 GB, free: 80.21 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/2.728, allocations: 54.48 kB / 1.25 GB, free: 80.15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/2.731, allocations: 379.8 kB / 1.25 GB, free: 79.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/2.732, allocations: 270.6 kB / 1.251 GB, free: 79.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/2.732, allocations: 12.38 kB / 1.251 GB, free: 79.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.853e-05/2.732, allocations: 24 kB / 1.251 GB, free: 79.44 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008361/2.733, allocations: 453.6 kB / 1.251 GB, free: 78.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/2.733, allocations: 0 / 1.251 GB, free: 78.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.794e-05/2.733, allocations: 8 kB / 1.251 GB, free: 78.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/2.733, allocations: 8 kB / 1.251 GB, free: 78.97 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007331/2.734, allocations: 467.8 kB / 1.252 GB, free: 78.52 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.002051/2.736, allocations: 0.9824 MB / 1.253 GB, free: 77.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/2.736, allocations: 269.2 kB / 1.253 GB, free: 77.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/2.736, allocations: 149.9 kB / 1.253 GB, free: 77.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/2.738, allocations: 0.7542 MB / 1.254 GB, free: 76.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/2.738, allocations: 34.84 kB / 1.254 GB, free: 76.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=29): time 2.134e-06/2.738, allocations: 0 / 1.254 GB, free: 76.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29): time 0.0006522/2.739, allocations: 276.5 kB / 1.254 GB, free: 75.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/2.739, allocations: 85.09 kB / 1.254 GB, free: 75.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/2.739, allocations: 105 kB / 1.254 GB, free: 75.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/2.739, allocations: 29.7 kB / 1.254 GB, free: 75.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/2.739, allocations: 120.4 kB / 1.254 GB, free: 75.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/2.739, allocations: 106.5 kB / 1.254 GB, free: 75.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/2.739, allocations: 8 kB / 1.254 GB, free: 75.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.173e-05/2.739, allocations: 326.8 kB / 1.255 GB, free: 75.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/2.739, allocations: 104.6 kB / 1.255 GB, free: 74.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/2.739, allocations: 187.6 kB / 1.255 GB, free: 74.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/2.74, allocations: 133.4 kB / 1.255 GB, free: 74.58 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/2.74, allocations: 0 / 1.255 GB, free: 74.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005492/2.74, allocations: 353.4 kB / 1.255 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/2.74, allocations: 13.16 kB / 1.256 GB, free: 74.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/2.74, allocations: 4 kB / 1.256 GB, free: 74.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.645e-05/2.74, allocations: 4 kB / 1.256 GB, free: 74.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/2.741, allocations: 75.89 kB / 1.256 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/2.741, allocations: 7.938 kB / 1.256 GB, free: 74.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/2.741, allocations: 31.69 kB / 1.256 GB, free: 74.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/2.741, allocations: 19.98 kB / 1.256 GB, free: 74.08 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 0.0001196/2.741, allocations: 128.9 kB / 1.256 GB, free: 73.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-05/2.741, allocations: 11.91 kB / 1.256 GB, free: 73.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006526/2.742, allocations: 351.1 kB / 1.256 GB, free: 73.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/2.742, allocations: 3.938 kB / 1.256 GB, free: 73.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/2.742, allocations: 4 kB / 1.256 GB, free: 73.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/2.742, allocations: 3.984 kB / 1.256 GB, free: 73.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005884/2.743, allocations: 364.5 kB / 1.256 GB, free: 73.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/2.743, allocations: 4 kB / 1.256 GB, free: 73.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/2.743, allocations: 55.89 kB / 1.257 GB, free: 73.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/2.743, allocations: 4 kB / 1.257 GB, free: 73.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/2.743, allocations: 11.98 kB / 1.257 GB, free: 73.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/2.743, allocations: 0 / 1.257 GB, free: 73.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/2.743, allocations: 0 / 1.257 GB, free: 73.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006472/2.744, allocations: 0.5404 MB / 1.257 GB, free: 72.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/2.744, allocations: 96.86 kB / 1.257 GB, free: 72.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/2.744, allocations: 8 kB / 1.257 GB, free: 72.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/2.744, allocations: 19.92 kB / 1.257 GB, free: 72.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/2.744, allocations: 23.97 kB / 1.257 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/2.744, allocations: 20.11 kB / 1.257 GB, free: 72.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.003e-05/2.744, allocations: 83.58 kB / 1.257 GB, free: 72.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/2.744, allocations: 4 kB / 1.257 GB, free: 72.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001316/2.746, allocations: 267.8 kB / 1.258 GB, free: 71.99 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.002829/2.749, allocations: 1.803 MB / 1.259 GB, free: 70.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004734/2.749, allocations: 270.2 kB / 1.26 GB, free: 69.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/2.749, allocations: 4 kB / 1.26 GB, free: 69.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/2.749, allocations: 139.9 kB / 1.26 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/2.75, allocations: 89.45 kB / 1.26 GB, free: 69.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/2.752, allocations: 0.7474 MB / 1.261 GB, free: 68.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/2.752, allocations: 0.744 MB / 1.261 GB, free: 68.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005046/2.752, allocations: 86.17 kB / 1.261 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/2.752, allocations: 59.36 kB / 1.261 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of SimCode: time 7.32e-07/2.752, allocations: 0 / 1.261 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03882/2.791, allocations: 19.36 MB / 1.28 GB, free: 48.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/2.792, allocations: 153.7 kB / 1.28 GB, free: 48.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/5.202, allocations: 4 kB / 1.28 GB, free: 48.48 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