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.001113/0.001113, allocations: 102.2 kB / 17.06 MB, free: 6.016 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.001113/0.001114, allocations: 195 kB / 18 MB, free: 5.094 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.364/1.364, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.001252/0.001252, allocations: 52.41 kB / 327.9 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08611/0.08738, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3744/0.4619, allocations: 151.2 MB / 0.5133 GB, free: 7.973 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003713/0.4656, allocations: 3.042 MB / 0.5163 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.024e-05/0.4657, allocations: 0 / 0.5163 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.4662, allocations: 55.66 kB / 0.5164 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.4684, allocations: 1.017 MB / 0.5174 GB, free: 3.852 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.4689, allocations: 193.6 kB / 0.5175 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.4693, allocations: 350.7 kB / 0.5179 GB, free: 3.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.4693, allocations: 13.08 kB / 0.5179 GB, free: 3.309 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000291/0.4696, allocations: 155.4 kB / 0.518 GB, free: 3.156 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.4698, allocations: 107.6 kB / 0.5181 GB, free: 3.051 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.4699, allocations: 12 kB / 0.5182 GB, free: 3.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.4724, allocations: 1.457 MB / 0.5196 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.691e-05/0.4725, allocations: 91.7 kB / 0.5197 GB, free: 1.492 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.4726, allocations: 99.64 kB / 0.5198 GB, free: 1.395 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.474, allocations: 0.9861 MB / 0.5207 GB, free: 416 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.474, allocations: 0 / 0.5207 GB, free: 416 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.474, allocations: 0 / 0.5207 GB, free: 416 kB / 446.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.474, allocations: 0 / 0.5207 GB, free: 416 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.0008342/0.4749, allocations: 0.5468 MB / 0.5213 GB, free: 15.81 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.4749, allocations: 12.03 kB / 0.5213 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.4763, allocations: 192.5 kB / 0.5215 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.4766, allocations: 252.1 kB / 0.5217 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.4767, allocations: 12.94 kB / 0.5217 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.4767, allocations: 27.84 kB / 0.5217 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006965/0.4774, allocations: 385.4 kB / 0.5221 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4774, allocations: 0 / 0.5221 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/0.4775, allocations: 12 kB / 0.5221 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4775, allocations: 4 kB / 0.5221 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005839/0.4781, allocations: 411.6 kB / 0.5225 GB, free: 14.48 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.001641/0.4797, allocations: 0.8123 MB / 0.5233 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.4801, allocations: 225 kB / 0.5235 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.4803, allocations: 125.6 kB / 0.5236 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/0.4821, allocations: 0.8931 MB / 0.5245 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.4821, allocations: 42.5 kB / 0.5245 GB, free: 12.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.523e-06/0.4821, allocations: 0 / 0.5245 GB, free: 12.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001197/0.4833, allocations: 358.4 kB / 0.5249 GB, free: 11.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.4834, allocations: 81.36 kB / 0.525 GB, free: 11.71 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/0.4835, allocations: 121.8 kB / 0.5251 GB, free: 11.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.4835, allocations: 29.7 kB / 0.5251 GB, free: 11.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.4836, allocations: 108.4 kB / 0.5252 GB, free: 11.43 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.794e-05/0.4837, allocations: 110.5 kB / 0.5253 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.4838, allocations: 65.94 kB / 0.5254 GB, free: 11.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4839, allocations: 322.8 kB / 0.5257 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.4841, allocations: 96.61 kB / 0.5258 GB, free: 10.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.4844, allocations: 187.5 kB / 0.526 GB, free: 10.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/0.4848, allocations: 307.3 kB / 0.5263 GB, free: 10.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4849, allocations: 0 / 0.5263 GB, free: 10.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006241/0.4855, allocations: 333.8 kB / 0.5266 GB, free: 9.949 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4855, allocations: 8 kB / 0.5266 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4855, allocations: 4 kB / 0.5266 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4855, allocations: 8.297 kB / 0.5266 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.4859, allocations: 80.72 kB / 0.5267 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4859, allocations: 4 kB / 0.5267 GB, free: 9.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.4862, allocations: 27.69 kB / 0.5267 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.4862, allocations: 19.98 kB / 0.5267 GB, free: 9.801 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.0001245/0.4863, allocations: 137.7 kB / 0.5268 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4864, allocations: 23.73 kB / 0.5269 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006771/0.4871, allocations: 324.3 kB / 0.5272 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.4872, allocations: 7.984 kB / 0.5272 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4872, allocations: 3 kB / 0.5272 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.4872, allocations: 4 kB / 0.5272 GB, free: 9.289 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/0.4877, allocations: 327 kB / 0.5275 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4877, allocations: 4 kB / 0.5275 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/0.4881, allocations: 55.91 kB / 0.5276 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.4881, allocations: 7.938 kB / 0.5276 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.4881, allocations: 8 kB / 0.5276 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4881, allocations: 0 / 0.5276 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4881, allocations: 0 / 0.5276 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007423/0.4889, allocations: 0.5069 MB / 0.5281 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.489, allocations: 97.02 kB / 0.5282 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.489, allocations: 7.984 kB / 0.5282 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.4893, allocations: 12 kB / 0.5282 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.4894, allocations: 15.97 kB / 0.5282 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.4894, allocations: 19.98 kB / 0.5282 GB, free: 8.164 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.29e-05/0.4895, allocations: 92.67 kB / 0.5283 GB, free: 8.074 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4895, allocations: 4 kB / 0.5283 GB, free: 8.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008045/0.4903, allocations: 227.7 kB / 0.5285 GB, free: 7.848 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.000973/0.4913, allocations: 422.7 kB / 0.5289 GB, free: 7.426 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005055/0.4918, allocations: 264.4 kB / 0.5292 GB, free: 7.168 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4918, allocations: 0 / 0.5292 GB, free: 7.168 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.492, allocations: 128.1 kB / 0.5293 GB, free: 7.043 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006561/0.4927, allocations: 91.67 kB / 0.5294 GB, free: 6.961 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.4939, allocations: 0.7211 MB / 0.5301 GB, free: 6.219 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.4942, allocations: 0.7361 MB / 0.5308 GB, free: 5.457 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000307/0.4945, allocations: 73.83 kB / 0.5309 GB, free: 5.383 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.585e-05/0.4946, allocations: 31.44 kB / 0.5309 GB, free: 5.352 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4946, allocations: 0 / 0.5309 GB, free: 5.352 MB / 462.1 MB Notification: Performance of Templates: time 0.01374/0.5083, allocations: 8.396 MB / 0.5391 GB, free: 12.94 MB / 478.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)