Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001345/0.001345, allocations: 111.8 kB / 16.63 MB, free: 6.953 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.001488/0.001488, allocations: 193.8 kB / 17.55 MB, free: 6.043 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.313/1.313, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.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.001148/0.001148, allocations: 51.92 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08113/0.08229, allocations: 46.62 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3264/0.4087, allocations: 149.1 MB / 475.2 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.4121, allocations: 3.042 MB / 478.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.888e-05/0.4122, allocations: 0 / 478.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.4126, allocations: 51.77 kB / 478.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.4146, allocations: 0.9353 MB / 479.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.4151, allocations: 188.4 kB / 479.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.4154, allocations: 350.7 kB / 479.7 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/0.4155, allocations: 17.08 kB / 479.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.4158, allocations: 151.5 kB / 479.9 MB, free: 13.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.4159, allocations: 111.6 kB / 480 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.416, allocations: 12 kB / 480 MB, free: 13.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.4183, allocations: 1.594 MB / 481.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.4184, allocations: 75.77 kB / 481.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.4186, allocations: 103.7 kB / 481.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.4198, allocations: 1.076 MB / 482.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.4199, allocations: 0 / 482.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4199, allocations: 0 / 482.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.4199, allocations: 0 / 482.9 MB, free: 10.75 MB / 382.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.0008671/0.4208, allocations: 0.5429 MB / 483.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4208, allocations: 11.97 kB / 483.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003749/0.4246, allocations: 388.7 kB / 483.8 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.4249, allocations: 260 kB / 484.1 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.4249, allocations: 8.938 kB / 484.1 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.961e-05/0.425, allocations: 27.94 kB / 484.1 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009737/0.426, allocations: 489.3 kB / 484.6 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.426, allocations: 0 / 484.6 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.056e-05/0.4261, allocations: 12 kB / 484.6 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.4261, allocations: 4 kB / 484.6 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.4271, allocations: 0.5113 MB / 485.1 MB, free: 8.422 MB / 382.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.002165/0.4293, allocations: 0.9891 MB / 486.1 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.4299, allocations: 301 kB / 486.4 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.4301, allocations: 157.6 kB / 486.5 MB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001698/0.4319, allocations: 0.893 MB / 487.4 MB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.4319, allocations: 42.56 kB / 487.5 MB, free: 5.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.4319, allocations: 0 / 487.5 MB, free: 5.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009329/0.4328, allocations: 402.6 kB / 487.9 MB, free: 5.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.4329, allocations: 85.09 kB / 488 MB, free: 5.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.433, allocations: 109.8 kB / 488.1 MB, free: 5.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.4331, allocations: 29.7 kB / 488.1 MB, free: 5.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.4331, allocations: 108.4 kB / 488.2 MB, free: 5.051 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.869e-05/0.4332, allocations: 114.4 kB / 488.3 MB, free: 4.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.4334, allocations: 62.02 kB / 488.4 MB, free: 4.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4335, allocations: 326.8 kB / 488.7 MB, free: 4.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.4337, allocations: 116.6 kB / 488.8 MB, free: 4.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.434, allocations: 203.4 kB / 489 MB, free: 4.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.4346, allocations: 343.7 kB / 489.3 MB, free: 3.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4346, allocations: 0 / 489.3 MB, free: 3.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007146/0.4353, allocations: 392 kB / 489.7 MB, free: 3.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4353, allocations: 4 kB / 489.7 MB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.4354, allocations: 4 kB / 489.7 MB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4354, allocations: 4 kB / 489.7 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.4358, allocations: 75.89 kB / 489.8 MB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.4358, allocations: 4.312 kB / 489.8 MB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.4361, allocations: 39.67 kB / 489.8 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.4362, allocations: 23.98 kB / 489.9 MB, free: 3.285 MB / 382.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.0001483/0.4364, allocations: 133.8 kB / 490 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.4365, allocations: 16.72 kB / 490 MB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007871/0.4373, allocations: 376.8 kB / 490.4 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.4373, allocations: 0 / 490.4 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.4373, allocations: 7.938 kB / 490.4 MB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.4373, allocations: 3.984 kB / 490.4 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005652/0.4379, allocations: 372.5 kB / 490.8 MB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4379, allocations: 0 / 490.8 MB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/0.4383, allocations: 60.52 kB / 490.8 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4383, allocations: 0 / 490.8 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.4384, allocations: 8 kB / 490.8 MB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4384, allocations: 8 kB / 490.8 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4384, allocations: 7.484 kB / 490.8 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008505/0.4392, allocations: 0.5453 MB / 491.4 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.4393, allocations: 96.88 kB / 491.5 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.4393, allocations: 8.062 kB / 491.5 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.4398, allocations: 19.98 kB / 491.5 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.4398, allocations: 23.95 kB / 491.5 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.4399, allocations: 19.98 kB / 491.6 MB, free: 1.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.339e-05/0.4399, allocations: 83.28 kB / 491.6 MB, free: 1.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4399, allocations: 0 / 491.6 MB, free: 1.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008379/0.4408, allocations: 231.7 kB / 491.9 MB, free: 1.203 MB / 382.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.001117/0.4419, allocations: 430.7 kB / 492.3 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006156/0.4425, allocations: 308.2 kB / 492.6 MB, free: 480 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4425, allocations: 4.125 kB / 492.6 MB, free: 476 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.4428, allocations: 143.8 kB / 492.7 MB, free: 332 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.4434, allocations: 85.75 kB / 492.8 MB, free: 248 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.4447, allocations: 0.8036 MB / 493.6 MB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.445, allocations: 0.7285 MB / 494.3 MB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005012/0.4455, allocations: 93.73 kB / 494.4 MB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.4456, allocations: 31.44 kB / 494.5 MB, free: 14.54 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4456, allocations: 0 / 494.5 MB, free: 14.54 MB / 398.1 MB Notification: Performance of Templates: time 0.01325/0.4589, allocations: 8.427 MB / 0.4911 GB, free: 6.113 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1)