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.0007969/0.0007969, allocations: 85.61 kB / 16.31 MB, free: 6.457 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.0009021/0.0009021, allocations: 183.5 kB / 17.21 MB, free: 6.324 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.524/1.524, allocations: 205.4 MB / 223.4 MB, free: 5.547 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.0004734/0.0004734, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2455, allocations: 47.59 MB / 327.7 MB, free: 1.645 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3702/0.6157, allocations: 136.8 MB / 464.5 MB, free: 2.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.6172, allocations: 1.388 MB / 465.9 MB, free: 1.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.6173, allocations: 1.688 kB / 465.9 MB, free: 1.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.6175, allocations: 33.75 kB / 466 MB, free: 1.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006539/0.6182, allocations: 273.6 kB / 466.2 MB, free: 1.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.6186, allocations: 125.5 kB / 466.4 MB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.6189, allocations: 212.5 kB / 466.6 MB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.6189, allocations: 6.953 kB / 466.6 MB, free: 1.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.6191, allocations: 75.44 kB / 466.6 MB, free: 1.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.6192, allocations: 61.06 kB / 466.7 MB, free: 1.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.6193, allocations: 4.531 kB / 466.7 MB, free: 1.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009757/0.6202, allocations: 429.4 kB / 467.1 MB, free: 1.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.6203, allocations: 31.91 kB / 467.2 MB, free: 1.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.6204, allocations: 41.02 kB / 467.2 MB, free: 1.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.6207, allocations: 262.7 kB / 467.5 MB, free: 1.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6207, allocations: 3.938 kB / 467.5 MB, free: 1.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6207, allocations: 4.969 kB / 467.5 MB, free: 1.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.6208, allocations: 0 / 467.5 MB, free: 1.91 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.0005461/0.6213, allocations: 394.8 kB / 467.8 MB, free: 17.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.6213, allocations: 13.12 kB / 467.9 MB, free: 17.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/0.6232, allocations: 194.9 kB / 468 MB, free: 17.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.6235, allocations: 214.2 kB / 468.3 MB, free: 17.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.6235, allocations: 11.56 kB / 468.3 MB, free: 17.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.6235, allocations: 7.406 kB / 468.3 MB, free: 17.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.624, allocations: 202.2 kB / 468.5 MB, free: 17.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.624, allocations: 3.344 kB / 468.5 MB, free: 17.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.624, allocations: 8.688 kB / 468.5 MB, free: 17.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.624, allocations: 2.938 kB / 468.5 MB, free: 17.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005105/0.6245, allocations: 236.5 kB / 468.7 MB, free: 17.27 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.00153/0.6261, allocations: 0.67 MB / 469.4 MB, free: 16.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.6265, allocations: 184.4 kB / 469.6 MB, free: 16.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.6267, allocations: 103.7 kB / 469.7 MB, free: 16.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.6268, allocations: 89.62 kB / 469.8 MB, free: 16.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.6269, allocations: 36.97 kB / 469.8 MB, free: 16.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.6269, allocations: 0 / 469.8 MB, free: 16.72 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.004889/0.6318, allocations: 1.528 MB / 471.3 MB, free: 16.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.6318, allocations: 54.75 kB / 471.4 MB, free: 16.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.258e-05/0.6319, allocations: 110.2 kB / 471.5 MB, free: 15.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.632, allocations: 28.95 kB / 471.5 MB, free: 15.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.632, allocations: 105.3 kB / 471.6 MB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.6321, allocations: 71.38 kB / 471.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.6321, allocations: 2.938 kB / 471.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.6322, allocations: 324.4 kB / 472 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.6324, allocations: 93.09 kB / 472.1 MB, free: 15.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.6326, allocations: 119 kB / 472.2 MB, free: 15.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.6328, allocations: 100 kB / 472.3 MB, free: 15.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-06/0.6328, allocations: 0 / 472.3 MB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005214/0.6334, allocations: 289.7 kB / 472.6 MB, free: 15.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.6334, allocations: 5.188 kB / 472.6 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6334, allocations: 6.938 kB / 472.6 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001117/0.6335, allocations: 27.33 kB / 472.6 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.6339, allocations: 58 kB / 472.7 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003312/0.6343, allocations: 0.5312 MB / 473.2 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.6346, allocations: 23.06 kB / 473.2 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.6346, allocations: 9.906 kB / 473.3 MB, free: 14.83 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.0001243/0.6347, allocations: 130 kB / 473.4 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.6348, allocations: 10.06 kB / 473.4 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006806/0.6355, allocations: 319.5 kB / 473.7 MB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6355, allocations: 0 / 473.7 MB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.6355, allocations: 2.938 kB / 473.7 MB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.6355, allocations: 5.828 kB / 473.7 MB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009675/0.6365, allocations: 0.6673 MB / 474.4 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6365, allocations: 2.938 kB / 474.4 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.6369, allocations: 46.89 kB / 474.4 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.39e-05/0.637, allocations: 28.5 kB / 474.5 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.637, allocations: 14.88 kB / 474.5 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008926/0.6379, allocations: 1.258 MB / 475.7 MB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6379, allocations: 3.938 kB / 475.7 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.6387, allocations: 460.4 kB / 476.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.6387, allocations: 95.02 kB / 476.3 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.6388, allocations: 7.219 kB / 476.3 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.6391, allocations: 8.312 kB / 476.3 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.6391, allocations: 22.25 kB / 476.3 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.6392, allocations: 8.25 kB / 476.3 MB, free: 12.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.077e-05/0.6392, allocations: 87.88 kB / 476.4 MB, free: 12.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6392, allocations: 0 / 476.4 MB, free: 12.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006131/0.6398, allocations: 129.7 kB / 476.5 MB, free: 12.64 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.0006728/0.6405, allocations: 242.6 kB / 476.8 MB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005836/0.6411, allocations: 232.8 kB / 477 MB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6411, allocations: 0 / 477 MB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.6415, allocations: 223.8 kB / 477.2 MB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.642, allocations: 51.62 kB / 477.3 MB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008577/0.6429, allocations: 0.5706 MB / 477.8 MB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.6432, allocations: 0.7055 MB / 478.5 MB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004167/0.6436, allocations: 52.84 kB / 478.6 MB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.6438, allocations: 21.88 kB / 478.6 MB, free: 11.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6438, allocations: 7.156 kB / 478.6 MB, free: 11.33 MB / 398.1 MB Notification: Performance of Templates: time 0.009555/0.6533, allocations: 6.043 MB / 484.7 MB, free: 10.95 MB / 398.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)