Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 179.9 kB / 14.15 MB, free: 1.172 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.903/1.903, allocations: 221.3 MB / 236 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 80.12 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.252/0.252, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.247e-05/4.249e-05, allocations: 4.219 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1644, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.333/2.497, allocations: 0.6961 GB / 1.198 GB, free: 147 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/2.498, allocations: 71.97 kB / 1.198 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.06807/2.566, allocations: 34.1 MB / 1.231 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.172e-06/2.566, allocations: 4 kB / 1.231 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.431e-05/2.566, allocations: 3.984 kB / 1.231 GB, free: 112.7 MB / 0.5261 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.0004976/2.566, allocations: 418.6 kB / 1.232 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/2.566, allocations: 8.031 kB / 1.232 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/2.566, allocations: 42.56 kB / 1.232 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/2.568, allocations: 192.1 kB / 1.232 GB, free: 112 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/2.568, allocations: 210.9 kB / 1.232 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/2.568, allocations: 12.17 kB / 1.232 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/2.568, allocations: 7.828 kB / 1.232 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/2.569, allocations: 191 kB / 1.232 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/2.569, allocations: 0 / 1.232 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/2.569, allocations: 0 / 1.232 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/2.569, allocations: 4 kB / 1.232 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/2.569, allocations: 192.5 kB / 1.233 GB, free: 111.3 MB / 0.5261 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.001251/2.57, allocations: 0.6098 MB / 1.233 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/2.571, allocations: 150.5 kB / 1.233 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/2.571, allocations: 76.84 kB / 1.233 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/2.571, allocations: 93.09 kB / 1.233 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/2.571, allocations: 30.56 kB / 1.233 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/2.571, allocations: 4 kB / 1.233 GB, free: 110.3 MB / 0.5261 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.004501/2.575, allocations: 1.209 MB / 1.235 GB, free: 109 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/2.575, allocations: 51.41 kB / 1.235 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/2.576, allocations: 112.9 kB / 1.235 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/2.576, allocations: 25.7 kB / 1.235 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/2.576, allocations: 100.3 kB / 1.235 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/2.576, allocations: 67.09 kB / 1.235 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/2.576, allocations: 0 / 1.235 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.768e-05/2.576, allocations: 326.8 kB / 1.235 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/2.576, allocations: 79.86 kB / 1.235 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/2.576, allocations: 106.8 kB / 1.235 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/2.576, allocations: 83.91 kB / 1.236 GB, free: 108 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/2.576, allocations: 0 / 1.236 GB, free: 108 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003805/2.577, allocations: 249.4 kB / 1.236 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/2.577, allocations: 4 kB / 1.236 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/2.577, allocations: 11.92 kB / 1.236 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/2.577, allocations: 20.86 kB / 1.236 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/2.577, allocations: 55.95 kB / 1.236 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002584/2.577, allocations: 0.5328 MB / 1.236 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/2.578, allocations: 19.97 kB / 1.236 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/2.578, allocations: 15.94 kB / 1.236 GB, free: 107 MB / 0.5261 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 8.309e-05/2.578, allocations: 112.9 kB / 1.237 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/2.578, allocations: 7.906 kB / 1.237 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004941/2.578, allocations: 269.1 kB / 1.237 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/2.578, allocations: 8 kB / 1.237 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/2.578, allocations: 3.984 kB / 1.237 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/2.578, allocations: 0 / 1.237 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008042/2.579, allocations: 0.6449 MB / 1.237 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/2.579, allocations: 0 / 1.237 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/2.579, allocations: 55.98 kB / 1.237 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.824e-05/2.58, allocations: 20.84 kB / 1.237 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/2.58, allocations: 4 kB / 1.238 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006083/2.58, allocations: 1.268 MB / 1.239 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/2.58, allocations: 4.031 kB / 1.239 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/2.581, allocations: 439.8 kB / 1.239 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/2.581, allocations: 85.05 kB / 1.239 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/2.581, allocations: 11.98 kB / 1.239 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/2.581, allocations: 15.89 kB / 1.239 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/2.581, allocations: 11.98 kB / 1.239 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/2.581, allocations: 8.047 kB / 1.239 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.522e-05/2.581, allocations: 91.59 kB / 1.239 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/2.581, allocations: 0 / 1.239 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000643/2.582, allocations: 167.9 kB / 1.24 GB, free: 103.6 MB / 0.5261 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.001765/2.584, allocations: 1.703 MB / 1.241 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004233/2.584, allocations: 199.8 kB / 1.241 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/2.584, allocations: 3.938 kB / 1.241 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/2.584, allocations: 210.6 kB / 1.242 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/2.585, allocations: 52.22 kB / 1.242 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008767/2.586, allocations: 410.8 kB / 1.242 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/2.586, allocations: 0.7088 MB / 1.243 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003333/2.586, allocations: 45.19 kB / 1.243 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/2.586, allocations: 39.42 kB / 1.243 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/2.586, allocations: 0 / 1.243 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/2.617, allocations: 16.03 MB / 1.258 GB, free: 84.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/2.618, allocations: 191.5 kB / 1.259 GB, free: 83.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/4.912, allocations: 0 / 1.259 GB, free: 83.92 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat