Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007765/0.007765, allocations: 174.8 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.004/2.004, allocations: 194.5 MB / 210.3 MB, free: 8.598 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001782/0.001782, allocations: 112.6 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2476/0.2476, allocations: 40.01 MB / 340.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005338/0.0005341, allocations: 10.97 kB / 406.1 MB, free: 52.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1653, allocations: 54.87 MB / 461 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.33/1.495, allocations: 456.5 MB / 0.896 GB, free: 4.121 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000415/1.496, allocations: 75.78 kB / 0.8961 GB, free: 4.082 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4256/1.921, allocations: 29.9 MB / 0.9253 GB, free: 181.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.921, allocations: 0 / 0.9253 GB, free: 181.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/1.921, allocations: 0 / 0.9253 GB, free: 181.8 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005101/1.922, allocations: 399.4 kB / 0.9257 GB, free: 181.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.922, allocations: 8.031 kB / 0.9257 GB, free: 181.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/1.923, allocations: 188.1 kB / 0.9258 GB, free: 181.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/1.924, allocations: 202.9 kB / 0.926 GB, free: 181 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/1.924, allocations: 8 kB / 0.926 GB, free: 180.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/1.924, allocations: 4 kB / 0.926 GB, free: 180.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/1.925, allocations: 220 kB / 0.9263 GB, free: 180.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/1.925, allocations: 4 kB / 0.9263 GB, free: 180.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/1.925, allocations: 7.984 kB / 0.9263 GB, free: 180.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/1.925, allocations: 4 kB / 0.9263 GB, free: 180.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/1.925, allocations: 167.8 kB / 0.9264 GB, free: 180.5 MB / 490.7 MB 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.001174/1.926, allocations: 0.5912 MB / 0.927 GB, free: 179.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/1.927, allocations: 130.5 kB / 0.9271 GB, free: 179.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/1.927, allocations: 4 kB / 0.9271 GB, free: 179.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/1.927, allocations: 30.56 kB / 0.9272 GB, free: 179.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/1.927, allocations: 0 / 0.9272 GB, free: 179.7 MB / 490.7 MB 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.005305/1.932, allocations: 1.314 MB / 0.9284 GB, free: 178.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/1.932, allocations: 55.39 kB / 0.9285 GB, free: 178.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.737e-05/1.932, allocations: 104.9 kB / 0.9286 GB, free: 178.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/1.932, allocations: 29.7 kB / 0.9286 GB, free: 178.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/1.932, allocations: 95.97 kB / 0.9287 GB, free: 178 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/1.932, allocations: 71 kB / 0.9288 GB, free: 177.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/1.932, allocations: 0 / 0.9288 GB, free: 177.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/1.932, allocations: 322.8 kB / 0.9291 GB, free: 177.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/1.933, allocations: 79.89 kB / 0.9292 GB, free: 177.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/1.933, allocations: 99.83 kB / 0.9293 GB, free: 177.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/1.933, allocations: 80.86 kB / 0.9293 GB, free: 177.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/1.933, allocations: 0 / 0.9293 GB, free: 177.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004362/1.933, allocations: 260.7 kB / 0.9296 GB, free: 177.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/1.933, allocations: 4 kB / 0.9296 GB, free: 177.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.933, allocations: 4 kB / 0.9296 GB, free: 177.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/1.934, allocations: 52.77 kB / 0.9296 GB, free: 177 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/1.934, allocations: 51.97 kB / 0.9297 GB, free: 176.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003617/1.934, allocations: 0.568 MB / 0.9303 GB, free: 176.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/1.934, allocations: 8.031 kB / 0.9303 GB, free: 176.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/1.935, allocations: 27.98 kB / 0.9303 GB, free: 176.3 MB / 490.7 MB 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.000122/1.935, allocations: 121.8 kB / 0.9304 GB, free: 176.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/1.935, allocations: 7.906 kB / 0.9304 GB, free: 176.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007593/1.935, allocations: 355.3 kB / 0.9308 GB, free: 175.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/1.936, allocations: 4 kB / 0.9308 GB, free: 175.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.936, allocations: 0 / 0.9308 GB, free: 175.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.936, allocations: 0 / 0.9308 GB, free: 175.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008621/1.936, allocations: 0.6226 MB / 0.9314 GB, free: 175.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.936, allocations: 4 kB / 0.9314 GB, free: 175.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/1.937, allocations: 67.89 kB / 0.9314 GB, free: 175.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.888e-05/1.937, allocations: 20.78 kB / 0.9315 GB, free: 175 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/1.937, allocations: 20.08 kB / 0.9315 GB, free: 175 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007448/1.938, allocations: 1.264 MB / 0.9327 GB, free: 173.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.938, allocations: 4.062 kB / 0.9327 GB, free: 173.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/1.938, allocations: 469.9 kB / 0.9332 GB, free: 173.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/1.938, allocations: 88.95 kB / 0.9332 GB, free: 173 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/1.938, allocations: 8 kB / 0.9332 GB, free: 173 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/1.939, allocations: 7.984 kB / 0.9333 GB, free: 173 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/1.939, allocations: 23.97 kB / 0.9333 GB, free: 173 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/1.939, allocations: 27.98 kB / 0.9333 GB, free: 172.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.714e-05/1.939, allocations: 91.27 kB / 0.9334 GB, free: 172.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.939, allocations: 0 / 0.9334 GB, free: 172.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006262/1.939, allocations: 116 kB / 0.9335 GB, free: 172.7 MB / 490.7 MB 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 (21): * Single equations (assignments): 20 * 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.0009057/1.94, allocations: 0.5342 MB / 0.934 GB, free: 172.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004685/1.941, allocations: 200.3 kB / 0.9342 GB, free: 172 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.941, allocations: 0 / 0.9342 GB, free: 172 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/1.941, allocations: 222.5 kB / 0.9344 GB, free: 171.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/1.941, allocations: 45.42 kB / 0.9345 GB, free: 171.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007972/1.942, allocations: 0.5633 MB / 0.935 GB, free: 171.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/1.942, allocations: 0.7126 MB / 0.9357 GB, free: 170.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004083/1.943, allocations: 81.61 kB / 0.9358 GB, free: 170.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/1.943, allocations: 59.39 kB / 0.9359 GB, free: 170.3 MB / 490.7 MB Notification: Performance of SimCode: time 7.02e-07/1.943, allocations: 0 / 0.9359 GB, free: 170.3 MB / 490.7 MB Notification: Performance of Templates: time 0.01503/1.958, allocations: 11.01 MB / 0.9466 GB, free: 159.2 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1)