Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001091/0.001092, allocations: 192 kB / 18 MB, free: 4.977 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.321/1.321, allocations: 205.1 MB / 223.9 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.001201/0.001201, allocations: 47.94 kB / 327.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08756/0.08877, allocations: 46.62 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3516/0.4404, allocations: 150.9 MB / 0.513 GB, free: 8.289 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.4421, allocations: 1.486 MB / 0.5145 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.4422, allocations: 7.938 kB / 0.5145 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.4426, allocations: 51.72 kB / 0.5145 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008518/0.4434, allocations: 386.2 kB / 0.5149 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.4439, allocations: 175.9 kB / 0.5151 GB, free: 6.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.4442, allocations: 179.3 kB / 0.5152 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.4442, allocations: 8 kB / 0.5152 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.4444, allocations: 79.62 kB / 0.5153 GB, free: 5.934 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.4445, allocations: 59.81 kB / 0.5154 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.4446, allocations: 8 kB / 0.5154 GB, free: 5.867 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.4456, allocations: 0.573 MB / 0.5159 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.4457, allocations: 31.89 kB / 0.516 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.705e-05/0.4458, allocations: 47.8 kB / 0.516 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005824/0.4464, allocations: 396.4 kB / 0.5164 GB, free: 4.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.4464, allocations: 0 / 0.5164 GB, free: 4.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.4464, allocations: 0 / 0.5164 GB, free: 4.832 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.4464, allocations: 3.938 kB / 0.5164 GB, free: 4.828 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005612/0.447, allocations: 424.1 kB / 0.5168 GB, free: 4.367 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.447, allocations: 11.97 kB / 0.5168 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002366/0.4494, allocations: 188.6 kB / 0.517 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.4497, allocations: 216.1 kB / 0.5172 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.4497, allocations: 8.312 kB / 0.5172 GB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.4497, allocations: 15.98 kB / 0.5172 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.4503, allocations: 201.5 kB / 0.5174 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4503, allocations: 4 kB / 0.5174 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.4503, allocations: 4 kB / 0.5174 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.4503, allocations: 3.938 kB / 0.5174 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005971/0.4509, allocations: 243.8 kB / 0.5177 GB, free: 3.445 MB / 446.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.001741/0.4527, allocations: 0.6763 MB / 0.5183 GB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.4532, allocations: 186.4 kB / 0.5185 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.4534, allocations: 92.81 kB / 0.5186 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.4536, allocations: 93.09 kB / 0.5187 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.4536, allocations: 34.56 kB / 0.5187 GB, free: 2.273 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.4536, allocations: 0 / 0.5187 GB, free: 2.273 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005972/0.4596, allocations: 1.527 MB / 0.5202 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.4596, allocations: 59.41 kB / 0.5203 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.813e-05/0.4597, allocations: 113.8 kB / 0.5204 GB, free: 456 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.4598, allocations: 29.7 kB / 0.5204 GB, free: 420 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.4598, allocations: 92.41 kB / 0.5205 GB, free: 324 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/0.4599, allocations: 74.94 kB / 0.5206 GB, free: 248 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.961e-05/0.46, allocations: 45.7 kB / 0.5206 GB, free: 196 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4601, allocations: 318.8 kB / 0.5209 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.4603, allocations: 87.95 kB / 0.521 GB, free: 15.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.4606, allocations: 127.2 kB / 0.5211 GB, free: 15.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/0.4611, allocations: 231.2 kB / 0.5213 GB, free: 15.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4611, allocations: 0 / 0.5213 GB, free: 15.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006282/0.4617, allocations: 290.2 kB / 0.5216 GB, free: 15.12 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.4617, allocations: 4 kB / 0.5216 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4617, allocations: 4 kB / 0.5216 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.4619, allocations: 24.84 kB / 0.5216 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.4624, allocations: 61.7 kB / 0.5217 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003243/0.4627, allocations: 0.5368 MB / 0.5222 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.463, allocations: 7.984 kB / 0.5222 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.4631, allocations: 8 kB / 0.5222 GB, free: 14.45 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.4632, allocations: 141.6 kB / 0.5224 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.4633, allocations: 11.84 kB / 0.5224 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007216/0.464, allocations: 311.3 kB / 0.5227 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.464, allocations: 3.984 kB / 0.5227 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.464, allocations: 7.938 kB / 0.5227 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.464, allocations: 0 / 0.5227 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.4651, allocations: 0.6673 MB / 0.5233 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4651, allocations: 3.938 kB / 0.5233 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/0.4656, allocations: 51.95 kB / 0.5234 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-05/0.4657, allocations: 20.84 kB / 0.5234 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.4657, allocations: 12.08 kB / 0.5234 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008325/0.4666, allocations: 1.369 MB / 0.5248 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4666, allocations: 3.938 kB / 0.5248 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000823/0.4674, allocations: 450.8 kB / 0.5252 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.4675, allocations: 88.98 kB / 0.5253 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.4675, allocations: 4 kB / 0.5253 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.4679, allocations: 11.98 kB / 0.5253 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.4679, allocations: 15.98 kB / 0.5253 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.4679, allocations: 7.984 kB / 0.5253 GB, free: 11.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.64e-05/0.468, allocations: 87.28 kB / 0.5254 GB, free: 10.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.034e-06/0.468, allocations: 4.062 kB / 0.5254 GB, free: 10.92 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000547/0.4686, allocations: 135.9 kB / 0.5255 GB, free: 10.79 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006224/0.4692, allocations: 251.9 kB / 0.5258 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006638/0.4699, allocations: 243.5 kB / 0.526 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4699, allocations: 0 / 0.526 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.4703, allocations: 231 kB / 0.5262 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.4707, allocations: 53.36 kB / 0.5263 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008287/0.4716, allocations: 483.8 kB / 0.5267 GB, free: 9.504 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.4718, allocations: 0.7085 MB / 0.5274 GB, free: 8.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002793/0.4721, allocations: 57.33 kB / 0.5275 GB, free: 8.711 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.4722, allocations: 27.42 kB / 0.5275 GB, free: 8.688 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4722, allocations: 0 / 0.5275 GB, free: 8.688 MB / 462.1 MB Notification: Performance of Templates: time 0.01001/0.4823, allocations: 6.261 MB / 0.5336 GB, free: 2.418 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)