Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 197.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.2 MB / 245 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001008, allocations: 110.3 kB / 297.3 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3251/0.3251, allocations: 45.23 MB / 394.7 MB, free: 31.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002706/0.0002706, allocations: 8 kB / 468.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3088, allocations: 63.25 MB / 0.5192 GB, free: 37.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.339, allocations: 0.5228 GB / 1.042 GB, free: 78.72 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/1.339, allocations: 100.8 kB / 1.042 GB, free: 78.63 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6846/2.024, allocations: 207.7 MB / 1.245 GB, free: 93.42 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.613e-06/2.024, allocations: 0 / 1.245 GB, free: 93.42 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.877e-05/2.024, allocations: 19.98 kB / 1.245 GB, free: 93.4 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003222/2.027, allocations: 1.116 MB / 1.246 GB, free: 92.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/2.028, allocations: 8.031 kB / 1.246 GB, free: 92.23 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/2.029, allocations: 131.1 kB / 1.246 GB, free: 92.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/2.03, allocations: 0.5482 MB / 1.247 GB, free: 91.51 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-05/2.03, allocations: 104.3 kB / 1.247 GB, free: 91.39 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/2.03, allocations: 55.89 kB / 1.247 GB, free: 91.34 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/2.031, allocations: 0.8213 MB / 1.248 GB, free: 90.44 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/2.031, allocations: 0 / 1.248 GB, free: 90.44 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/2.032, allocations: 27.98 kB / 1.248 GB, free: 90.41 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-05/2.032, allocations: 44.91 kB / 1.248 GB, free: 90.37 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/2.033, allocations: 0.6204 MB / 1.248 GB, free: 89.75 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.003998/2.037, allocations: 3.946 MB / 1.252 GB, free: 85.54 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/2.037, allocations: 345 kB / 1.253 GB, free: 85.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/2.037, allocations: 85.39 kB / 1.253 GB, free: 85.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/2.037, allocations: 38.84 kB / 1.253 GB, free: 85.05 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 1.443e-06/2.037, allocations: 0 / 1.253 GB, free: 85.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.005236/2.043, allocations: 1.67 MB / 1.254 GB, free: 83.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/2.043, allocations: 132.5 kB / 1.254 GB, free: 83.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006292/2.043, allocations: 0.5421 MB / 1.255 GB, free: 82.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/2.043, allocations: 33.7 kB / 1.255 GB, free: 82.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/2.044, allocations: 362.9 kB / 1.255 GB, free: 82.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/2.044, allocations: 146 kB / 1.255 GB, free: 82.05 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/2.044, allocations: 12 kB / 1.255 GB, free: 82.04 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001541/2.044, allocations: 374.8 kB / 1.256 GB, free: 81.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/2.044, allocations: 205.8 kB / 1.256 GB, free: 81.46 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/2.045, allocations: 0.5097 MB / 1.256 GB, free: 80.81 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/2.045, allocations: 292.4 kB / 1.257 GB, free: 80.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/2.045, allocations: 4 kB / 1.257 GB, free: 80.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001293/2.047, allocations: 0.8686 MB / 1.258 GB, free: 79.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/2.047, allocations: 15.19 kB / 1.258 GB, free: 79.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/2.047, allocations: 12 kB / 1.258 GB, free: 79.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/2.048, allocations: 304.6 kB / 1.258 GB, free: 79.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/2.048, allocations: 131.8 kB / 1.258 GB, free: 79.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009382/2.049, allocations: 0.9342 MB / 1.259 GB, free: 78.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/2.05, allocations: 47.88 kB / 1.259 GB, free: 78.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.822e-05/2.05, allocations: 64 kB / 1.259 GB, free: 78.12 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003257/2.05, allocations: 245.6 kB / 1.259 GB, free: 77.87 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/2.05, allocations: 67.25 kB / 1.259 GB, free: 77.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/2.052, allocations: 0.8616 MB / 1.26 GB, free: 76.92 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/2.052, allocations: 4 kB / 1.26 GB, free: 76.92 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/2.052, allocations: 0 / 1.26 GB, free: 76.92 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/2.052, allocations: 3.984 kB / 1.26 GB, free: 76.91 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/2.054, allocations: 1.445 MB / 1.262 GB, free: 75.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/2.054, allocations: 4 kB / 1.262 GB, free: 75.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009558/2.055, allocations: 211.8 kB / 1.262 GB, free: 75.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.912e-05/2.055, allocations: 32.97 kB / 1.262 GB, free: 75.09 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/2.055, allocations: 16 kB / 1.262 GB, free: 75.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/2.056, allocations: 2.685 MB / 1.265 GB, free: 72.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/2.057, allocations: 11.91 kB / 1.265 GB, free: 72.12 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/2.058, allocations: 0.8701 MB / 1.265 GB, free: 71.17 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/2.058, allocations: 188.2 kB / 1.266 GB, free: 70.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/2.058, allocations: 15.95 kB / 1.266 GB, free: 70.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/2.059, allocations: 24.05 kB / 1.266 GB, free: 70.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/2.059, allocations: 43.94 kB / 1.266 GB, free: 70.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/2.059, allocations: 43.97 kB / 1.266 GB, free: 70.84 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004653/2.059, allocations: 427 kB / 1.266 GB, free: 70.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/2.059, allocations: 4 kB / 1.266 GB, free: 70.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001293/2.061, allocations: 335.8 kB / 1.266 GB, free: 70.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001979/2.063, allocations: 0.9391 MB / 1.267 GB, free: 69.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001062/2.064, allocations: 0.5426 MB / 1.268 GB, free: 68.62 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/2.064, allocations: 4 kB / 1.268 GB, free: 68.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008738/2.065, allocations: 410.6 kB / 1.268 GB, free: 68.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/2.066, allocations: 331.6 kB / 1.269 GB, free: 67.88 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/2.068, allocations: 1.578 MB / 1.27 GB, free: 66.26 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/2.068, allocations: 0.9456 MB / 1.271 GB, free: 65.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001157/2.07, allocations: 462.4 kB / 1.271 GB, free: 64.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/2.07, allocations: 103.4 kB / 1.272 GB, free: 64.73 MB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/2.07, allocations: 4 kB / 1.272 GB, free: 64.72 MB / 0.5417 GB Notification: Performance of Templates: time 0.03263/2.103, allocations: 25.83 MB / 1.297 GB, free: 38.99 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)