Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7615/0.7615, allocations: 110.9 MB / 125.9 MB, free: 6.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001779/0.001779, allocations: 142.2 kB / 151.8 MB, free: 5.004 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002622/0.0002622, allocations: 8 kB / 184.9 MB, free: 3.938 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.142, allocations: 25.16 MB / 210 MB, free: 29.74 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5139/0.6559, allocations: 296.5 MB / 0.4947 GB, free: 60.62 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001699/0.6561, allocations: 59.97 kB / 0.4947 GB, free: 60.56 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05612/0.7122, allocations: 31.17 MB / 0.5251 GB, free: 29.28 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.7123, allocations: 0 / 0.5251 GB, free: 29.28 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.7123, allocations: 4 kB / 0.5252 GB, free: 29.28 MB / 234.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.0003189/0.7126, allocations: 391.4 kB / 0.5255 GB, free: 28.85 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.7127, allocations: 8.031 kB / 0.5255 GB, free: 28.84 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.7127, allocations: 11.91 kB / 0.5255 GB, free: 28.83 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.7128, allocations: 190.9 kB / 0.5257 GB, free: 28.6 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.7128, allocations: 12 kB / 0.5257 GB, free: 28.59 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.7129, allocations: 7.984 kB / 0.5257 GB, free: 28.58 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.7131, allocations: 127.1 kB / 0.5259 GB, free: 28.45 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.7131, allocations: 4 kB / 0.5259 GB, free: 28.44 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.7131, allocations: 4 kB / 0.5259 GB, free: 28.44 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.7131, allocations: 3.953 kB / 0.5259 GB, free: 28.43 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.7132, allocations: 111.8 kB / 0.526 GB, free: 28.32 MB / 234.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.0006119/0.7139, allocations: 0.6442 MB / 0.5266 GB, free: 27.6 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.7141, allocations: 134.5 kB / 0.5267 GB, free: 27.46 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/0.7144, allocations: 0.5865 MB / 0.5273 GB, free: 26.74 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.7144, allocations: 30.56 kB / 0.5273 GB, free: 26.7 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.7144, allocations: 3.938 kB / 0.5273 GB, free: 26.7 MB / 234.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.004221/0.7187, allocations: 1.192 MB / 0.5285 GB, free: 25.41 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.7187, allocations: 55.41 kB / 0.5286 GB, free: 25.34 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.527e-05/0.7188, allocations: 105 kB / 0.5287 GB, free: 25.23 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.7188, allocations: 33.7 kB / 0.5287 GB, free: 25.19 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.7188, allocations: 91.89 kB / 0.5288 GB, free: 25.1 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.7189, allocations: 74.94 kB / 0.5289 GB, free: 25.02 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.7189, allocations: 0 / 0.5289 GB, free: 25.02 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 4.643e-05/0.7189, allocations: 322.8 kB / 0.5292 GB, free: 24.7 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.719, allocations: 48.17 kB / 0.5292 GB, free: 24.65 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.7191, allocations: 91.7 kB / 0.5293 GB, free: 24.55 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.132e-05/0.7192, allocations: 64.52 kB / 0.5294 GB, free: 24.49 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.7192, allocations: 0 / 0.5294 GB, free: 24.49 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003118/0.7195, allocations: 234.3 kB / 0.5296 GB, free: 24.25 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.7195, allocations: 4 kB / 0.5296 GB, free: 24.25 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7196, allocations: 4 kB / 0.5296 GB, free: 24.25 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001535/0.7197, allocations: 52.92 kB / 0.5296 GB, free: 24.19 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.7199, allocations: 51.97 kB / 0.5297 GB, free: 24.14 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002597/0.7202, allocations: 0.5679 MB / 0.5302 GB, free: 23.55 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.622e-05/0.7203, allocations: 4 kB / 0.5302 GB, free: 23.54 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.7203, allocations: 32.11 kB / 0.5303 GB, free: 23.51 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: medium.T:VARIABLE(min = max(200.0, 200.0) max = min(6000.0, 6000.0) start = 300.0 unit = "K" fixed = true nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real 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.0001476/0.7205, allocations: 134.8 kB / 0.5304 GB, free: 23.37 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.7205, allocations: 7.906 kB / 0.5304 GB, free: 23.36 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005966/0.7211, allocations: 329.4 kB / 0.5307 GB, free: 23.04 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.7211, allocations: 4 kB / 0.5307 GB, free: 23.03 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7211, allocations: 0 / 0.5307 GB, free: 23.03 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7212, allocations: 7.922 kB / 0.5307 GB, free: 23.02 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.7217, allocations: 0.564 MB / 0.5313 GB, free: 22.39 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.7218, allocations: 4 kB / 0.5313 GB, free: 22.39 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.722, allocations: 55.89 kB / 0.5313 GB, free: 22.33 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.882e-05/0.722, allocations: 24.84 kB / 0.5314 GB, free: 22.3 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.7221, allocations: 23.92 kB / 0.5314 GB, free: 22.28 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005581/0.7226, allocations: 1.272 MB / 0.5326 GB, free: 20.88 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7227, allocations: 4.281 kB / 0.5326 GB, free: 20.88 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.7231, allocations: 429 kB / 0.533 GB, free: 20.41 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.7231, allocations: 93.02 kB / 0.5331 GB, free: 20.3 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.7231, allocations: 4 kB / 0.5331 GB, free: 20.3 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.7233, allocations: 4 kB / 0.5331 GB, free: 20.3 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.7233, allocations: 27.97 kB / 0.5332 GB, free: 20.27 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.7233, allocations: 23.98 kB / 0.5332 GB, free: 20.25 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.796e-05/0.7234, allocations: 87.59 kB / 0.5333 GB, free: 20.16 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7234, allocations: 0 / 0.5333 GB, free: 20.16 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000632/0.724, allocations: 147.8 kB / 0.5334 GB, free: 20.02 MB / 234.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 (20): * Single equations (assignments): 19 * 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.0009862/0.725, allocations: 0.6046 MB / 0.534 GB, free: 19.4 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.7254, allocations: 176.3 kB / 0.5342 GB, free: 19.23 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7254, allocations: 0 / 0.5342 GB, free: 19.23 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.7257, allocations: 203 kB / 0.5344 GB, free: 19.02 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.726, allocations: 51.84 kB / 0.5344 GB, free: 18.97 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.7266, allocations: 0.5589 MB / 0.535 GB, free: 18.37 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.7267, allocations: 0.7087 MB / 0.5357 GB, free: 17.64 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002878/0.727, allocations: 75.42 kB / 0.5357 GB, free: 17.57 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.7271, allocations: 39.42 kB / 0.5358 GB, free: 17.53 MB / 234.7 MB Notification: Performance of SimCode: time 3.3e-07/0.7271, allocations: 4 kB / 0.5358 GB, free: 17.52 MB / 234.7 MB Notification: Performance of Templates: time 0.01322/0.7404, allocations: 11.63 MB / 0.5471 GB, free: 5.914 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)