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.001505/0.001505, allocations: 107.4 kB / 15.34 MB, free: 0.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 194.5 kB / 16.26 MB, free: 6.633 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.337/1.337, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001129/0.00113, allocations: 56.3 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1921, allocations: 46.62 MB / 324.8 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3401/0.5323, allocations: 149.1 MB / 473.9 MB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.535, allocations: 3.039 MB / 476.9 MB, free: 14.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.923e-05/0.5351, allocations: 0 / 476.9 MB, free: 14.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.5355, allocations: 50.83 kB / 477 MB, free: 14.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.5376, allocations: 0.9389 MB / 477.9 MB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.538, allocations: 184.5 kB / 478.1 MB, free: 14.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.5384, allocations: 356.4 kB / 478.5 MB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.313e-05/0.5385, allocations: 10.28 kB / 478.5 MB, free: 14.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.5387, allocations: 152.5 kB / 478.6 MB, free: 14.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.5389, allocations: 121.8 kB / 478.7 MB, free: 14.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.539, allocations: 10.41 kB / 478.7 MB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.5412, allocations: 1.585 MB / 480.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.309e-05/0.5413, allocations: 76.48 kB / 480.4 MB, free: 14.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.5415, allocations: 103 kB / 480.5 MB, free: 14.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.5427, allocations: 1.075 MB / 481.6 MB, free: 13.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.5427, allocations: 1.812 kB / 481.6 MB, free: 13.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.5427, allocations: 7.938 kB / 481.6 MB, free: 13.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.5427, allocations: 0 / 481.6 MB, free: 13.96 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.000928/0.5437, allocations: 0.5386 MB / 482.1 MB, free: 13.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.5437, allocations: 10.62 kB / 482.1 MB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003709/0.5474, allocations: 388.1 kB / 482.5 MB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.5478, allocations: 264.7 kB / 482.8 MB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.5479, allocations: 15.75 kB / 482.8 MB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.133e-05/0.5479, allocations: 23.59 kB / 482.8 MB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009553/0.5489, allocations: 488.6 kB / 483.3 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5489, allocations: 0 / 483.3 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.507e-05/0.549, allocations: 9.438 kB / 483.3 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.549, allocations: 11.44 kB / 483.3 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009683/0.55, allocations: 0.5107 MB / 483.8 MB, free: 13.23 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.002164/0.5522, allocations: 0.9899 MB / 484.8 MB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.5527, allocations: 296 kB / 485.1 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.553, allocations: 158.5 kB / 485.3 MB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/0.5547, allocations: 0.89 MB / 486.1 MB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.5548, allocations: 36.91 kB / 486.2 MB, free: 11.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.924e-06/0.5548, allocations: 0 / 486.2 MB, free: 11.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008655/0.5556, allocations: 406.9 kB / 486.6 MB, free: 11.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.5557, allocations: 80.05 kB / 486.7 MB, free: 11.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.5558, allocations: 115.4 kB / 486.8 MB, free: 11.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.5558, allocations: 31.39 kB / 486.8 MB, free: 11.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.5559, allocations: 113.8 kB / 486.9 MB, free: 11.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.906e-05/0.556, allocations: 107.6 kB / 487 MB, free: 11.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.5561, allocations: 60.3 kB / 487.1 MB, free: 11.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5562, allocations: 330.7 kB / 487.4 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.5564, allocations: 113.7 kB / 487.5 MB, free: 11.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.5567, allocations: 206.8 kB / 487.7 MB, free: 11.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.5572, allocations: 338.2 kB / 488 MB, free: 10.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5572, allocations: 3 kB / 488 MB, free: 10.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006412/0.5578, allocations: 382.8 kB / 488.4 MB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.5579, allocations: 5.438 kB / 488.4 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5579, allocations: 6.656 kB / 488.4 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5579, allocations: 3.219 kB / 488.4 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.5583, allocations: 77.66 kB / 488.5 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.5583, allocations: 8.359 kB / 488.5 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.5587, allocations: 42.11 kB / 488.6 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.5587, allocations: 13.42 kB / 488.6 MB, free: 10.8 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.0001376/0.5589, allocations: 144.1 kB / 488.7 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.944e-05/0.559, allocations: 15.5 kB / 488.7 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007471/0.5597, allocations: 376.9 kB / 489.1 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5597, allocations: 9.281 kB / 489.1 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.5597, allocations: 4.172 kB / 489.1 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.5598, allocations: 0 / 489.1 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.5603, allocations: 368.7 kB / 489.5 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5603, allocations: 3.781 kB / 489.5 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.5607, allocations: 60.48 kB / 489.5 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5607, allocations: 1.781 kB / 489.5 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.5608, allocations: 11.53 kB / 489.5 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5608, allocations: 2.312 kB / 489.5 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5608, allocations: 0 / 489.5 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008315/0.5616, allocations: 0.5542 MB / 490.1 MB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.5617, allocations: 92.17 kB / 490.2 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.5617, allocations: 6 kB / 490.2 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.5621, allocations: 16.11 kB / 490.2 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.5622, allocations: 24.59 kB / 490.2 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.5622, allocations: 17.53 kB / 490.3 MB, free: 10.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.581e-05/0.5623, allocations: 88.28 kB / 490.3 MB, free: 9.973 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5623, allocations: 0 / 490.3 MB, free: 9.973 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008274/0.5631, allocations: 229.7 kB / 490.6 MB, free: 9.938 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.001053/0.5642, allocations: 442.6 kB / 491 MB, free: 9.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005864/0.5648, allocations: 311.2 kB / 491.3 MB, free: 9.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5648, allocations: 0 / 491.3 MB, free: 9.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.5651, allocations: 149.3 kB / 491.4 MB, free: 9.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.5657, allocations: 79.62 kB / 491.5 MB, free: 9.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.5669, allocations: 0.8017 MB / 492.3 MB, free: 9.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.5672, allocations: 0.7369 MB / 493.1 MB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004968/0.5677, allocations: 85.42 kB / 493.1 MB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.5678, allocations: 32.48 kB / 493.2 MB, free: 8.441 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5678, allocations: 0 / 493.2 MB, free: 8.441 MB / 398.1 MB Notification: Performance of Templates: time 0.01213/0.58, allocations: 8.42 MB / 0.4898 GB, free: 4.871 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)