Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002374/0.002375, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.245/2.245, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001636/0.001636, allocations: 95.77 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3317/0.3317, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.282e-05/2.281e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4458, allocations: 58.86 MB / 477.2 MB, free: 5.141 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.364/2.809, allocations: 0.7382 GB / 1.204 GB, free: 143.6 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/2.81, allocations: 75.64 kB / 1.204 GB, free: 143.6 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.1481/2.958, allocations: 38.97 MB / 1.242 GB, free: 139.1 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.673e-06/2.958, allocations: 0 / 1.242 GB, free: 139.1 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.712e-05/2.958, allocations: 3.969 kB / 1.242 GB, free: 139.1 MB / 0.4952 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.00109/2.959, allocations: 0.5031 MB / 1.243 GB, free: 138.6 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/2.959, allocations: 11.72 kB / 1.243 GB, free: 138.6 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005044/2.964, allocations: 363.7 kB / 1.243 GB, free: 138.5 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/2.965, allocations: 254.2 kB / 1.243 GB, free: 138.3 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/2.965, allocations: 3.906 kB / 1.243 GB, free: 138.3 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/2.965, allocations: 15.67 kB / 1.243 GB, free: 138.3 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001204/2.966, allocations: 476.4 kB / 1.244 GB, free: 138.2 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006838/2.967, allocations: 309.1 kB / 1.244 GB, free: 138.1 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/2.967, allocations: 4.484 kB / 1.244 GB, free: 138.1 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.768e-05/2.967, allocations: 4 kB / 1.244 GB, free: 138.1 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/2.967, allocations: 7.531 kB / 1.244 GB, free: 138.1 MB / 0.4952 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.003145/2.97, allocations: 0.9445 MB / 1.245 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/2.971, allocations: 257.5 kB / 1.245 GB, free: 137.5 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/2.971, allocations: 126.5 kB / 1.245 GB, free: 137.4 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001666/2.973, allocations: 0.6504 MB / 1.246 GB, free: 136.8 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/2.973, allocations: 41.97 kB / 1.246 GB, free: 136.8 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=29): time 3.327e-06/2.973, allocations: 3.984 kB / 1.246 GB, free: 136.8 MB / 0.4952 GB Notification: Performance of matching and sorting (n=29): time 0.0008953/2.974, allocations: 258.9 kB / 1.246 GB, free: 136.7 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/2.974, allocations: 81.02 kB / 1.246 GB, free: 136.6 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/2.974, allocations: 104 kB / 1.247 GB, free: 136.5 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 7.8e-05/2.974, allocations: 29.52 kB / 1.247 GB, free: 136.5 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/2.974, allocations: 190.4 kB / 1.247 GB, free: 136.3 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 9.195e-05/2.974, allocations: 104.5 kB / 1.247 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/2.974, allocations: 0 / 1.247 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.075e-05/2.974, allocations: 330.2 kB / 1.247 GB, free: 135.9 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/2.975, allocations: 102.2 kB / 1.247 GB, free: 135.9 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/2.975, allocations: 181.4 kB / 1.247 GB, free: 135.8 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/2.975, allocations: 121.5 kB / 1.248 GB, free: 135.8 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/2.975, allocations: 3.938 kB / 1.248 GB, free: 135.8 MB / 0.4952 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008331/2.976, allocations: 324.8 kB / 1.248 GB, free: 135.7 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/2.976, allocations: 7.812 kB / 1.248 GB, free: 135.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/2.976, allocations: 3.906 kB / 1.248 GB, free: 135.7 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/2.976, allocations: 3.906 kB / 1.248 GB, free: 135.7 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/2.977, allocations: 78.23 kB / 1.248 GB, free: 135.7 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/2.977, allocations: 3.906 kB / 1.248 GB, free: 135.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/2.977, allocations: 35.33 kB / 1.248 GB, free: 135.6 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/2.977, allocations: 19.53 kB / 1.248 GB, free: 135.6 MB / 0.4952 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.0001515/2.978, allocations: 116.8 kB / 1.248 GB, free: 135.5 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007856/2.978, allocations: 255.6 kB / 1.248 GB, free: 135.5 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/2.978, allocations: 19.34 kB / 1.248 GB, free: 135.4 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/2.979, allocations: 336.5 kB / 1.249 GB, free: 135.3 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/2.98, allocations: 4 kB / 1.249 GB, free: 135.3 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/2.98, allocations: 7.922 kB / 1.249 GB, free: 135.3 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/2.98, allocations: 0 / 1.249 GB, free: 135.3 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00084/2.98, allocations: 312.2 kB / 1.249 GB, free: 135.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/2.98, allocations: 4 kB / 1.249 GB, free: 135.1 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/2.981, allocations: 62.61 kB / 1.249 GB, free: 135.1 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/2.981, allocations: 3.844 kB / 1.249 GB, free: 135.1 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/2.981, allocations: 7.953 kB / 1.249 GB, free: 135.1 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/2.981, allocations: 320 / 1.249 GB, free: 135.1 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/2.981, allocations: 3.938 kB / 1.249 GB, free: 135.1 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009962/2.982, allocations: 0.5228 MB / 1.25 GB, free: 134.8 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/2.982, allocations: 92.77 kB / 1.25 GB, free: 134.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/2.982, allocations: 7.781 kB / 1.25 GB, free: 134.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005697/2.983, allocations: 11.8 kB / 1.25 GB, free: 134.7 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/2.983, allocations: 15.78 kB / 1.25 GB, free: 134.7 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-05/2.983, allocations: 23.08 kB / 1.25 GB, free: 134.7 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 4.831e-05/2.983, allocations: 98.61 kB / 1.25 GB, free: 134.6 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.2e-07/2.983, allocations: 0 / 1.25 GB, free: 134.6 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0013/2.984, allocations: 258.6 kB / 1.25 GB, free: 134.5 MB / 0.4952 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.003191/2.988, allocations: 1.856 MB / 1.252 GB, free: 133.4 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.000709/2.988, allocations: 266.9 kB / 1.252 GB, free: 133.4 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/2.988, allocations: 0 / 1.252 GB, free: 133.4 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0002654/2.989, allocations: 135.3 kB / 1.252 GB, free: 133.4 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009503/2.99, allocations: 70.28 kB / 1.252 GB, free: 133.3 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/2.992, allocations: 0.7403 MB / 1.253 GB, free: 132.8 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/2.992, allocations: 0.7389 MB / 1.254 GB, free: 132 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/2.993, allocations: 67.27 kB / 1.254 GB, free: 132 MB / 0.4952 GB Notification: Performance of SimCode: time 1.674e-06/2.993, allocations: 0 / 1.254 GB, free: 132 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.851/5.844, allocations: 9.851 MB / 1.264 GB, free: 127 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat