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.001371/0.001371, 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.001825/0.001826, allocations: 194.7 kB / 16.53 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.696/1.696, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.3922/0.3922, allocations: 37.99 MB / 307.8 MB, free: 10.03 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.003174/0.003174, allocations: 67.91 kB / 375.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1789, allocations: 56.47 MB / 431.7 MB, free: 6.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.463/0.6419, allocations: 150.9 MB / 0.5689 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.644, allocations: 1.499 MB / 0.5704 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.6441, allocations: 0 / 0.5704 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.6445, allocations: 50.36 kB / 0.5704 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.6456, allocations: 385.5 kB / 0.5708 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.6462, allocations: 165.2 kB / 0.5709 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.6465, allocations: 179.3 kB / 0.5711 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.2e-05/0.6465, allocations: 8.766 kB / 0.5711 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.6467, allocations: 87.64 kB / 0.5712 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.6469, allocations: 59.81 kB / 0.5713 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.6469, allocations: 4 kB / 0.5713 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.648, allocations: 0.5768 MB / 0.5718 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.435e-05/0.6481, allocations: 27.91 kB / 0.5719 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.6482, allocations: 55.72 kB / 0.5719 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006026/0.6488, allocations: 386.4 kB / 0.5723 GB, free: 13.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6488, allocations: 3.938 kB / 0.5723 GB, free: 13.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6488, allocations: 0 / 0.5723 GB, free: 13.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.6488, allocations: 0 / 0.5723 GB, free: 13.44 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.0006081/0.6494, allocations: 426.9 kB / 0.5727 GB, free: 12.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.6495, allocations: 15.89 kB / 0.5727 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.6518, allocations: 191.1 kB / 0.5729 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.6521, allocations: 204.3 kB / 0.5731 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.6522, allocations: 12.31 kB / 0.5731 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.6522, allocations: 8 kB / 0.5731 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.6527, allocations: 209.4 kB / 0.5733 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.6528, allocations: 0 / 0.5733 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.6528, allocations: 4 kB / 0.5733 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.6528, allocations: 4 kB / 0.5733 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005817/0.6534, allocations: 239.8 kB / 0.5735 GB, free: 12.07 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.00187/0.6553, allocations: 0.6728 MB / 0.5742 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.6557, allocations: 186.4 kB / 0.5744 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.656, allocations: 92.81 kB / 0.5745 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.6562, allocations: 93.09 kB / 0.5745 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.6562, allocations: 38.56 kB / 0.5746 GB, free: 10.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.225e-06/0.6562, allocations: 0 / 0.5746 GB, free: 10.93 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.005995/0.6622, allocations: 1.531 MB / 0.5761 GB, free: 9.297 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.6623, allocations: 51.41 kB / 0.5761 GB, free: 9.234 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.6624, allocations: 118.8 kB / 0.5762 GB, free: 9.109 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.6624, allocations: 29.7 kB / 0.5763 GB, free: 9.074 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.6625, allocations: 104.3 kB / 0.5764 GB, free: 8.969 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/0.6626, allocations: 67 kB / 0.5764 GB, free: 8.902 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.6627, allocations: 45.56 kB / 0.5765 GB, free: 8.852 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6628, allocations: 318.8 kB / 0.5768 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.6631, allocations: 91.95 kB / 0.5769 GB, free: 8.441 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.6633, allocations: 133.5 kB / 0.577 GB, free: 8.301 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.6638, allocations: 223.3 kB / 0.5772 GB, free: 8.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6638, allocations: 3.938 kB / 0.5772 GB, free: 8.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006128/0.6644, allocations: 290.1 kB / 0.5775 GB, free: 7.773 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6645, allocations: 8 kB / 0.5775 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6645, allocations: 0 / 0.5775 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001458/0.6646, allocations: 24.84 kB / 0.5775 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.6651, allocations: 55.98 kB / 0.5776 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003712/0.6655, allocations: 0.5329 MB / 0.5781 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.6658, allocations: 11.98 kB / 0.5781 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.6658, allocations: 4.547 kB / 0.5781 GB, free: 7.109 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.0001349/0.666, allocations: 133.7 kB / 0.5782 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.845e-05/0.666, allocations: 15.98 kB / 0.5782 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007648/0.6668, allocations: 304.7 kB / 0.5785 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.6668, allocations: 7.984 kB / 0.5785 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.6669, allocations: 7.938 kB / 0.5786 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.6669, allocations: 3.984 kB / 0.5786 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.668, allocations: 0.675 MB / 0.5792 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.668, allocations: 96 / 0.5792 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.6685, allocations: 55.95 kB / 0.5793 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.442e-05/0.6686, allocations: 20.84 kB / 0.5793 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.6686, allocations: 7.984 kB / 0.5793 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009141/0.6695, allocations: 1.363 MB / 0.5806 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6695, allocations: 3.938 kB / 0.5806 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008141/0.6703, allocations: 450.7 kB / 0.5811 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.6704, allocations: 88.98 kB / 0.5811 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.6705, allocations: 4 kB / 0.5812 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.6708, allocations: 20.05 kB / 0.5812 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.6709, allocations: 15.92 kB / 0.5812 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.6709, allocations: 11.98 kB / 0.5812 GB, free: 3.672 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.032e-05/0.6709, allocations: 87.28 kB / 0.5813 GB, free: 3.586 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6709, allocations: 0 / 0.5813 GB, free: 3.586 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005837/0.6715, allocations: 127.9 kB / 0.5814 GB, free: 3.461 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.0007231/0.6723, allocations: 254.9 kB / 0.5816 GB, free: 3.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006587/0.6729, allocations: 245.5 kB / 0.5819 GB, free: 2.965 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.673, allocations: 0 / 0.5819 GB, free: 2.965 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004137/0.6734, allocations: 230.9 kB / 0.5821 GB, free: 2.727 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.6739, allocations: 61.2 kB / 0.5822 GB, free: 2.672 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009364/0.6748, allocations: 482.6 kB / 0.5826 GB, free: 2.172 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.6751, allocations: 0.7085 MB / 0.5833 GB, free: 1.438 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003823/0.6755, allocations: 53.33 kB / 0.5834 GB, free: 1.387 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.6756, allocations: 23.42 kB / 0.5834 GB, free: 1.363 MB / 446.1 MB Notification: Performance of SimCode: time 2.254e-06/0.6757, allocations: 4 kB / 0.5834 GB, free: 1.359 MB / 446.1 MB Notification: Performance of Templates: time 0.01071/0.6864, allocations: 6.217 MB / 0.5895 GB, free: 11.16 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)