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.007577/0.007577, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001764/0.001764, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.328/1.328, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001273/0.001273, allocations: 55.92 kB / 326.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07865/0.07993, allocations: 46.62 MB / 373.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3168/0.3967, allocations: 151.2 MB / 0.5121 GB, free: 7.957 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003305/0.4001, allocations: 3.043 MB / 0.515 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.4002, allocations: 0 / 0.515 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.4006, allocations: 59.64 kB / 0.5151 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002027/0.4026, allocations: 1.021 MB / 0.5161 GB, free: 3.828 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.4031, allocations: 201.6 kB / 0.5163 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000362/0.4034, allocations: 350.7 kB / 0.5166 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.4035, allocations: 9.078 kB / 0.5166 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.4037, allocations: 155.4 kB / 0.5168 GB, free: 3.129 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.4039, allocations: 111.6 kB / 0.5169 GB, free: 3.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.4039, allocations: 12 kB / 0.5169 GB, free: 3.008 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.4063, allocations: 1.468 MB / 0.5183 GB, free: 1.539 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.4065, allocations: 75.77 kB / 0.5184 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.4066, allocations: 103.6 kB / 0.5185 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.4078, allocations: 0.9861 MB / 0.5194 GB, free: 384 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4078, allocations: 4 kB / 0.5195 GB, free: 380 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4078, allocations: 4 kB / 0.5195 GB, free: 376 kB / 446.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.4078, allocations: 0 / 0.5195 GB, free: 376 kB / 446.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.0008142/0.4087, allocations: 0.5351 MB / 0.52 GB, free: 15.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.4087, allocations: 8.031 kB / 0.52 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.4101, allocations: 208.5 kB / 0.5202 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.4104, allocations: 248.1 kB / 0.5204 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.4105, allocations: 16.94 kB / 0.5204 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.4106, allocations: 23.84 kB / 0.5205 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006033/0.4112, allocations: 373.5 kB / 0.5208 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4112, allocations: 4 kB / 0.5208 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.4112, allocations: 4 kB / 0.5208 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4113, allocations: 8 kB / 0.5208 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005611/0.4118, allocations: 419.6 kB / 0.5212 GB, free: 14.45 MB / 462.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.001695/0.4135, allocations: 0.82 MB / 0.522 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.4139, allocations: 209.1 kB / 0.5222 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.4141, allocations: 129.5 kB / 0.5224 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001793/0.4159, allocations: 0.8892 MB / 0.5232 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.416, allocations: 42.56 kB / 0.5233 GB, free: 12.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.873e-06/0.416, allocations: 0 / 0.5233 GB, free: 12.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001261/0.4172, allocations: 361.6 kB / 0.5236 GB, free: 11.78 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.4173, allocations: 81.36 kB / 0.5237 GB, free: 11.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.4174, allocations: 116.6 kB / 0.5238 GB, free: 11.56 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.4175, allocations: 33.7 kB / 0.5238 GB, free: 11.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.4175, allocations: 112.4 kB / 0.5239 GB, free: 11.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.71e-05/0.4176, allocations: 114.5 kB / 0.524 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.4177, allocations: 61.94 kB / 0.5241 GB, free: 11.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4179, allocations: 326.8 kB / 0.5244 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.4181, allocations: 96.59 kB / 0.5245 GB, free: 10.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.4183, allocations: 187.4 kB / 0.5247 GB, free: 10.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.4188, allocations: 300.9 kB / 0.525 GB, free: 10.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.4188, allocations: 4 kB / 0.525 GB, free: 10.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006421/0.4195, allocations: 341.1 kB / 0.5253 GB, free: 9.914 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4195, allocations: 4 kB / 0.5253 GB, free: 9.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.4195, allocations: 4 kB / 0.5253 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.4196, allocations: 4 kB / 0.5253 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.4199, allocations: 79.83 kB / 0.5254 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.42, allocations: 4 kB / 0.5254 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.4202, allocations: 28 kB / 0.5254 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.4203, allocations: 20 kB / 0.5254 GB, free: 9.773 MB / 462.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.0001399/0.4204, allocations: 145.7 kB / 0.5256 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.4205, allocations: 23.75 kB / 0.5256 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006498/0.4212, allocations: 318.9 kB / 0.5259 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.4212, allocations: 4.875 kB / 0.5259 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4212, allocations: 0 / 0.5259 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4212, allocations: 3.984 kB / 0.5259 GB, free: 9.262 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.4218, allocations: 327 kB / 0.5262 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4218, allocations: 0 / 0.5262 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.4222, allocations: 55.91 kB / 0.5263 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.257e-06/0.4222, allocations: 6.875 kB / 0.5263 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.4222, allocations: 15.98 kB / 0.5263 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4222, allocations: 0 / 0.5263 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4222, allocations: 4 kB / 0.5263 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007482/0.423, allocations: 0.5036 MB / 0.5268 GB, free: 8.305 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.423, allocations: 88.95 kB / 0.5269 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.4231, allocations: 12.06 kB / 0.5269 GB, free: 8.188 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.4234, allocations: 11.98 kB / 0.5269 GB, free: 8.176 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.4235, allocations: 19.97 kB / 0.5269 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.4235, allocations: 15.98 kB / 0.5269 GB, free: 8.141 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.902e-05/0.4236, allocations: 88.53 kB / 0.527 GB, free: 8.055 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4236, allocations: 0 / 0.527 GB, free: 8.055 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009233/0.4245, allocations: 235.6 kB / 0.5272 GB, free: 7.824 MB / 462.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.001244/0.4258, allocations: 434.6 kB / 0.5277 GB, free: 7.391 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000574/0.4264, allocations: 256.3 kB / 0.5279 GB, free: 7.141 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4264, allocations: 0 / 0.5279 GB, free: 7.141 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.4266, allocations: 132.2 kB / 0.528 GB, free: 7.012 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000697/0.4274, allocations: 88.27 kB / 0.5281 GB, free: 6.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.4286, allocations: 0.7148 MB / 0.5288 GB, free: 6.191 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.4289, allocations: 0.7361 MB / 0.5295 GB, free: 5.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003167/0.4292, allocations: 73.81 kB / 0.5296 GB, free: 5.355 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.4293, allocations: 31.44 kB / 0.5296 GB, free: 5.324 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4293, allocations: 0 / 0.5296 GB, free: 5.324 MB / 462.1 MB Notification: Performance of Templates: time 0.01348/0.4428, allocations: 8.352 MB / 0.5378 GB, free: 12.96 MB / 478.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)