Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 55.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2521, allocations: 46.63 MB / 325.3 MB, free: 1.883 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3593/0.6115, allocations: 151.2 MB / 476.5 MB, free: 14.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.6144, allocations: 3.042 MB / 479.5 MB, free: 14.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.6145, allocations: 0 / 479.5 MB, free: 14.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.6149, allocations: 70.11 kB / 479.6 MB, free: 14.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002027/0.6169, allocations: 0.9962 MB / 480.6 MB, free: 14.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.6174, allocations: 205.9 kB / 480.8 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.6177, allocations: 350.5 kB / 481.1 MB, free: 14.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.6178, allocations: 8.812 kB / 481.1 MB, free: 14.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.618, allocations: 152.9 kB / 481.3 MB, free: 13.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.6182, allocations: 106.5 kB / 481.4 MB, free: 13.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.6182, allocations: 12.16 kB / 481.4 MB, free: 13.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.6207, allocations: 1.503 MB / 482.9 MB, free: 13.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.682e-05/0.6208, allocations: 73.95 kB / 483 MB, free: 13.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.6209, allocations: 104.4 kB / 483.1 MB, free: 13.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.6222, allocations: 0.9872 MB / 484.1 MB, free: 13.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6222, allocations: 0 / 484.1 MB, free: 13.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6222, allocations: 0 / 484.1 MB, free: 13.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.6222, allocations: 2.375 kB / 484.1 MB, free: 13.78 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008472/0.6231, allocations: 0.5477 MB / 484.6 MB, free: 13.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.6231, allocations: 7.375 kB / 484.6 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004014/0.6271, allocations: 383.1 kB / 485 MB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.6275, allocations: 262.9 kB / 485.3 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.6275, allocations: 15.12 kB / 485.3 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.6e-05/0.6276, allocations: 27.75 kB / 485.3 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008905/0.6285, allocations: 492 kB / 485.8 MB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.6285, allocations: 0 / 485.8 MB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.464e-05/0.6286, allocations: 10.2 kB / 485.8 MB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.6286, allocations: 5.281 kB / 485.8 MB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00099/0.6296, allocations: 0.5105 MB / 486.3 MB, free: 13.05 MB / 398.1 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.002237/0.6318, allocations: 0.9968 MB / 487.3 MB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005578/0.6324, allocations: 288.9 kB / 487.6 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.6327, allocations: 156 kB / 487.7 MB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/0.6344, allocations: 0.8987 MB / 488.6 MB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.6344, allocations: 36.69 kB / 488.7 MB, free: 11.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.6344, allocations: 0 / 488.7 MB, free: 11.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009613/0.6354, allocations: 403.6 kB / 489.1 MB, free: 11.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.6355, allocations: 79.86 kB / 489.1 MB, free: 11.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.6356, allocations: 115.9 kB / 489.3 MB, free: 11.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.6356, allocations: 34.67 kB / 489.3 MB, free: 11.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.6357, allocations: 112.5 kB / 489.4 MB, free: 11.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.606e-05/0.6358, allocations: 109.2 kB / 489.5 MB, free: 11.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.6359, allocations: 60.16 kB / 489.6 MB, free: 11.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.636, allocations: 333.3 kB / 489.9 MB, free: 10.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.6362, allocations: 112.2 kB / 490 MB, free: 10.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.6366, allocations: 210 kB / 490.2 MB, free: 10.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/0.6372, allocations: 336.3 kB / 490.5 MB, free: 10.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.6372, allocations: 3.031 kB / 490.5 MB, free: 10.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006649/0.6378, allocations: 385 kB / 490.9 MB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.6379, allocations: 6.297 kB / 490.9 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.6379, allocations: 6.906 kB / 490.9 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.6379, allocations: 4.844 kB / 490.9 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.6384, allocations: 81.19 kB / 491 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.6384, allocations: 5.031 kB / 491 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.6387, allocations: 28.91 kB / 491 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/0.6388, allocations: 21.31 kB / 491.1 MB, free: 10.62 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.6389, allocations: 135.5 kB / 491.2 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.639, allocations: 18.25 kB / 491.2 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008128/0.6398, allocations: 376.1 kB / 491.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.6399, allocations: 2.406 kB / 491.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.6399, allocations: 3.625 kB / 491.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.6399, allocations: 0.625 kB / 491.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.6405, allocations: 374 kB / 491.9 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6405, allocations: 3.984 kB / 492 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.6409, allocations: 59.05 kB / 492 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.641, allocations: 7.562 kB / 492 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.641, allocations: 9.984 kB / 492 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.641, allocations: 1.094 kB / 492 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.641, allocations: 4.719 kB / 492 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/0.6419, allocations: 0.5523 MB / 492.6 MB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.642, allocations: 93.8 kB / 492.7 MB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.6421, allocations: 5.531 kB / 492.7 MB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.6425, allocations: 15.67 kB / 492.7 MB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.6425, allocations: 20.58 kB / 492.7 MB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.527e-05/0.6426, allocations: 18.08 kB / 492.7 MB, free: 9.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.295e-05/0.6426, allocations: 88.11 kB / 492.8 MB, free: 9.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.042e-06/0.6426, allocations: 0 / 492.8 MB, free: 9.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001024/0.6437, allocations: 236.2 kB / 493.1 MB, free: 9.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00125/0.6449, allocations: 433.3 kB / 493.5 MB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005885/0.6455, allocations: 307.8 kB / 493.8 MB, free: 9.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6455, allocations: 4.188 kB / 493.8 MB, free: 9.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.6458, allocations: 147.6 kB / 493.9 MB, free: 9.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.6465, allocations: 82.89 kB / 494 MB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.6478, allocations: 0.7294 MB / 494.7 MB, free: 9.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.6481, allocations: 0.7346 MB / 495.5 MB, free: 8.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00051/0.6486, allocations: 89.12 kB / 495.6 MB, free: 8.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.6488, allocations: 29.8 kB / 495.6 MB, free: 8.332 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6488, allocations: 0 / 495.6 MB, free: 8.332 MB / 398.1 MB Notification: Performance of Templates: time 0.01452/0.6633, allocations: 8.437 MB / 0.4922 GB, free: 4.133 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1)