Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001624/0.001624, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.445/1.445, allocations: 170.7 MB / 178.7 MB, free: 7.039 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001856/0.001856, allocations: 103.7 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.082e-05/2.086e-05, allocations: 4 kB / 262.2 MB, free: 3.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.277, allocations: 38.76 MB / 301 MB, free: 39.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.403, allocations: 440.6 MB / 0.7242 GB, free: 118.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/1.403, allocations: 75.95 kB / 0.7243 GB, free: 118.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05973/1.463, allocations: 29.23 MB / 0.7529 GB, free: 89.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.056e-06/1.463, allocations: 0 / 0.7529 GB, free: 89.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.189e-05/1.463, allocations: 4 kB / 0.7529 GB, free: 89.59 MB / 362.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.0005562/1.463, allocations: 382.6 kB / 0.7532 GB, free: 89.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.463, allocations: 8.031 kB / 0.7532 GB, free: 89.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/1.465, allocations: 184.6 kB / 0.7534 GB, free: 88.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/1.465, allocations: 206.8 kB / 0.7536 GB, free: 88.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/1.465, allocations: 4 kB / 0.7536 GB, free: 88.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/1.466, allocations: 4 kB / 0.7536 GB, free: 88.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003054/1.466, allocations: 148 kB / 0.7538 GB, free: 88.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/1.466, allocations: 138.2 kB / 0.7539 GB, free: 88.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/1.466, allocations: 3.938 kB / 0.7539 GB, free: 88.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/1.466, allocations: 4 kB / 0.7539 GB, free: 88.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.466, allocations: 0 / 0.7539 GB, free: 88.43 MB / 362.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.0009169/1.467, allocations: 0.5506 MB / 0.7544 GB, free: 87.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/1.467, allocations: 122.5 kB / 0.7545 GB, free: 87.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.229e-05/1.467, allocations: 56.86 kB / 0.7546 GB, free: 87.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/1.467, allocations: 7.938 kB / 0.7546 GB, free: 87.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/1.467, allocations: 38.55 kB / 0.7546 GB, free: 87.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.734e-06/1.467, allocations: 0 / 0.7546 GB, free: 87.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.003559/1.471, allocations: 0.888 MB / 0.7555 GB, free: 86.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/1.471, allocations: 55.41 kB / 0.7556 GB, free: 86.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.264e-05/1.471, allocations: 106.6 kB / 0.7557 GB, free: 86.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/1.471, allocations: 29.64 kB / 0.7557 GB, free: 86.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/1.471, allocations: 95.98 kB / 0.7558 GB, free: 86.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/1.471, allocations: 67 kB / 0.7559 GB, free: 86.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/1.471, allocations: 0 / 0.7559 GB, free: 86.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.559e-05/1.471, allocations: 318.8 kB / 0.7562 GB, free: 85.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/1.471, allocations: 67.98 kB / 0.7562 GB, free: 85.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-05/1.472, allocations: 87.61 kB / 0.7563 GB, free: 85.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/1.472, allocations: 70.97 kB / 0.7564 GB, free: 85.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/1.472, allocations: 3.984 kB / 0.7564 GB, free: 85.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000322/1.472, allocations: 232.7 kB / 0.7566 GB, free: 85.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.472, allocations: 5.25 kB / 0.7566 GB, free: 85.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.472, allocations: 0 / 0.7566 GB, free: 85.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001442/1.472, allocations: 40.84 kB / 0.7566 GB, free: 85.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/1.473, allocations: 55.89 kB / 0.7567 GB, free: 85.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003501/1.473, allocations: 0.5759 MB / 0.7573 GB, free: 84.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/1.473, allocations: 0 / 0.7573 GB, free: 84.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/1.473, allocations: 27.94 kB / 0.7573 GB, free: 84.75 MB / 362.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 () * 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.768e-05/1.473, allocations: 108.9 kB / 0.7574 GB, free: 84.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/1.473, allocations: 11.81 kB / 0.7574 GB, free: 84.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000634/1.474, allocations: 325.8 kB / 0.7577 GB, free: 84.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.474, allocations: 7.984 kB / 0.7577 GB, free: 84.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.474, allocations: 3.938 kB / 0.7577 GB, free: 84.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.474, allocations: 0 / 0.7577 GB, free: 84.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006805/1.475, allocations: 0.5563 MB / 0.7583 GB, free: 83.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.475, allocations: 11.92 kB / 0.7583 GB, free: 83.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/1.475, allocations: 59.95 kB / 0.7583 GB, free: 83.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.549e-05/1.475, allocations: 16.86 kB / 0.7583 GB, free: 83.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/1.475, allocations: 16.08 kB / 0.7584 GB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005817/1.476, allocations: 1.221 MB / 0.7596 GB, free: 82.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.476, allocations: 4.156 kB / 0.7596 GB, free: 82.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004284/1.476, allocations: 436.2 kB / 0.76 GB, free: 81.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/1.476, allocations: 89 kB / 0.7601 GB, free: 81.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/1.476, allocations: 3.953 kB / 0.7601 GB, free: 81.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/1.476, allocations: 7.906 kB / 0.7601 GB, free: 81.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/1.476, allocations: 19.97 kB / 0.7601 GB, free: 81.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/1.476, allocations: 31.98 kB / 0.7601 GB, free: 81.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.868e-05/1.477, allocations: 87.27 kB / 0.7602 GB, free: 81.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.477, allocations: 0 / 0.7602 GB, free: 81.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005088/1.477, allocations: 99.98 kB / 0.7603 GB, free: 81.41 MB / 362.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 (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.0009441/1.478, allocations: 0.6146 MB / 0.7609 GB, free: 80.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003673/1.478, allocations: 184 kB / 0.7611 GB, free: 80.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.478, allocations: 0 / 0.7611 GB, free: 80.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002307/1.479, allocations: 209.6 kB / 0.7613 GB, free: 80.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/1.479, allocations: 32.34 kB / 0.7613 GB, free: 80.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/1.48, allocations: 319.6 kB / 0.7616 GB, free: 80.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/1.48, allocations: 0.7124 MB / 0.7623 GB, free: 79.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004122/1.48, allocations: 73.17 kB / 0.7624 GB, free: 79.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/1.48, allocations: 55.41 kB / 0.7624 GB, free: 79.16 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/1.48, allocations: 0 / 0.7624 GB, free: 79.16 MB / 362.7 MB Notification: Performance of Templates: time 0.0116/1.492, allocations: 7.349 MB / 0.7696 GB, free: 71.82 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)