Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001043/0.001043, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001331/0.001331, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.4 MB / 222.1 MB, free: 5.621 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.000411/0.000411, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.201, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3188/0.5199, allocations: 136.8 MB / 463.3 MB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.5213, allocations: 1.379 MB / 464.7 MB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.119e-05/0.5214, allocations: 3.906 kB / 464.7 MB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.5216, allocations: 32.88 kB / 464.7 MB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006185/0.5223, allocations: 278.8 kB / 465 MB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.5226, allocations: 132.3 kB / 465.1 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.5229, allocations: 211.5 kB / 465.3 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.004e-05/0.5229, allocations: 6.109 kB / 465.3 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.5231, allocations: 70.16 kB / 465.4 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.5232, allocations: 60.34 kB / 465.4 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.5233, allocations: 6.219 kB / 465.4 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008363/0.5241, allocations: 433.5 kB / 465.9 MB, free: 1.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.5242, allocations: 29.41 kB / 465.9 MB, free: 1.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.5242, allocations: 48.08 kB / 465.9 MB, free: 1.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.5246, allocations: 261.4 kB / 466.2 MB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5246, allocations: 2.906 kB / 466.2 MB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5246, allocations: 3.469 kB / 466.2 MB, free: 1.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.5246, allocations: 0 / 466.2 MB, free: 1.836 MB / 382.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.0006136/0.5253, allocations: 395.3 kB / 466.6 MB, free: 17.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.5253, allocations: 9.875 kB / 466.6 MB, free: 17.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.5272, allocations: 195.8 kB / 466.8 MB, free: 17.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.5274, allocations: 211.8 kB / 467 MB, free: 17.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.5274, allocations: 7.938 kB / 467 MB, free: 17.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.5275, allocations: 8.531 kB / 467 MB, free: 17.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.5279, allocations: 202.4 kB / 467.2 MB, free: 17.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5279, allocations: 0 / 467.2 MB, free: 17.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.528, allocations: 4.781 kB / 467.2 MB, free: 17.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.528, allocations: 13.09 kB / 467.2 MB, free: 17.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005114/0.5285, allocations: 234.1 kB / 467.5 MB, free: 17.2 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.001385/0.5299, allocations: 0.6747 MB / 468.1 MB, free: 16.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.5302, allocations: 191.7 kB / 468.3 MB, free: 16.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.5304, allocations: 93.67 kB / 468.4 MB, free: 16.78 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.5306, allocations: 92.31 kB / 468.5 MB, free: 16.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.5306, allocations: 34.12 kB / 468.5 MB, free: 16.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.5306, allocations: 0 / 468.5 MB, free: 16.65 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.004817/0.5354, allocations: 1.534 MB / 470.1 MB, free: 16.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.5355, allocations: 58.09 kB / 470.1 MB, free: 15.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.5356, allocations: 114 kB / 470.2 MB, free: 15.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.5356, allocations: 29.64 kB / 470.3 MB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.5357, allocations: 100.3 kB / 470.4 MB, free: 15.74 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.5357, allocations: 68.94 kB / 470.4 MB, free: 15.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.5358, allocations: 3.688 kB / 470.4 MB, free: 15.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5359, allocations: 323.4 kB / 470.8 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.5361, allocations: 89.73 kB / 470.8 MB, free: 15.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.5363, allocations: 123.3 kB / 471 MB, free: 15.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.5365, allocations: 98.16 kB / 471.1 MB, free: 15.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5365, allocations: 3.031 kB / 471.1 MB, free: 15.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005099/0.537, allocations: 292.9 kB / 471.3 MB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.537, allocations: 6.75 kB / 471.4 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.537, allocations: 3.938 kB / 471.4 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001073/0.5372, allocations: 19.39 kB / 471.4 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.5375, allocations: 59.47 kB / 471.4 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003135/0.5379, allocations: 0.5355 MB / 472 MB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.5381, allocations: 17.31 kB / 472 MB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.5382, allocations: 6.875 kB / 472 MB, free: 14.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.5383, allocations: 125.6 kB / 472.1 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.5383, allocations: 10.17 kB / 472.1 MB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006706/0.539, allocations: 325.3 kB / 472.4 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.539, allocations: 2.844 kB / 472.4 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.539, allocations: 0 / 472.4 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.5391, allocations: 12.17 kB / 472.5 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009298/0.54, allocations: 0.6628 MB / 473.1 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.54, allocations: 2.969 kB / 473.1 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.5404, allocations: 49.73 kB / 473.2 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.084e-05/0.5405, allocations: 32.47 kB / 473.2 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.5405, allocations: 12.58 kB / 473.2 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007597/0.5413, allocations: 1.262 MB / 474.5 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5413, allocations: 0 / 474.5 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006855/0.542, allocations: 456.3 kB / 474.9 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.542, allocations: 87.42 kB / 475 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.5421, allocations: 6.469 kB / 475 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.5424, allocations: 11.08 kB / 475 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.5424, allocations: 16.52 kB / 475 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.5424, allocations: 11.2 kB / 475.1 MB, free: 12.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.258e-05/0.5425, allocations: 91.95 kB / 475.1 MB, free: 12.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5425, allocations: 0 / 475.1 MB, free: 12.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005111/0.543, allocations: 129.9 kB / 475.3 MB, free: 12.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005296/0.5435, allocations: 238.1 kB / 475.5 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004947/0.544, allocations: 227 kB / 475.7 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5441, allocations: 3.938 kB / 475.7 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.5444, allocations: 234.9 kB / 476 MB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.5448, allocations: 47.48 kB / 476 MB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006973/0.5455, allocations: 0.5681 MB / 476.6 MB, free: 12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.5458, allocations: 0.7072 MB / 477.3 MB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003944/0.5462, allocations: 50.98 kB / 477.3 MB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.5463, allocations: 25.5 kB / 477.4 MB, free: 11.27 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5463, allocations: 0 / 477.4 MB, free: 11.27 MB / 398.1 MB Notification: Performance of Templates: time 0.00844/0.5548, allocations: 6.052 MB / 483.4 MB, free: 10.87 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1)