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.006499/0.006499, allocations: 101.5 kB / 15.73 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.001398/0.001398, allocations: 196.5 kB / 16.68 MB, free: 5.938 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.351/1.351, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.001257/0.001257, allocations: 57.86 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08579/0.08706, allocations: 46.61 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3454/0.4325, allocations: 151.2 MB / 0.5121 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003491/0.436, allocations: 3.039 MB / 0.515 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.4361, allocations: 0 / 0.515 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.4366, allocations: 67.23 kB / 0.5151 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.4391, allocations: 1.008 MB / 0.5161 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.4395, allocations: 200.4 kB / 0.5163 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.4399, allocations: 348.2 kB / 0.5166 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.4399, allocations: 8.562 kB / 0.5166 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.4402, allocations: 149.1 kB / 0.5167 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.4404, allocations: 113.1 kB / 0.5169 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.4404, allocations: 16.47 kB / 0.5169 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.4429, allocations: 1.461 MB / 0.5183 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.736e-05/0.443, allocations: 77.25 kB / 0.5184 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.4432, allocations: 111.8 kB / 0.5185 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.4445, allocations: 0.9838 MB / 0.5194 GB, free: 228 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4445, allocations: 0 / 0.5194 GB, free: 228 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4446, allocations: 0 / 0.5194 GB, free: 228 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.4446, allocations: 6.688 kB / 0.5194 GB, free: 224 kB / 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.0008643/0.4454, allocations: 0.5354 MB / 0.52 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.4455, allocations: 7.094 kB / 0.52 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.4469, allocations: 196.8 kB / 0.5202 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.4473, allocations: 251.2 kB / 0.5204 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.4473, allocations: 16.62 kB / 0.5204 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.4474, allocations: 32.05 kB / 0.5204 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005464/0.4479, allocations: 376.9 kB / 0.5208 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4479, allocations: 0 / 0.5208 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/0.448, allocations: 11.56 kB / 0.5208 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.448, allocations: 4.938 kB / 0.5208 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005191/0.4485, allocations: 409.5 kB / 0.5212 GB, free: 14.96 MB / 414.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.001576/0.4501, allocations: 0.8148 MB / 0.522 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/0.4505, allocations: 224.8 kB / 0.5222 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.4507, allocations: 121.5 kB / 0.5223 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001719/0.4524, allocations: 0.897 MB / 0.5232 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.4525, allocations: 46.12 kB / 0.5233 GB, free: 12.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.4525, allocations: 0 / 0.5233 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=29): time 0.001219/0.4537, allocations: 367 kB / 0.5236 GB, free: 12.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.4538, allocations: 81.11 kB / 0.5237 GB, free: 12.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.846e-05/0.4539, allocations: 116.5 kB / 0.5238 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.4539, allocations: 29.7 kB / 0.5238 GB, free: 12.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.454, allocations: 108.4 kB / 0.5239 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.823e-05/0.4541, allocations: 106.5 kB / 0.524 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.8e-05/0.4542, allocations: 65.92 kB / 0.5241 GB, free: 12.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4543, allocations: 330.8 kB / 0.5244 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.4545, allocations: 100.6 kB / 0.5245 GB, free: 11.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.4547, allocations: 179.5 kB / 0.5247 GB, free: 11.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.4552, allocations: 298.8 kB / 0.525 GB, free: 11.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.4552, allocations: 3.984 kB / 0.525 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006043/0.4558, allocations: 353.7 kB / 0.5253 GB, free: 10.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4559, allocations: 9.094 kB / 0.5253 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4559, allocations: 4 kB / 0.5253 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4559, allocations: 4 kB / 0.5253 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.4562, allocations: 67.91 kB / 0.5254 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.4563, allocations: 11.92 kB / 0.5254 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.4565, allocations: 35.67 kB / 0.5254 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.4565, allocations: 12 kB / 0.5254 GB, free: 10.56 MB / 414.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.0001341/0.4567, allocations: 145.9 kB / 0.5256 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.4568, allocations: 19.75 kB / 0.5256 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006494/0.4574, allocations: 318.2 kB / 0.5259 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4575, allocations: 4 kB / 0.5259 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4575, allocations: 0 / 0.5259 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4575, allocations: 3.984 kB / 0.5259 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/0.458, allocations: 323 kB / 0.5262 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.458, allocations: 4 kB / 0.5262 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.4584, allocations: 55.91 kB / 0.5263 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.4584, allocations: 4 kB / 0.5263 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.4584, allocations: 11.98 kB / 0.5263 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4584, allocations: 4 kB / 0.5263 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4585, allocations: 3.938 kB / 0.5263 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000757/0.4592, allocations: 0.5028 MB / 0.5268 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.4593, allocations: 92.95 kB / 0.5269 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.4593, allocations: 4.062 kB / 0.5269 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.4597, allocations: 20.61 kB / 0.5269 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.4597, allocations: 19.97 kB / 0.5269 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.4598, allocations: 19.98 kB / 0.5269 GB, free: 8.922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.588e-05/0.4598, allocations: 84.75 kB / 0.527 GB, free: 8.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4598, allocations: 4 kB / 0.527 GB, free: 8.836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007923/0.4606, allocations: 231.7 kB / 0.5272 GB, free: 8.609 MB / 414.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.0009651/0.4616, allocations: 426.7 kB / 0.5276 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005059/0.4621, allocations: 260.5 kB / 0.5279 GB, free: 7.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4621, allocations: 0 / 0.5279 GB, free: 7.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.4623, allocations: 128.4 kB / 0.528 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006674/0.463, allocations: 87.84 kB / 0.5281 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.4641, allocations: 0.7134 MB / 0.5288 GB, free: 6.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.4644, allocations: 0.7361 MB / 0.5295 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002959/0.4647, allocations: 73.83 kB / 0.5296 GB, free: 6.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.4648, allocations: 31.42 kB / 0.5296 GB, free: 6.117 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4648, allocations: 4 kB / 0.5296 GB, free: 6.113 MB / 414.1 MB Notification: Performance of Templates: time 0.01279/0.4776, allocations: 8.346 MB / 0.5378 GB, free: 13.75 MB / 430.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)