Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.002583/0.002582, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.134/2.134, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001197/0.001196, allocations: 82.7 kB / 267.5 MB, free: 14.04 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.2997/0.2997, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.977e-05/3.998e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1324, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.43/2.563, allocations: 0.727 GB / 1.2 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/2.563, allocations: 71.56 kB / 1.2 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1199/2.683, allocations: 33.44 MB / 1.233 GB, free: 76.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.746e-06/2.683, allocations: 0 / 1.233 GB, free: 76.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.359e-05/2.683, allocations: 7.938 kB / 1.233 GB, free: 76.29 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005879/2.683, allocations: 414.2 kB / 1.233 GB, free: 75.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/2.684, allocations: 12.03 kB / 1.233 GB, free: 75.84 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/2.684, allocations: 34.19 kB / 1.233 GB, free: 75.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002801/2.686, allocations: 185.5 kB / 1.233 GB, free: 75.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/2.687, allocations: 208.8 kB / 1.233 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/2.687, allocations: 7.625 kB / 1.233 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/2.687, allocations: 4 kB / 1.233 GB, free: 75.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/2.687, allocations: 188.9 kB / 1.234 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/2.687, allocations: 3.953 kB / 1.234 GB, free: 75.26 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/2.688, allocations: 7.562 kB / 1.234 GB, free: 75.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/2.688, allocations: 0 / 1.234 GB, free: 75.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005751/2.688, allocations: 201.2 kB / 1.234 GB, free: 75.13 MB / 0.5105 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.00214/2.69, allocations: 0.6416 MB / 1.234 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/2.691, allocations: 141.2 kB / 1.235 GB, free: 74.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/2.691, allocations: 73.55 kB / 1.235 GB, free: 74.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003043/2.691, allocations: 96.89 kB / 1.235 GB, free: 74.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/2.691, allocations: 42.5 kB / 1.235 GB, free: 74.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 3.456e-06/2.691, allocations: 0 / 1.235 GB, free: 74.24 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.007715/2.699, allocations: 1.214 MB / 1.236 GB, free: 73.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/2.699, allocations: 59.36 kB / 1.236 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.624e-05/2.699, allocations: 96.25 kB / 1.236 GB, free: 72.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/2.699, allocations: 29.58 kB / 1.236 GB, free: 72.92 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/2.699, allocations: 174.2 kB / 1.236 GB, free: 72.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/2.699, allocations: 61.91 kB / 1.236 GB, free: 72.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/2.699, allocations: 7.625 kB / 1.236 GB, free: 72.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.313e-05/2.7, allocations: 322.3 kB / 1.237 GB, free: 72.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/2.7, allocations: 71.62 kB / 1.237 GB, free: 72.33 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/2.7, allocations: 108.5 kB / 1.237 GB, free: 72.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/2.7, allocations: 88.77 kB / 1.237 GB, free: 72.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/2.7, allocations: 0 / 1.237 GB, free: 72.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006826/2.701, allocations: 249.5 kB / 1.237 GB, free: 72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/2.701, allocations: 8 kB / 1.237 GB, free: 71.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/2.701, allocations: 0 / 1.237 GB, free: 71.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/2.701, allocations: 24.47 kB / 1.237 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/2.702, allocations: 51.91 kB / 1.237 GB, free: 71.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003799/2.702, allocations: 0.5426 MB / 1.238 GB, free: 71.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/2.703, allocations: 7.906 kB / 1.238 GB, free: 71.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/2.703, allocations: 15.48 kB / 1.238 GB, free: 71.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000133/2.703, allocations: 116.1 kB / 1.238 GB, free: 71.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.142e-05/2.703, allocations: 11.91 kB / 1.238 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009019/2.704, allocations: 280.1 kB / 1.238 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/2.704, allocations: 3.953 kB / 1.238 GB, free: 71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/2.704, allocations: 7.938 kB / 1.238 GB, free: 71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/2.704, allocations: 0 / 1.238 GB, free: 71 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/2.705, allocations: 0.6292 MB / 1.239 GB, free: 70.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/2.705, allocations: 8.094 kB / 1.239 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006454/2.706, allocations: 43.97 kB / 1.239 GB, free: 70.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/2.706, allocations: 20.72 kB / 1.239 GB, free: 70.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/2.706, allocations: 11.92 kB / 1.239 GB, free: 70.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008744/2.707, allocations: 1.26 MB / 1.24 GB, free: 68.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/2.707, allocations: 0 / 1.24 GB, free: 68.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009148/2.708, allocations: 449 kB / 1.241 GB, free: 68.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/2.708, allocations: 84.97 kB / 1.241 GB, free: 68.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/2.708, allocations: 7.688 kB / 1.241 GB, free: 68.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/2.709, allocations: 15.14 kB / 1.241 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/2.709, allocations: 20.05 kB / 1.241 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/2.709, allocations: 15.92 kB / 1.241 GB, free: 68.44 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.39e-05/2.709, allocations: 83.28 kB / 1.241 GB, free: 68.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/2.709, allocations: 0 / 1.241 GB, free: 68.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009299/2.71, allocations: 167.8 kB / 1.241 GB, free: 68.22 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002687/2.713, allocations: 1.694 MB / 1.243 GB, free: 66.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007592/2.713, allocations: 200.2 kB / 1.243 GB, free: 66.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/2.713, allocations: 0 / 1.243 GB, free: 66.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004208/2.714, allocations: 220.1 kB / 1.243 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/2.714, allocations: 42.95 kB / 1.243 GB, free: 66.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/2.716, allocations: 429.3 kB / 1.243 GB, free: 65.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/2.716, allocations: 0.7166 MB / 1.244 GB, free: 65.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/2.716, allocations: 41.05 kB / 1.244 GB, free: 65.02 MB / 0.5105 GB Notification: Performance of SimCode: time 1.643e-06/2.716, allocations: 0 / 1.244 GB, free: 65.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.974/5.691, allocations: 7.877 MB / 1.252 GB, free: 57.16 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat