Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001764/0.001763, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.602/1.602, allocations: 227.2 MB / 245 MB, free: 5.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.00112, allocations: 96.88 kB / 297.2 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5369/0.5369, allocations: 45.23 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003212, allocations: 11.98 kB / 468.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5047/0.505, allocations: 63.25 MB / 0.5193 GB, free: 37.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.134/2.639, allocations: 0.6972 GB / 1.216 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/2.639, allocations: 75.5 kB / 1.217 GB, free: 96.92 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.07363/2.713, allocations: 34.23 MB / 1.25 GB, free: 68.03 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.527e-06/2.713, allocations: 0 / 1.25 GB, free: 68.03 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.62e-05/2.713, allocations: 0 / 1.25 GB, free: 68.03 MB / 0.5417 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.00059/2.713, allocations: 438.5 kB / 1.25 GB, free: 67.56 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/2.714, allocations: 12.03 kB / 1.25 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/2.714, allocations: 38.44 kB / 1.25 GB, free: 67.51 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/2.715, allocations: 185.7 kB / 1.251 GB, free: 67.35 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/2.716, allocations: 206.3 kB / 1.251 GB, free: 67.12 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/2.716, allocations: 7.5 kB / 1.251 GB, free: 67.12 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/2.716, allocations: 11.5 kB / 1.251 GB, free: 67.11 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/2.716, allocations: 202.4 kB / 1.251 GB, free: 66.96 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/2.716, allocations: 0 / 1.251 GB, free: 66.96 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/2.716, allocations: 3.75 kB / 1.251 GB, free: 66.96 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/2.716, allocations: 8 kB / 1.251 GB, free: 66.95 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/2.717, allocations: 210.3 kB / 1.251 GB, free: 66.81 MB / 0.5417 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.001399/2.718, allocations: 0.6265 MB / 1.252 GB, free: 66.24 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/2.719, allocations: 161.5 kB / 1.252 GB, free: 66.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/2.719, allocations: 93.08 kB / 1.252 GB, free: 66.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/2.719, allocations: 38.5 kB / 1.252 GB, free: 65.97 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/2.719, allocations: 0 / 1.252 GB, free: 65.97 MB / 0.5417 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.005504/2.724, allocations: 1.462 MB / 1.254 GB, free: 64.67 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/2.724, allocations: 59.3 kB / 1.254 GB, free: 64.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.257e-05/2.724, allocations: 104.8 kB / 1.254 GB, free: 64.49 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/2.724, allocations: 33.14 kB / 1.254 GB, free: 64.46 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/2.724, allocations: 99.7 kB / 1.254 GB, free: 64.36 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/2.725, allocations: 70.05 kB / 1.254 GB, free: 64.29 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/2.725, allocations: 3.375 kB / 1.254 GB, free: 64.29 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.618e-05/2.725, allocations: 318.5 kB / 1.254 GB, free: 63.98 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/2.725, allocations: 80.97 kB / 1.254 GB, free: 63.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/2.725, allocations: 120.8 kB / 1.254 GB, free: 63.83 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/2.725, allocations: 91.42 kB / 1.255 GB, free: 63.78 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/2.725, allocations: 7.938 kB / 1.255 GB, free: 63.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004787/2.726, allocations: 258.3 kB / 1.255 GB, free: 63.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/2.726, allocations: 4 kB / 1.255 GB, free: 63.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/2.726, allocations: 4 kB / 1.255 GB, free: 63.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/2.726, allocations: 28.09 kB / 1.255 GB, free: 63.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/2.726, allocations: 56.05 kB / 1.255 GB, free: 63.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002661/2.726, allocations: 0.5353 MB / 1.255 GB, free: 62.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/2.727, allocations: 11.66 kB / 1.255 GB, free: 62.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/2.727, allocations: 7.625 kB / 1.255 GB, free: 62.94 MB / 0.5417 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 () * Number of clocked 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.0001062/2.727, allocations: 129.6 kB / 1.256 GB, free: 62.81 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/2.727, allocations: 11.89 kB / 1.256 GB, free: 62.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006116/2.728, allocations: 288.8 kB / 1.256 GB, free: 62.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/2.728, allocations: 7.953 kB / 1.256 GB, free: 62.58 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/2.728, allocations: 0 / 1.256 GB, free: 62.58 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/2.728, allocations: 0 / 1.256 GB, free: 62.58 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009363/2.729, allocations: 0.6473 MB / 1.256 GB, free: 61.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/2.729, allocations: 4 kB / 1.256 GB, free: 61.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/2.729, allocations: 47.89 kB / 1.256 GB, free: 61.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-05/2.729, allocations: 24.09 kB / 1.257 GB, free: 61.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/2.729, allocations: 3.75 kB / 1.257 GB, free: 61.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006125/2.73, allocations: 1.281 MB / 1.258 GB, free: 60.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/2.73, allocations: 0 / 1.258 GB, free: 60.55 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006632/2.73, allocations: 475.3 kB / 1.258 GB, free: 60.13 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/2.73, allocations: 88.97 kB / 1.258 GB, free: 60.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/2.73, allocations: 3.438 kB / 1.258 GB, free: 60.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/2.731, allocations: 15.55 kB / 1.258 GB, free: 60.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/2.731, allocations: 11.98 kB / 1.258 GB, free: 60 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/2.731, allocations: 15.61 kB / 1.258 GB, free: 59.99 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.242e-05/2.731, allocations: 90.95 kB / 1.258 GB, free: 59.91 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/2.731, allocations: 0 / 1.258 GB, free: 59.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006875/2.731, allocations: 168.4 kB / 1.259 GB, free: 59.77 MB / 0.5417 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 () * Number of clocked 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.001843/2.733, allocations: 1.718 MB / 1.26 GB, free: 58.11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005362/2.734, allocations: 217 kB / 1.26 GB, free: 57.96 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/2.734, allocations: 0 / 1.26 GB, free: 57.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/2.734, allocations: 230 kB / 1.261 GB, free: 57.76 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/2.735, allocations: 39.2 kB / 1.261 GB, free: 57.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/2.736, allocations: 1.599 MB / 1.262 GB, free: 56.19 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/2.737, allocations: 0.7127 MB / 1.263 GB, free: 55.45 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003624/2.737, allocations: 45.62 kB / 1.263 GB, free: 55.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/2.737, allocations: 41.73 kB / 1.263 GB, free: 55.39 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/2.737, allocations: 0 / 1.263 GB, free: 55.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03262/2.77, allocations: 14.49 MB / 1.277 GB, free: 41.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/2.77, allocations: 206.6 kB / 1.277 GB, free: 40.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/5.046, allocations: 0 / 1.277 GB, free: 40.8 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat