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.00106/0.001059, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00132/0.00132, allocations: 194.7 kB / 16.14 MB, free: 6.703 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.72/1.72, allocations: 205.1 MB / 222 MB, free: 4.777 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.3727/0.3727, allocations: 37.97 MB / 307.3 MB, free: 10 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.001335/0.001335, allocations: 64.53 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1474, allocations: 56.48 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4499/0.5974, allocations: 148.6 MB / 0.5661 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.6, allocations: 1.529 MB / 0.5676 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.6002, allocations: 2.969 kB / 0.5676 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005818/0.6009, allocations: 46.22 kB / 0.5676 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.6025, allocations: 346.8 kB / 0.5679 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007809/0.6033, allocations: 151.2 kB / 0.5681 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004858/0.6038, allocations: 246.7 kB / 0.5683 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.604e-05/0.6038, allocations: 9.516 kB / 0.5683 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.6041, allocations: 77.28 kB / 0.5684 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.6043, allocations: 60.67 kB / 0.5685 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.6043, allocations: 4.969 kB / 0.5685 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.606, allocations: 0.6788 MB / 0.5691 GB, free: 332 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.973e-05/0.6061, allocations: 29.59 kB / 0.5691 GB, free: 312 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.221e-05/0.6062, allocations: 51.94 kB / 0.5692 GB, free: 284 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008837/0.6071, allocations: 421.5 kB / 0.5696 GB, free: 0 / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.6071, allocations: 0 / 0.5696 GB, free: 0 / 430.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.6072, allocations: 7.047 kB / 0.5696 GB, free: 15.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.6072, allocations: 0 / 0.5696 GB, free: 15.99 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.0007225/0.6079, allocations: 430.8 kB / 0.57 GB, free: 15.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.608, allocations: 8.031 kB / 0.57 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.6102, allocations: 199.1 kB / 0.5702 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.6106, allocations: 208.2 kB / 0.5704 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.6106, allocations: 12.31 kB / 0.5704 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.6107, allocations: 8 kB / 0.5704 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006053/0.6113, allocations: 201.5 kB / 0.5706 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.6113, allocations: 0 / 0.5706 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.6114, allocations: 12 kB / 0.5706 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.6114, allocations: 3.984 kB / 0.5706 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006893/0.6121, allocations: 239.7 kB / 0.5709 GB, free: 14.62 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.001942/0.6141, allocations: 0.6649 MB / 0.5715 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.6146, allocations: 190.5 kB / 0.5717 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.6148, allocations: 92.81 kB / 0.5718 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.615, allocations: 93.03 kB / 0.5719 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.6151, allocations: 34.56 kB / 0.5719 GB, free: 13.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.6151, allocations: 3.938 kB / 0.5719 GB, free: 13.48 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.006043/0.6211, allocations: 1.529 MB / 0.5734 GB, free: 11.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.6212, allocations: 55.41 kB / 0.5735 GB, free: 11.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.886e-05/0.6213, allocations: 105.8 kB / 0.5736 GB, free: 11.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.6214, allocations: 33.7 kB / 0.5736 GB, free: 11.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.6215, allocations: 100.2 kB / 0.5737 GB, free: 11.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.6216, allocations: 70.98 kB / 0.5738 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.6217, allocations: 45.56 kB / 0.5738 GB, free: 11.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.6218, allocations: 326.8 kB / 0.5741 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.6221, allocations: 91.95 kB / 0.5742 GB, free: 10.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.6223, allocations: 120 kB / 0.5743 GB, free: 10.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/0.6228, allocations: 231 kB / 0.5745 GB, free: 10.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.6228, allocations: 0 / 0.5745 GB, free: 10.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006244/0.6234, allocations: 286.1 kB / 0.5748 GB, free: 10.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.6235, allocations: 4 kB / 0.5748 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.6235, allocations: 0 / 0.5748 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/0.6236, allocations: 28.94 kB / 0.5748 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.6241, allocations: 51.95 kB / 0.5749 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003751/0.6245, allocations: 0.5367 MB / 0.5754 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.6248, allocations: 11.97 kB / 0.5754 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.6249, allocations: 16.08 kB / 0.5754 GB, free: 9.656 MB / 446.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.0001291/0.625, allocations: 133.7 kB / 0.5756 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.6251, allocations: 11.89 kB / 0.5756 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007722/0.6258, allocations: 311.1 kB / 0.5759 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6259, allocations: 0 / 0.5759 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.6259, allocations: 3.938 kB / 0.5759 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.6259, allocations: 0 / 0.5759 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.627, allocations: 0.6841 MB / 0.5765 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.627, allocations: 0 / 0.5765 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.6275, allocations: 51.89 kB / 0.5766 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.671e-05/0.6275, allocations: 20.84 kB / 0.5766 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.6276, allocations: 4 kB / 0.5766 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009688/0.6286, allocations: 1.272 MB / 0.5779 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6286, allocations: 4.031 kB / 0.5779 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.6295, allocations: 457.6 kB / 0.5783 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.6295, allocations: 89.03 kB / 0.5784 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.6296, allocations: 8 kB / 0.5784 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.6299, allocations: 15.98 kB / 0.5784 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.6299, allocations: 15.98 kB / 0.5784 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.63, allocations: 11.98 kB / 0.5784 GB, free: 6.324 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.05e-05/0.63, allocations: 91.58 kB / 0.5785 GB, free: 6.234 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6301, allocations: 0 / 0.5785 GB, free: 6.234 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005809/0.6306, allocations: 127.9 kB / 0.5786 GB, free: 6.109 MB / 446.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.0007016/0.6313, allocations: 251 kB / 0.5789 GB, free: 5.855 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006186/0.632, allocations: 231.8 kB / 0.5791 GB, free: 5.629 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.632, allocations: 0 / 0.5791 GB, free: 5.629 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.6324, allocations: 230.9 kB / 0.5793 GB, free: 5.391 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.6329, allocations: 62.28 kB / 0.5794 GB, free: 5.332 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009109/0.6338, allocations: 0.5148 MB / 0.5799 GB, free: 4.789 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.6341, allocations: 0.7049 MB / 0.5806 GB, free: 4.059 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004172/0.6345, allocations: 57.31 kB / 0.5806 GB, free: 4.004 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.6347, allocations: 23.42 kB / 0.5807 GB, free: 3.98 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.6347, allocations: 4 kB / 0.5807 GB, free: 3.977 MB / 446.1 MB Notification: Performance of Templates: time 0.01001/0.6447, allocations: 6.076 MB / 0.5866 GB, free: 13.92 MB / 462.1 MB 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)