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 1.01/1.01, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001844/0.001843, allocations: 163.3 kB / 144 MB, free: 4.797 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.034e-05/2.036e-05, allocations: 4 kB / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06793/0.06797, allocations: 25.18 MB / 199 MB, free: 13.71 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8584/0.9264, allocations: 295.7 MB / 494.7 MB, free: 39.55 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/0.9269, allocations: 64.77 kB / 494.8 MB, free: 39.48 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06415/0.991, allocations: 30.49 MB / 0.513 GB, free: 8.848 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.9911, allocations: 0 / 0.513 GB, free: 8.848 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.007e-05/0.9911, allocations: 4 kB / 0.513 GB, free: 8.844 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.0005896/0.9917, allocations: 379.3 kB / 0.5133 GB, free: 8.43 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/0.9918, allocations: 12.03 kB / 0.5134 GB, free: 8.418 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.9919, allocations: 7.906 kB / 0.5134 GB, free: 8.41 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.9922, allocations: 201.4 kB / 0.5136 GB, free: 8.176 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.9922, allocations: 8 kB / 0.5136 GB, free: 8.168 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.9922, allocations: 4 kB / 0.5136 GB, free: 8.164 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000258/0.9925, allocations: 95.94 kB / 0.5137 GB, free: 8.07 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.9928, allocations: 116.2 kB / 0.5138 GB, free: 7.941 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.9928, allocations: 3.984 kB / 0.5138 GB, free: 7.938 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.9928, allocations: 3.953 kB / 0.5138 GB, free: 7.934 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.9929, allocations: 4 kB / 0.5138 GB, free: 7.93 MB / 234.7 MB 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.001093/0.994, allocations: 0.6059 MB / 0.5144 GB, free: 7.254 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.9942, allocations: 131.6 kB / 0.5145 GB, free: 7.117 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.819e-05/0.9943, allocations: 48.81 kB / 0.5145 GB, free: 7.066 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005658/0.9949, allocations: 0.5825 MB / 0.5151 GB, free: 6.355 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.9949, allocations: 34.56 kB / 0.5151 GB, free: 6.312 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.833e-06/0.9949, allocations: 0 / 0.5151 GB, free: 6.312 MB / 234.7 MB Notification: Performance of matching and sorting (n=19): time 0.006129/1.001, allocations: 1.407 MB / 0.5165 GB, free: 4.828 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/1.001, allocations: 55.41 kB / 0.5166 GB, free: 4.762 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/1.001, allocations: 109 kB / 0.5167 GB, free: 4.648 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/1.001, allocations: 25.7 kB / 0.5167 GB, free: 4.617 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/1.001, allocations: 95.94 kB / 0.5168 GB, free: 4.52 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.157e-05/1.001, allocations: 70.94 kB / 0.5169 GB, free: 4.449 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/1.001, allocations: 0 / 0.5169 GB, free: 4.449 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/1.002, allocations: 318.8 kB / 0.5172 GB, free: 4.129 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.388e-05/1.002, allocations: 50.14 kB / 0.5172 GB, free: 4.082 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.179e-05/1.002, allocations: 83.61 kB / 0.5173 GB, free: 3.988 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007912/1.003, allocations: 249.2 kB / 0.5175 GB, free: 3.746 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.003, allocations: 0 / 0.5175 GB, free: 3.746 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009797/1.004, allocations: 405.9 kB / 0.5179 GB, free: 3.344 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/1.004, allocations: 8 kB / 0.5179 GB, free: 3.336 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.004, allocations: 0 / 0.5179 GB, free: 3.336 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/1.004, allocations: 44.88 kB / 0.518 GB, free: 3.289 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/1.004, allocations: 51.97 kB / 0.518 GB, free: 3.238 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004025/1.004, allocations: 0.5718 MB / 0.5186 GB, free: 2.641 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/1.005, allocations: 4.031 kB / 0.5186 GB, free: 2.637 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/1.005, allocations: 24.08 kB / 0.5186 GB, free: 2.613 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" 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" 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 () * 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.0002619/1.005, allocations: 121.9 kB / 0.5187 GB, free: 2.488 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/1.005, allocations: 11.91 kB / 0.5187 GB, free: 2.477 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/1.006, allocations: 494.9 kB / 0.5192 GB, free: 1.984 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.006, allocations: 3.953 kB / 0.5192 GB, free: 1.98 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.006, allocations: 4 kB / 0.5192 GB, free: 1.977 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/1.006, allocations: 0 / 0.5192 GB, free: 1.977 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/1.008, allocations: 0.7025 MB / 0.5199 GB, free: 1.219 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.008, allocations: 0 / 0.5199 GB, free: 1.219 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/1.008, allocations: 67.89 kB / 0.52 GB, free: 1.152 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.709e-05/1.008, allocations: 16.84 kB / 0.52 GB, free: 1.133 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/1.008, allocations: 16.2 kB / 0.52 GB, free: 1.117 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1854/1.194, allocations: 1.209 MB / 0.5212 GB, free: 67.56 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/1.194, allocations: 5.047 kB / 0.5212 GB, free: 67.56 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/1.196, allocations: 0.5865 MB / 0.5217 GB, free: 67.35 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/1.196, allocations: 86.92 kB / 0.5218 GB, free: 67.26 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/1.196, allocations: 1.375 kB / 0.5218 GB, free: 67.26 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/1.196, allocations: 3.594 kB / 0.5218 GB, free: 67.26 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/1.196, allocations: 25.33 kB / 0.5219 GB, free: 67.26 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/1.196, allocations: 28.83 kB / 0.5219 GB, free: 67.26 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.454e-05/1.196, allocations: 84.88 kB / 0.522 GB, free: 67.18 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.196, allocations: 2.219 kB / 0.522 GB, free: 67.18 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0006708/1.197, allocations: 131.9 kB / 0.5221 GB, free: 67.18 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 () * 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.001401/1.198, allocations: 0.6737 MB / 0.5228 GB, free: 67.06 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004245/1.199, allocations: 160.3 kB / 0.5229 GB, free: 67.06 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.199, allocations: 1.094 kB / 0.5229 GB, free: 67.06 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/1.199, allocations: 190.4 kB / 0.5231 GB, free: 66.96 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/1.199, allocations: 48.72 kB / 0.5231 GB, free: 66.96 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/1.2, allocations: 298.8 kB / 0.5234 GB, free: 66.84 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/1.2, allocations: 0.7115 MB / 0.5241 GB, free: 66.14 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0003247/1.2, allocations: 72.97 kB / 0.5242 GB, free: 66.14 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/1.201, allocations: 48.19 kB / 0.5242 GB, free: 66.13 MB / 234.7 MB Notification: Performance of SimCode: time 2.6e-07/1.201, allocations: 0 / 0.5242 GB, free: 66.13 MB / 234.7 MB Notification: Performance of Templates: time 0.01626/1.217, allocations: 7.931 MB / 0.532 GB, free: 65.46 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)