Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001719/0.001719, allocations: 187.3 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.656/1.656, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001683/0.001683, allocations: 112.4 kB / 248.1 MB, free: 6.324 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.819e-05/1.822e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.311/1.421, allocations: 446.4 MB / 0.7705 GB, free: 30.43 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/1.422, allocations: 77.08 kB / 0.7705 GB, free: 30.39 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05716/1.479, allocations: 29.25 MB / 0.7991 GB, free: 6.395 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.653e-06/1.479, allocations: 0 / 0.7991 GB, free: 6.395 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/1.479, allocations: 0 / 0.7991 GB, free: 6.395 MB / 395.1 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.0004267/1.48, allocations: 383.2 kB / 0.7995 GB, free: 5.977 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/1.48, allocations: 8.031 kB / 0.7995 GB, free: 5.969 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/1.481, allocations: 181.2 kB / 0.7996 GB, free: 5.797 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/1.481, allocations: 206.9 kB / 0.7998 GB, free: 5.555 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/1.481, allocations: 4 kB / 0.7998 GB, free: 5.551 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/1.482, allocations: 4 kB / 0.7998 GB, free: 5.547 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003095/1.482, allocations: 151.9 kB / 0.8 GB, free: 5.398 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/1.482, allocations: 129.2 kB / 0.8001 GB, free: 5.258 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/1.482, allocations: 7.938 kB / 0.8001 GB, free: 5.25 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/1.482, allocations: 0 / 0.8001 GB, free: 5.25 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/1.482, allocations: 3.938 kB / 0.8001 GB, free: 5.246 MB / 395.1 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.000962/1.483, allocations: 0.5413 MB / 0.8007 GB, free: 4.664 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/1.483, allocations: 118.6 kB / 0.8008 GB, free: 4.539 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.849e-05/1.483, allocations: 60.84 kB / 0.8008 GB, free: 4.477 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/1.483, allocations: 8 kB / 0.8008 GB, free: 4.469 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/1.484, allocations: 38.5 kB / 0.8009 GB, free: 4.422 MB / 395.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/1.484, allocations: 0 / 0.8009 GB, free: 4.422 MB / 395.1 MB Notification: Performance of matching and sorting (n=19): time 0.003601/1.487, allocations: 0.8944 MB / 0.8017 GB, free: 3.453 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/1.487, allocations: 55.41 kB / 0.8018 GB, free: 3.387 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/1.487, allocations: 101 kB / 0.8019 GB, free: 3.281 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/1.487, allocations: 25.7 kB / 0.8019 GB, free: 3.25 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/1.487, allocations: 107.9 kB / 0.802 GB, free: 3.141 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/1.487, allocations: 63.05 kB / 0.8021 GB, free: 3.078 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/1.487, allocations: 0 / 0.8021 GB, free: 3.078 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 7.466e-05/1.488, allocations: 318.8 kB / 0.8024 GB, free: 2.758 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/1.488, allocations: 63.98 kB / 0.8024 GB, free: 2.695 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/1.488, allocations: 91.55 kB / 0.8025 GB, free: 2.594 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/1.488, allocations: 72.91 kB / 0.8026 GB, free: 2.523 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/1.488, allocations: 0 / 0.8026 GB, free: 2.523 MB / 395.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003376/1.488, allocations: 232.5 kB / 0.8028 GB, free: 2.293 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.488, allocations: 4.938 kB / 0.8028 GB, free: 2.289 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/1.488, allocations: 4 kB / 0.8028 GB, free: 2.285 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/1.488, allocations: 43.78 kB / 0.8029 GB, free: 2.242 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/1.489, allocations: 60 kB / 0.8029 GB, free: 2.184 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003452/1.489, allocations: 0.5718 MB / 0.8035 GB, free: 1.586 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/1.489, allocations: 3.984 kB / 0.8035 GB, free: 1.582 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/1.489, allocations: 28 kB / 0.8035 GB, free: 1.555 MB / 395.1 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 () * 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.0001016/1.489, allocations: 116.7 kB / 0.8036 GB, free: 1.434 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/1.489, allocations: 15.86 kB / 0.8036 GB, free: 1.418 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006467/1.49, allocations: 311 kB / 0.8039 GB, free: 1.105 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/1.49, allocations: 4 kB / 0.8039 GB, free: 1.102 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.49, allocations: 0 / 0.8039 GB, free: 1.102 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.49, allocations: 3.984 kB / 0.8039 GB, free: 1.098 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006715/1.491, allocations: 0.5502 MB / 0.8045 GB, free: 0.4922 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/1.491, allocations: 8.031 kB / 0.8045 GB, free: 496 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/1.491, allocations: 63.89 kB / 0.8046 GB, free: 432 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.296e-05/1.491, allocations: 16.84 kB / 0.8046 GB, free: 412 kB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/1.491, allocations: 19.97 kB / 0.8046 GB, free: 392 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2824/1.774, allocations: 1.218 MB / 0.8058 GB, free: 112.4 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.774, allocations: 0 / 0.8058 GB, free: 112.4 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000861/1.775, allocations: 437.3 kB / 0.8062 GB, free: 112.2 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/1.775, allocations: 84.2 kB / 0.8063 GB, free: 112.1 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/1.775, allocations: 5.969 kB / 0.8063 GB, free: 112.1 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/1.775, allocations: 6.75 kB / 0.8063 GB, free: 112.1 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/1.775, allocations: 20 kB / 0.8063 GB, free: 112.1 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-05/1.775, allocations: 32.2 kB / 0.8063 GB, free: 112.1 MB / 395.1 MB Notification: Performance of sorting global known variables: time 5.409e-05/1.775, allocations: 91.73 kB / 0.8064 GB, free: 112 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.775, allocations: 0 / 0.8064 GB, free: 112 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0007952/1.776, allocations: 101.5 kB / 0.8065 GB, free: 112 MB / 395.1 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 (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.001511/1.778, allocations: 0.6151 MB / 0.8071 GB, free: 111.9 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0005445/1.778, allocations: 180.5 kB / 0.8073 GB, free: 111.9 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.778, allocations: 3.188 kB / 0.8073 GB, free: 111.9 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000319/1.778, allocations: 200.4 kB / 0.8075 GB, free: 111.8 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/1.779, allocations: 40.64 kB / 0.8075 GB, free: 111.8 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007101/1.78, allocations: 320.5 kB / 0.8078 GB, free: 111.7 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/1.78, allocations: 0.7082 MB / 0.8085 GB, free: 111 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0006417/1.781, allocations: 75.66 kB / 0.8086 GB, free: 111 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/1.781, allocations: 53.02 kB / 0.8086 GB, free: 111 MB / 395.1 MB Notification: Performance of SimCode: time 3.6e-07/1.781, allocations: 0 / 0.8086 GB, free: 111 MB / 395.1 MB Notification: Performance of Templates: time 0.01666/1.798, allocations: 7.347 MB / 0.8158 GB, free: 110.4 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)