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.001093/0.001093, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 198 kB / 16.54 MB, free: 6.672 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.428/1.428, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.001273/0.001273, allocations: 51.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2303, allocations: 46.63 MB / 325.3 MB, free: 1.973 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.4213/0.6517, allocations: 150.8 MB / 476.2 MB, free: 14.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.6534, allocations: 1.493 MB / 477.6 MB, free: 14.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.6535, allocations: 2.5 kB / 477.6 MB, free: 14.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.6539, allocations: 49.98 kB / 477.7 MB, free: 14.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009261/0.6548, allocations: 382.7 kB / 478.1 MB, free: 14.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.6553, allocations: 171.7 kB / 478.2 MB, free: 14.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.6556, allocations: 181.9 kB / 478.4 MB, free: 14.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.758e-05/0.6556, allocations: 11.08 kB / 478.4 MB, free: 14.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.6558, allocations: 77.16 kB / 478.5 MB, free: 14.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.6559, allocations: 53.59 kB / 478.6 MB, free: 14.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.656, allocations: 4.906 kB / 478.6 MB, free: 14.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009709/0.6569, allocations: 0.5733 MB / 479.1 MB, free: 14.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.657, allocations: 31.12 kB / 479.2 MB, free: 14.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.234e-05/0.6571, allocations: 52.58 kB / 479.2 MB, free: 14.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005813/0.6577, allocations: 392.9 kB / 479.6 MB, free: 14.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.6577, allocations: 6.188 kB / 479.6 MB, free: 14.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6577, allocations: 0 / 479.6 MB, free: 14.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.6577, allocations: 0 / 479.6 MB, free: 14.25 MB / 398.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.0006383/0.6584, allocations: 423.9 kB / 480 MB, free: 13.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.6584, allocations: 7.656 kB / 480 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.6608, allocations: 203.5 kB / 480.2 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.6611, allocations: 200.4 kB / 480.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.6611, allocations: 10.25 kB / 480.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/0.6611, allocations: 12.45 kB / 480.4 MB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.6616, allocations: 204.5 kB / 480.6 MB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.6616, allocations: 3.938 kB / 480.6 MB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.6617, allocations: 4.766 kB / 480.6 MB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.6617, allocations: 6.891 kB / 480.7 MB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.6623, allocations: 241.4 kB / 480.9 MB, free: 13.59 MB / 398.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.001731/0.664, allocations: 0.6623 MB / 481.6 MB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.6644, allocations: 198.2 kB / 481.7 MB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.6646, allocations: 93.88 kB / 481.8 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.6648, allocations: 89.25 kB / 481.9 MB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.6649, allocations: 33.81 kB / 482 MB, free: 13.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.512e-06/0.6649, allocations: 3.438 kB / 482 MB, free: 13.05 MB / 398.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.005843/0.6707, allocations: 1.535 MB / 483.5 MB, free: 12.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.6708, allocations: 53.56 kB / 483.5 MB, free: 12.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.6709, allocations: 112.1 kB / 483.7 MB, free: 12.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.6709, allocations: 27.73 kB / 483.7 MB, free: 12.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.671, allocations: 101.8 kB / 483.8 MB, free: 12.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.197e-05/0.671, allocations: 67.75 kB / 483.9 MB, free: 12.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.501e-05/0.6711, allocations: 50.86 kB / 483.9 MB, free: 12.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6713, allocations: 321.7 kB / 484.2 MB, free: 11.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.6715, allocations: 98.39 kB / 484.3 MB, free: 11.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.6717, allocations: 119.6 kB / 484.4 MB, free: 11.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.6722, allocations: 227.5 kB / 484.7 MB, free: 11.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.6722, allocations: 0 / 484.7 MB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005657/0.6727, allocations: 287.2 kB / 484.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.6728, allocations: 7.781 kB / 484.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.6728, allocations: 2.719 kB / 484.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.6729, allocations: 29.06 kB / 485 MB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.6734, allocations: 62.11 kB / 485 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003725/0.6738, allocations: 0.5286 MB / 485.6 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.6741, allocations: 10.06 kB / 485.6 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.6741, allocations: 14.97 kB / 485.6 MB, free: 11.07 MB / 398.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.0001463/0.6743, allocations: 132.3 kB / 485.7 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.6744, allocations: 8.969 kB / 485.7 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007637/0.6751, allocations: 317.6 kB / 486 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.6752, allocations: 2.219 kB / 486 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.6752, allocations: 3.938 kB / 486 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.6752, allocations: 2.391 kB / 486 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.6763, allocations: 0.672 MB / 486.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.6763, allocations: 1.781 kB / 486.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/0.6767, allocations: 48.8 kB / 486.8 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.266e-05/0.6768, allocations: 21.23 kB / 486.8 MB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.6769, allocations: 12 kB / 486.8 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009989/0.6779, allocations: 1.362 MB / 488.2 MB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6779, allocations: 3.938 kB / 488.2 MB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008093/0.6787, allocations: 456.6 kB / 488.6 MB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.6788, allocations: 93.89 kB / 488.7 MB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.6788, allocations: 2 kB / 488.7 MB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.6791, allocations: 10.81 kB / 488.7 MB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.6792, allocations: 19.58 kB / 488.7 MB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.6792, allocations: 16.09 kB / 488.7 MB, free: 8.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.105e-05/0.6793, allocations: 88.5 kB / 488.8 MB, free: 8.785 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6793, allocations: 4.062 kB / 488.8 MB, free: 8.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005768/0.6799, allocations: 128.6 kB / 489 MB, free: 8.766 MB / 398.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.0006593/0.6806, allocations: 254.6 kB / 489.2 MB, free: 8.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000602/0.6812, allocations: 236.7 kB / 489.4 MB, free: 8.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6812, allocations: 3.844 kB / 489.4 MB, free: 8.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003829/0.6816, allocations: 236.4 kB / 489.7 MB, free: 8.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.682, allocations: 53.91 kB / 489.7 MB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/0.6829, allocations: 478.5 kB / 490.2 MB, free: 8.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.6832, allocations: 0.7149 MB / 490.9 MB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003987/0.6836, allocations: 61.53 kB / 491 MB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.6837, allocations: 26.3 kB / 491 MB, free: 7.445 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6837, allocations: 0 / 491 MB, free: 7.445 MB / 398.1 MB Notification: Performance of Templates: time 0.01099/0.6947, allocations: 6.241 MB / 497.2 MB, free: 5.387 MB / 398.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)