Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.007389/0.007389, allocations: 103.8 kB / 15.73 MB, free: 6.055 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.001622/0.001622, allocations: 189.1 kB / 16.67 MB, free: 5.984 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.407/1.407, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001992/0.001992, allocations: 56.28 kB / 326.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1053, allocations: 46.62 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3619/0.4672, allocations: 150.8 MB / 0.5117 GB, free: 8.297 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.4692, allocations: 1.5 MB / 0.5132 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.4692, allocations: 0 / 0.5132 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.4697, allocations: 55.66 kB / 0.5132 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009941/0.4707, allocations: 386.2 kB / 0.5136 GB, free: 6.363 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.4713, allocations: 180 kB / 0.5138 GB, free: 6.188 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.4716, allocations: 179.3 kB / 0.514 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.003e-05/0.4717, allocations: 12 kB / 0.514 GB, free: 6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.4719, allocations: 79.69 kB / 0.514 GB, free: 5.922 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.472, allocations: 55.77 kB / 0.5141 GB, free: 5.867 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.472, allocations: 8 kB / 0.5141 GB, free: 5.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.4731, allocations: 0.5729 MB / 0.5147 GB, free: 5.285 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.4732, allocations: 35.84 kB / 0.5147 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.183e-05/0.4732, allocations: 51.78 kB / 0.5147 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006033/0.4738, allocations: 396.3 kB / 0.5151 GB, free: 4.816 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4739, allocations: 0 / 0.5151 GB, free: 4.816 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4739, allocations: 4 kB / 0.5151 GB, free: 4.812 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.4739, allocations: 0 / 0.5151 GB, free: 4.812 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.0005336/0.4744, allocations: 424.1 kB / 0.5155 GB, free: 4.352 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.4745, allocations: 8.031 kB / 0.5155 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.4765, allocations: 192.6 kB / 0.5157 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.4768, allocations: 208.1 kB / 0.5159 GB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4768, allocations: 8.312 kB / 0.5159 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.4768, allocations: 16 kB / 0.5159 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.4773, allocations: 197.5 kB / 0.5161 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4773, allocations: 0 / 0.5161 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.4774, allocations: 8 kB / 0.5161 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.4774, allocations: 0 / 0.5161 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.478, allocations: 247.7 kB / 0.5164 GB, free: 3.441 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.001724/0.4797, allocations: 0.6802 MB / 0.517 GB, free: 2.703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.4802, allocations: 182.5 kB / 0.5172 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.4804, allocations: 96.75 kB / 0.5173 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.4806, allocations: 97.09 kB / 0.5174 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.4806, allocations: 30.56 kB / 0.5174 GB, free: 2.266 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.4806, allocations: 0 / 0.5174 GB, free: 2.266 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.005423/0.486, allocations: 1.534 MB / 0.5189 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.4861, allocations: 55.41 kB / 0.519 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.4862, allocations: 113.8 kB / 0.5191 GB, free: 444 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.4862, allocations: 29.7 kB / 0.5191 GB, free: 408 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.4863, allocations: 92.42 kB / 0.5192 GB, free: 312 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.4863, allocations: 74.94 kB / 0.5193 GB, free: 236 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/0.4864, allocations: 37.7 kB / 0.5193 GB, free: 192 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4866, allocations: 322.8 kB / 0.5196 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.4868, allocations: 87.95 kB / 0.5197 GB, free: 15.78 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.487, allocations: 131.2 kB / 0.5198 GB, free: 15.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.4875, allocations: 227.2 kB / 0.52 GB, free: 15.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4875, allocations: 0 / 0.52 GB, free: 15.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000594/0.4881, allocations: 296.3 kB / 0.5203 GB, free: 15.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.4881, allocations: 4 kB / 0.5203 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.4881, allocations: 4 kB / 0.5203 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.4883, allocations: 20.84 kB / 0.5204 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.4888, allocations: 59.89 kB / 0.5204 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003432/0.4891, allocations: 0.5367 MB / 0.5209 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.4894, allocations: 16.02 kB / 0.521 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.4894, allocations: 4 kB / 0.521 GB, free: 14.43 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.000178/0.4896, allocations: 133.7 kB / 0.5211 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-05/0.4897, allocations: 11.89 kB / 0.5211 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007519/0.4905, allocations: 311.7 kB / 0.5214 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4905, allocations: 0 / 0.5214 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.4905, allocations: 3.938 kB / 0.5214 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.4905, allocations: 11.92 kB / 0.5214 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.4916, allocations: 0.6673 MB / 0.5221 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.4916, allocations: 0 / 0.5221 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.4921, allocations: 55.89 kB / 0.5221 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.721e-05/0.4921, allocations: 20.94 kB / 0.5221 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.4922, allocations: 15.98 kB / 0.5221 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.4932, allocations: 1.368 MB / 0.5235 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4932, allocations: 0 / 0.5235 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007942/0.494, allocations: 446.8 kB / 0.5239 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.4941, allocations: 88.98 kB / 0.524 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.4941, allocations: 4 kB / 0.524 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.4944, allocations: 16.86 kB / 0.524 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.4945, allocations: 11.98 kB / 0.524 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.4945, allocations: 7.984 kB / 0.524 GB, free: 11.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.26e-05/0.4946, allocations: 99.31 kB / 0.5241 GB, free: 10.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4946, allocations: 0 / 0.5241 GB, free: 10.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005644/0.4951, allocations: 131.9 kB / 0.5243 GB, free: 10.78 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.0006492/0.4958, allocations: 254.9 kB / 0.5245 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006272/0.4964, allocations: 239.6 kB / 0.5247 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4964, allocations: 0 / 0.5247 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.4968, allocations: 230.8 kB / 0.5249 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.4973, allocations: 49.7 kB / 0.525 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009709/0.4983, allocations: 491 kB / 0.5255 GB, free: 9.492 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.4986, allocations: 0.7046 MB / 0.5261 GB, free: 8.762 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.4988, allocations: 53.61 kB / 0.5262 GB, free: 8.707 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.499, allocations: 23.44 kB / 0.5262 GB, free: 8.688 MB / 462.1 MB Notification: Performance of SimCode: time 2.6e-07/0.499, allocations: 0 / 0.5262 GB, free: 8.688 MB / 462.1 MB Notification: Performance of Templates: time 0.01061/0.5096, allocations: 6.259 MB / 0.5323 GB, free: 2.422 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)