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.0014/0.001401, allocations: 173.8 kB / 17.05 MB, free: 5.059 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.557/1.557, allocations: 223.2 MB / 241 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 87.09 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4463/0.4463, allocations: 44.22 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 8 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4733, allocations: 61.91 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.974/2.448, allocations: 0.6962 GB / 1.206 GB, free: 73.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/2.448, allocations: 77.94 kB / 1.206 GB, free: 73.44 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.07098/2.519, allocations: 34.2 MB / 1.239 GB, free: 44.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.495e-06/2.519, allocations: 4 kB / 1.239 GB, free: 44.58 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.547e-05/2.519, allocations: 4 kB / 1.239 GB, free: 44.58 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.0005004/2.52, allocations: 418.8 kB / 1.24 GB, free: 44.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/2.52, allocations: 8.031 kB / 1.24 GB, free: 44.12 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/2.52, allocations: 51.23 kB / 1.24 GB, free: 44.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/2.521, allocations: 185.2 kB / 1.24 GB, free: 43.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/2.522, allocations: 205 kB / 1.24 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/2.522, allocations: 11.94 kB / 1.24 GB, free: 43.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/2.522, allocations: 4 kB / 1.24 GB, free: 43.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/2.522, allocations: 203.9 kB / 1.24 GB, free: 43.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/2.522, allocations: 0 / 1.24 GB, free: 43.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/2.522, allocations: 3.75 kB / 1.24 GB, free: 43.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/2.522, allocations: 7.984 kB / 1.24 GB, free: 43.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/2.523, allocations: 207.2 kB / 1.241 GB, free: 43.38 MB / 0.5261 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.00136/2.524, allocations: 0.6284 MB / 1.241 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/2.525, allocations: 159.8 kB / 1.241 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/2.525, allocations: 89.09 kB / 1.241 GB, free: 42.58 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/2.525, allocations: 38.06 kB / 1.241 GB, free: 42.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/2.525, allocations: 0 / 1.241 GB, free: 42.54 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.005248/2.53, allocations: 1.458 MB / 1.243 GB, free: 41.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/2.53, allocations: 55.41 kB / 1.243 GB, free: 41.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.533e-05/2.53, allocations: 104.6 kB / 1.243 GB, free: 41.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/2.53, allocations: 37.02 kB / 1.243 GB, free: 41.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/2.53, allocations: 99.81 kB / 1.243 GB, free: 40.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/2.53, allocations: 66.08 kB / 1.243 GB, free: 40.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/2.53, allocations: 0 / 1.243 GB, free: 40.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.997e-05/2.53, allocations: 325.5 kB / 1.244 GB, free: 40.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/2.531, allocations: 88.25 kB / 1.244 GB, free: 40.49 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/2.531, allocations: 112 kB / 1.244 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/2.531, allocations: 99.38 kB / 1.244 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/2.531, allocations: 0 / 1.244 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004827/2.531, allocations: 266.2 kB / 1.244 GB, free: 40.15 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/2.531, allocations: 4 kB / 1.244 GB, free: 40.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/2.531, allocations: 0 / 1.244 GB, free: 40.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/2.532, allocations: 24.59 kB / 1.244 GB, free: 40.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/2.532, allocations: 55.72 kB / 1.244 GB, free: 40.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000258/2.532, allocations: 0.5398 MB / 1.245 GB, free: 39.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/2.532, allocations: 7.984 kB / 1.245 GB, free: 39.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/2.533, allocations: 11.88 kB / 1.245 GB, free: 39.5 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 () * 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.0001061/2.533, allocations: 121.4 kB / 1.245 GB, free: 39.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/2.533, allocations: 11.91 kB / 1.245 GB, free: 39.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006339/2.533, allocations: 298 kB / 1.245 GB, free: 39.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/2.533, allocations: 4 kB / 1.245 GB, free: 39.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/2.533, allocations: 4 kB / 1.245 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/2.533, allocations: 7.984 kB / 1.245 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009144/2.534, allocations: 0.6534 MB / 1.246 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/2.534, allocations: 3.953 kB / 1.246 GB, free: 38.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/2.535, allocations: 47.95 kB / 1.246 GB, free: 38.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.714e-05/2.535, allocations: 28.19 kB / 1.246 GB, free: 38.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/2.535, allocations: 7.5 kB / 1.246 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006069/2.535, allocations: 1.273 MB / 1.247 GB, free: 37.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/2.535, allocations: 0 / 1.247 GB, free: 37.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000638/2.536, allocations: 465.2 kB / 1.248 GB, free: 36.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/2.536, allocations: 89.03 kB / 1.248 GB, free: 36.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/2.536, allocations: 11.81 kB / 1.248 GB, free: 36.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/2.536, allocations: 4 kB / 1.248 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/2.536, allocations: 23.48 kB / 1.248 GB, free: 36.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/2.536, allocations: 8 kB / 1.248 GB, free: 36.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.398e-05/2.536, allocations: 88.58 kB / 1.248 GB, free: 36.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/2.536, allocations: 4 kB / 1.248 GB, free: 36.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006985/2.537, allocations: 164.4 kB / 1.248 GB, free: 36.34 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 () * 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.001783/2.539, allocations: 1.723 MB / 1.25 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005152/2.539, allocations: 218.4 kB / 1.25 GB, free: 34.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.54, allocations: 0 / 1.25 GB, free: 34.53 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003061/2.54, allocations: 215 kB / 1.25 GB, free: 34.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/2.54, allocations: 52.83 kB / 1.25 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/2.542, allocations: 1.602 MB / 1.252 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/2.542, allocations: 0.7127 MB / 1.252 GB, free: 32.01 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003452/2.542, allocations: 41.41 kB / 1.252 GB, free: 31.97 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/2.543, allocations: 41.11 kB / 1.252 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/2.543, allocations: 4 kB / 1.252 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/2.57, allocations: 14.5 MB / 1.267 GB, free: 17.61 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/2.57, allocations: 202.8 kB / 1.267 GB, free: 17.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/4.636, allocations: 0 / 1.267 GB, free: 17.37 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