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.001308/0.001308, allocations: 180.7 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.418/1.418, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001735/0.001735, allocations: 108.5 kB / 256.9 MB, free: 4.332 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003911, allocations: 12 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1025, allocations: 44.5 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9918/1.094, allocations: 447.1 MB / 0.7834 GB, free: 49.74 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/1.095, allocations: 73.28 kB / 0.7835 GB, free: 49.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05705/1.152, allocations: 29.88 MB / 0.8126 GB, free: 23.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/1.152, allocations: 0 / 0.8126 GB, free: 23.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/1.152, allocations: 0 / 0.8126 GB, free: 23.11 MB / 410.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.0004248/1.152, allocations: 382.1 kB / 0.813 GB, free: 22.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.152, allocations: 12.03 kB / 0.813 GB, free: 22.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/1.154, allocations: 189.1 kB / 0.8132 GB, free: 22.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/1.154, allocations: 202.9 kB / 0.8134 GB, free: 22.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/1.154, allocations: 4 kB / 0.8134 GB, free: 22.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/1.154, allocations: 8 kB / 0.8134 GB, free: 22.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/1.155, allocations: 225.6 kB / 0.8136 GB, free: 22.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.155, allocations: 0 / 0.8136 GB, free: 22.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/1.155, allocations: 8 kB / 0.8136 GB, free: 22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/1.155, allocations: 4 kB / 0.8136 GB, free: 22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/1.155, allocations: 171.8 kB / 0.8138 GB, free: 21.83 MB / 410.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.0009165/1.156, allocations: 0.5804 MB / 0.8144 GB, free: 21.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/1.156, allocations: 134.5 kB / 0.8145 GB, free: 21.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/1.156, allocations: 4 kB / 0.8145 GB, free: 21.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/1.156, allocations: 30.56 kB / 0.8145 GB, free: 21.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.013e-06/1.156, allocations: 0 / 0.8145 GB, free: 21.02 MB / 410.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.004713/1.161, allocations: 1.312 MB / 0.8158 GB, free: 19.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/1.161, allocations: 55.41 kB / 0.8159 GB, free: 19.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/1.161, allocations: 108.9 kB / 0.816 GB, free: 19.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/1.161, allocations: 25.7 kB / 0.816 GB, free: 19.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/1.161, allocations: 92.05 kB / 0.8161 GB, free: 19.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/1.161, allocations: 67 kB / 0.8161 GB, free: 19.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/1.161, allocations: 4 kB / 0.8161 GB, free: 19.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.744e-05/1.161, allocations: 318.8 kB / 0.8164 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/1.162, allocations: 71.91 kB / 0.8165 GB, free: 18.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/1.162, allocations: 103.6 kB / 0.8166 GB, free: 18.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/1.162, allocations: 84.86 kB / 0.8167 GB, free: 18.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/1.162, allocations: 0 / 0.8167 GB, free: 18.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003996/1.162, allocations: 258.4 kB / 0.8169 GB, free: 18.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.162, allocations: 5.344 kB / 0.8169 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.162, allocations: 8 kB / 0.8169 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/1.162, allocations: 56.72 kB / 0.817 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/1.163, allocations: 55.95 kB / 0.8171 GB, free: 18.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000288/1.163, allocations: 0.5562 MB / 0.8176 GB, free: 17.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/1.163, allocations: 23.95 kB / 0.8176 GB, free: 17.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/1.163, allocations: 20 kB / 0.8176 GB, free: 17.64 MB / 410.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 9.667e-05/1.163, allocations: 123.6 kB / 0.8178 GB, free: 17.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/1.163, allocations: 19.83 kB / 0.8178 GB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007202/1.164, allocations: 343.1 kB / 0.8181 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/1.164, allocations: 4 kB / 0.8181 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.164, allocations: 0 / 0.8181 GB, free: 17.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.164, allocations: 3.984 kB / 0.8181 GB, free: 17.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007913/1.165, allocations: 0.6224 MB / 0.8187 GB, free: 16.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.165, allocations: 0 / 0.8187 GB, free: 16.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/1.165, allocations: 59.89 kB / 0.8188 GB, free: 16.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.303e-05/1.165, allocations: 24.84 kB / 0.8188 GB, free: 16.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/1.165, allocations: 12 kB / 0.8188 GB, free: 16.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005972/1.166, allocations: 1.272 MB / 0.8201 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.166, allocations: 7.984 kB / 0.8201 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/1.167, allocations: 469.7 kB / 0.8205 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/1.167, allocations: 93.09 kB / 0.8206 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/1.167, allocations: 4 kB / 0.8206 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/1.167, allocations: 8 kB / 0.8206 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/1.167, allocations: 31.92 kB / 0.8206 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/1.167, allocations: 27.98 kB / 0.8207 GB, free: 14.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.495e-05/1.167, allocations: 87.27 kB / 0.8207 GB, free: 14.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.167, allocations: 0 / 0.8207 GB, free: 14.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005679/1.168, allocations: 115.9 kB / 0.8209 GB, free: 14.06 MB / 410.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.000929/1.169, allocations: 0.5296 MB / 0.8214 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00046/1.169, allocations: 196.4 kB / 0.8216 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.169, allocations: 0 / 0.8216 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/1.169, allocations: 219.7 kB / 0.8218 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/1.17, allocations: 49.48 kB / 0.8218 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007174/1.17, allocations: 0.5748 MB / 0.8224 GB, free: 12.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/1.171, allocations: 0.7049 MB / 0.8231 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000409/1.171, allocations: 77.38 kB / 0.8231 GB, free: 11.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/1.171, allocations: 55.41 kB / 0.8232 GB, free: 11.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/1.171, allocations: 0 / 0.8232 GB, free: 11.6 MB / 410.7 MB Notification: Performance of Templates: time 0.01424/1.185, allocations: 11.03 MB / 0.834 GB, free: 0.5859 MB / 410.7 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)