Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008731/0.008731, allocations: 102 kB / 15.73 MB, free: 6.477 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.001269/0.001269, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.689/1.689, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3536/0.3536, allocations: 38 MB / 307.9 MB, free: 10.01 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 71.84 kB / 433 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3576, allocations: 56.45 MB / 489.4 MB, free: 19.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1852/0.5428, allocations: 150.9 MB / 0.6253 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.5448, allocations: 1.487 MB / 0.6267 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.5449, allocations: 4 kB / 0.6267 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.5453, allocations: 55.66 kB / 0.6268 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009846/0.5464, allocations: 386.2 kB / 0.6272 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.547, allocations: 175 kB / 0.6273 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000261/0.5473, allocations: 179.3 kB / 0.6275 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.5473, allocations: 7.984 kB / 0.6275 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.5475, allocations: 79.62 kB / 0.6276 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.5476, allocations: 55.81 kB / 0.6276 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.5477, allocations: 8 kB / 0.6277 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.5487, allocations: 0.5769 MB / 0.6282 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.351e-05/0.5488, allocations: 31.89 kB / 0.6282 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.278e-05/0.5488, allocations: 51.8 kB / 0.6283 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006511/0.5495, allocations: 385.4 kB / 0.6287 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.732e-05/0.5495, allocations: 0 / 0.6287 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5495, allocations: 3.938 kB / 0.6287 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.5496, allocations: 0 / 0.6287 GB, free: 8.703 MB / 0.4981 GB 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.0005992/0.5502, allocations: 423.4 kB / 0.6291 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5502, allocations: 15.89 kB / 0.6291 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/0.5523, allocations: 197.1 kB / 0.6293 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.5526, allocations: 212.1 kB / 0.6295 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.5526, allocations: 4.125 kB / 0.6295 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.5527, allocations: 12 kB / 0.6295 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.5531, allocations: 209.4 kB / 0.6297 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5532, allocations: 4 kB / 0.6297 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.5532, allocations: 3.984 kB / 0.6297 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5532, allocations: 0 / 0.6297 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.5538, allocations: 247.8 kB / 0.6299 GB, free: 7.312 MB / 0.4981 GB 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.001737/0.5555, allocations: 0.663 MB / 0.6306 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.556, allocations: 182.4 kB / 0.6308 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.5562, allocations: 92.81 kB / 0.6308 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.5564, allocations: 93.09 kB / 0.6309 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.5564, allocations: 38.55 kB / 0.631 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.5564, allocations: 0 / 0.631 GB, free: 6.156 MB / 0.4981 GB 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.005599/0.562, allocations: 1.541 MB / 0.6325 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.5621, allocations: 55.41 kB / 0.6325 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.744e-05/0.5622, allocations: 109.8 kB / 0.6326 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.5623, allocations: 29.7 kB / 0.6327 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.5623, allocations: 96.33 kB / 0.6328 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.5624, allocations: 71.02 kB / 0.6328 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.732e-05/0.5625, allocations: 37.7 kB / 0.6329 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5627, allocations: 326.8 kB / 0.6332 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.5629, allocations: 87.95 kB / 0.6333 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.5631, allocations: 131.2 kB / 0.6334 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/0.5636, allocations: 223.3 kB / 0.6336 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5636, allocations: 3.938 kB / 0.6336 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006232/0.5643, allocations: 290.1 kB / 0.6339 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5643, allocations: 4.094 kB / 0.6339 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.5643, allocations: 15.88 kB / 0.6339 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.5645, allocations: 16.84 kB / 0.6339 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/0.5649, allocations: 59.91 kB / 0.634 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003842/0.5653, allocations: 0.529 MB / 0.6345 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.5656, allocations: 20.11 kB / 0.6345 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.5656, allocations: 8 kB / 0.6345 GB, free: 2.309 MB / 0.4981 GB 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.0001336/0.5658, allocations: 129.7 kB / 0.6346 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.5659, allocations: 7.906 kB / 0.6346 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007438/0.5666, allocations: 320.5 kB / 0.6349 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.5666, allocations: 0 / 0.6349 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5666, allocations: 3.938 kB / 0.6349 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.5666, allocations: 7.984 kB / 0.635 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.5678, allocations: 0.6804 MB / 0.6356 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5678, allocations: 0 / 0.6356 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.5682, allocations: 51.95 kB / 0.6357 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.192e-05/0.5683, allocations: 20.84 kB / 0.6357 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.5684, allocations: 8 kB / 0.6357 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2642/0.8325, allocations: 1.359 MB / 0.637 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.8326, allocations: 3.453 kB / 0.637 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009656/0.8336, allocations: 454.1 kB / 0.6375 GB, free: 144 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.8336, allocations: 89.66 kB / 0.6375 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.8336, allocations: 8.438 kB / 0.6376 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.834, allocations: 6.297 kB / 0.6376 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.834, allocations: 22.11 kB / 0.6376 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.8341, allocations: 14.39 kB / 0.6376 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.623e-05/0.8341, allocations: 90.14 kB / 0.6377 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8341, allocations: 0 / 0.6377 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005839/0.8347, allocations: 131.3 kB / 0.6378 GB, free: 143.9 MB / 0.4981 GB 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.0006552/0.8354, allocations: 257.1 kB / 0.6381 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006469/0.836, allocations: 231.4 kB / 0.6383 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8361, allocations: 1.75 kB / 0.6383 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.8365, allocations: 229.9 kB / 0.6385 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.8369, allocations: 53.3 kB / 0.6385 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009251/0.8378, allocations: 485.8 kB / 0.639 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.838, allocations: 0.7085 MB / 0.6397 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002659/0.8383, allocations: 57.22 kB / 0.6398 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.8384, allocations: 22.64 kB / 0.6398 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of SimCode: time 4.8e-07/0.8384, allocations: 0 / 0.6398 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.01399/0.8524, allocations: 6.225 MB / 0.6459 GB, free: 142.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1)