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.001624/0.001624, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001169/0.001169, allocations: 95.33 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5536/0.5536, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000511/0.000511, allocations: 12 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1487, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.466/2.615, allocations: 0.7389 GB / 1.218 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/2.615, allocations: 80.08 kB / 1.218 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4958/3.111, allocations: 39.75 MB / 1.257 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.182e-06/3.111, allocations: 0 / 1.257 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.475e-05/3.111, allocations: 3.375 kB / 1.257 GB, free: 150.2 MB / 0.4948 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.001214/3.112, allocations: 0.5145 MB / 1.257 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/3.112, allocations: 13.02 kB / 1.257 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.024e-05/3.112, allocations: 49.42 kB / 1.257 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005092/3.117, allocations: 368.8 kB / 1.258 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/3.118, allocations: 251.2 kB / 1.258 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/3.118, allocations: 19.34 kB / 1.258 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/3.118, allocations: 24.5 kB / 1.258 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/3.12, allocations: 482.1 kB / 1.258 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/3.12, allocations: 0 / 1.258 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-05/3.12, allocations: 14.31 kB / 1.258 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/3.12, allocations: 10.25 kB / 1.258 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/3.121, allocations: 0.5009 MB / 1.259 GB, free: 149.4 MB / 0.4948 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.003301/3.125, allocations: 0.9999 MB / 1.26 GB, free: 149 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/3.126, allocations: 285.5 kB / 1.26 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001758/3.128, allocations: 0.6519 MB / 1.261 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/3.128, allocations: 37.28 kB / 1.261 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=29): time 4.348e-06/3.128, allocations: 0 / 1.261 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29): time 0.001617/3.129, allocations: 395.3 kB / 1.261 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/3.129, allocations: 87.09 kB / 1.261 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/3.129, allocations: 102.9 kB / 1.261 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/3.129, allocations: 31.77 kB / 1.261 GB, free: 148 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/3.13, allocations: 178.9 kB / 1.261 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/3.13, allocations: 111.5 kB / 1.262 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/3.13, allocations: 3.562 kB / 1.262 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/3.13, allocations: 328.5 kB / 1.262 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/3.13, allocations: 117.9 kB / 1.262 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/3.131, allocations: 204.9 kB / 1.262 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/3.131, allocations: 140.2 kB / 1.262 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/3.131, allocations: 0 / 1.262 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001196/3.132, allocations: 375.4 kB / 1.263 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/3.132, allocations: 10.03 kB / 1.263 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/3.132, allocations: 3.062 kB / 1.263 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/3.132, allocations: 4.125 kB / 1.263 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/3.133, allocations: 80.25 kB / 1.263 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/3.133, allocations: 9.906 kB / 1.263 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/3.134, allocations: 33.27 kB / 1.263 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-05/3.134, allocations: 19.45 kB / 1.263 GB, free: 147.3 MB / 0.4948 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.0002325/3.134, allocations: 153.8 kB / 1.263 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/3.134, allocations: 10.41 kB / 1.263 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/3.136, allocations: 373.1 kB / 1.263 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.088e-06/3.136, allocations: 3.719 kB / 1.263 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/3.136, allocations: 3.938 kB / 1.263 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/3.136, allocations: 5.312 kB / 1.263 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/3.137, allocations: 359.1 kB / 1.264 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/3.137, allocations: 6.438 kB / 1.264 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000702/3.137, allocations: 54.58 kB / 1.264 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/3.137, allocations: 0 / 1.264 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/3.138, allocations: 13.69 kB / 1.264 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/3.138, allocations: 3.938 kB / 1.264 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/3.138, allocations: 6.875 kB / 1.264 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/3.139, allocations: 0.5609 MB / 1.264 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/3.139, allocations: 92.66 kB / 1.264 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.668e-05/3.139, allocations: 7.375 kB / 1.264 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006054/3.14, allocations: 15.7 kB / 1.264 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/3.14, allocations: 16.58 kB / 1.264 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/3.14, allocations: 20.91 kB / 1.264 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.745e-05/3.14, allocations: 94.52 kB / 1.265 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.41e-07/3.14, allocations: 0 / 1.265 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001533/3.142, allocations: 264.3 kB / 1.265 GB, free: 146.2 MB / 0.4948 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.004021/3.146, allocations: 1.826 MB / 1.267 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001101/3.147, allocations: 291.1 kB / 1.267 GB, free: 145 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/3.147, allocations: 3.938 kB / 1.267 GB, free: 145 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004634/3.147, allocations: 153.8 kB / 1.267 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009297/3.148, allocations: 76.95 kB / 1.267 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/3.153, allocations: 3.364 MB / 1.27 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/3.153, allocations: 0.7417 MB / 1.271 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/3.154, allocations: 71.47 kB / 1.271 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.052e-06/3.154, allocations: 0 / 1.271 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.856/6.01, allocations: 9.832 MB / 1.281 GB, free: 140.2 MB / 0.4948 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