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.001128/0.001128, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007674/0.0007674, allocations: 88.22 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1776/0.1776, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.539e-05, allocations: 4 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 63.25 MB / 0.5115 GB, free: 6.719 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.631/1.736, allocations: 0.6971 GB / 1.209 GB, free: 167.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/1.736, allocations: 73.56 kB / 1.209 GB, free: 167.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0636/1.8, allocations: 34.14 MB / 1.242 GB, free: 146.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.252e-06/1.8, allocations: 0 / 1.242 GB, free: 146.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.198e-05/1.8, allocations: 4.219 kB / 1.242 GB, free: 146.2 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.0004556/1.8, allocations: 432.3 kB / 1.242 GB, free: 145.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.8, allocations: 11.97 kB / 1.242 GB, free: 145.7 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/1.8, allocations: 45.86 kB / 1.242 GB, free: 145.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/1.802, allocations: 181.9 kB / 1.243 GB, free: 145.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/1.802, allocations: 198.2 kB / 1.243 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/1.802, allocations: 8.062 kB / 1.243 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/1.802, allocations: 15.81 kB / 1.243 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/1.802, allocations: 198.6 kB / 1.243 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/1.802, allocations: 0 / 1.243 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/1.802, allocations: 7.625 kB / 1.243 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/1.803, allocations: 7.984 kB / 1.243 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/1.803, allocations: 185.1 kB / 1.243 GB, free: 145 MB / 0.5417 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.001144/1.804, allocations: 0.6131 MB / 1.244 GB, free: 144.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/1.804, allocations: 148.1 kB / 1.244 GB, free: 144.4 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/1.804, allocations: 75.61 kB / 1.244 GB, free: 144.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/1.804, allocations: 93.08 kB / 1.244 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/1.804, allocations: 42.42 kB / 1.244 GB, free: 144.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/1.804, allocations: 0 / 1.244 GB, free: 144.1 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.003955/1.808, allocations: 1.203 MB / 1.245 GB, free: 143 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/1.808, allocations: 59.36 kB / 1.245 GB, free: 143 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.418e-05/1.809, allocations: 104.7 kB / 1.246 GB, free: 142.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/1.809, allocations: 25.7 kB / 1.246 GB, free: 142.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/1.809, allocations: 108.1 kB / 1.246 GB, free: 142.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/1.809, allocations: 62.72 kB / 1.246 GB, free: 142.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/1.809, allocations: 3.812 kB / 1.246 GB, free: 142.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.126e-05/1.809, allocations: 322.7 kB / 1.246 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/1.809, allocations: 78.73 kB / 1.246 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/1.809, allocations: 108.2 kB / 1.246 GB, free: 142.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/1.809, allocations: 84.09 kB / 1.246 GB, free: 142.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/1.809, allocations: 0 / 1.246 GB, free: 142.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003503/1.809, allocations: 244.2 kB / 1.247 GB, free: 142 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.809, allocations: 12.09 kB / 1.247 GB, free: 142 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.809, allocations: 0 / 1.247 GB, free: 142 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001101/1.81, allocations: 28.47 kB / 1.247 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/1.81, allocations: 55.95 kB / 1.247 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002215/1.81, allocations: 0.5391 MB / 1.247 GB, free: 141.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/1.81, allocations: 15.95 kB / 1.247 GB, free: 141.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/1.81, allocations: 4 kB / 1.247 GB, free: 141.3 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 () * 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 6.962e-05/1.81, allocations: 112 kB / 1.247 GB, free: 141.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/1.811, allocations: 11.91 kB / 1.247 GB, free: 141.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004687/1.811, allocations: 275.9 kB / 1.248 GB, free: 141 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.811, allocations: 0 / 1.248 GB, free: 141 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.811, allocations: 0 / 1.248 GB, free: 141 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.811, allocations: 3.984 kB / 1.248 GB, free: 141 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007048/1.812, allocations: 0.6411 MB / 1.248 GB, free: 140.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.812, allocations: 0 / 1.248 GB, free: 140.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/1.812, allocations: 55.45 kB / 1.248 GB, free: 140.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.423e-05/1.812, allocations: 12.86 kB / 1.248 GB, free: 140.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/1.812, allocations: 15.64 kB / 1.248 GB, free: 140.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005162/1.813, allocations: 1.263 MB / 1.249 GB, free: 139 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.813, allocations: 4.156 kB / 1.249 GB, free: 139 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/1.813, allocations: 443.6 kB / 1.25 GB, free: 138.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/1.813, allocations: 92.89 kB / 1.25 GB, free: 138.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/1.813, allocations: 7.75 kB / 1.25 GB, free: 138.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/1.813, allocations: 11.48 kB / 1.25 GB, free: 138.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/1.813, allocations: 11.98 kB / 1.25 GB, free: 138.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/1.814, allocations: 15.55 kB / 1.25 GB, free: 138.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.713e-05/1.814, allocations: 87.03 kB / 1.25 GB, free: 138.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/1.814, allocations: 0 / 1.25 GB, free: 138.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005597/1.814, allocations: 170.1 kB / 1.25 GB, free: 138.2 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 () * 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.001393/1.816, allocations: 1.699 MB / 1.252 GB, free: 136.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003433/1.816, allocations: 211 kB / 1.252 GB, free: 136.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.816, allocations: 0 / 1.252 GB, free: 136.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/1.816, allocations: 213.4 kB / 1.252 GB, free: 136.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/1.816, allocations: 43.33 kB / 1.252 GB, free: 136.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/1.817, allocations: 409.9 kB / 1.253 GB, free: 135.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/1.817, allocations: 0.7161 MB / 1.253 GB, free: 135 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003276/1.818, allocations: 41.19 kB / 1.254 GB, free: 135 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/1.818, allocations: 41.48 kB / 1.254 GB, free: 135 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/1.818, allocations: 0 / 1.254 GB, free: 135 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/1.843, allocations: 16.04 MB / 1.269 GB, free: 119.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001344/1.843, allocations: 182.8 kB / 1.269 GB, free: 118.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/3.806, allocations: 0 / 1.269 GB, free: 118.9 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