Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001504/0.001504, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002207/0.002207, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.74/1.74, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5256/0.5256, allocations: 39.93 MB / 309.3 MB, free: 9.371 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.2. 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.001517/0.001516, allocations: 62.42 kB / 376.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1372, allocations: 56.9 MB / 433.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4666/0.6038, allocations: 148.6 MB / 0.5688 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.606, allocations: 1.535 MB / 0.5703 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.902e-05/0.6061, allocations: 0 / 0.5703 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.6065, allocations: 47.78 kB / 0.5703 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.6076, allocations: 349.1 kB / 0.5707 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.6082, allocations: 151.6 kB / 0.5708 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.6085, allocations: 243.2 kB / 0.571 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.6086, allocations: 8.766 kB / 0.571 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.6088, allocations: 75.69 kB / 0.5711 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.6089, allocations: 59.77 kB / 0.5712 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.609, allocations: 10.61 kB / 0.5712 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.6103, allocations: 0.6743 MB / 0.5718 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.6104, allocations: 31.89 kB / 0.5719 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.6105, allocations: 47.8 kB / 0.5719 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008603/0.6113, allocations: 430.9 kB / 0.5723 GB, free: 11.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6114, allocations: 0 / 0.5723 GB, free: 11.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.6114, allocations: 0 / 0.5723 GB, free: 11.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.6114, allocations: 0 / 0.5723 GB, free: 11.7 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.0006438/0.612, allocations: 431 kB / 0.5727 GB, free: 11.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.6121, allocations: 12.03 kB / 0.5728 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.6143, allocations: 195.8 kB / 0.5729 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.6146, allocations: 208.1 kB / 0.5731 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.6146, allocations: 12.31 kB / 0.5731 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.6147, allocations: 8 kB / 0.5732 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.6152, allocations: 201.3 kB / 0.5733 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.6152, allocations: 4 kB / 0.5734 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.6152, allocations: 4.75 kB / 0.5734 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.6153, allocations: 4 kB / 0.5734 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006003/0.6159, allocations: 239.8 kB / 0.5736 GB, free: 10.33 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.001765/0.6176, allocations: 0.6662 MB / 0.5742 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004403/0.6181, allocations: 192.2 kB / 0.5744 GB, free: 9.441 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.6183, allocations: 95.94 kB / 0.5745 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.6185, allocations: 97.08 kB / 0.5746 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.6185, allocations: 34.56 kB / 0.5746 GB, free: 9.191 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.255e-06/0.6185, allocations: 3.938 kB / 0.5746 GB, free: 9.188 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.005767/0.6243, allocations: 1.523 MB / 0.5761 GB, free: 7.559 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.6244, allocations: 52.25 kB / 0.5762 GB, free: 7.496 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.6245, allocations: 113.8 kB / 0.5763 GB, free: 7.375 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.6245, allocations: 25.7 kB / 0.5763 GB, free: 7.344 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.6246, allocations: 104.2 kB / 0.5764 GB, free: 7.238 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/0.6247, allocations: 74.98 kB / 0.5765 GB, free: 7.164 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.6248, allocations: 41.7 kB / 0.5765 GB, free: 7.117 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.6249, allocations: 326.8 kB / 0.5768 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.6251, allocations: 87.95 kB / 0.5769 GB, free: 6.703 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.6254, allocations: 124 kB / 0.577 GB, free: 6.574 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.6258, allocations: 222.5 kB / 0.5772 GB, free: 6.348 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6259, allocations: 4 kB / 0.5773 GB, free: 6.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006539/0.6265, allocations: 282.1 kB / 0.5775 GB, free: 6.059 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6265, allocations: 12.03 kB / 0.5775 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6266, allocations: 11.88 kB / 0.5775 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.6267, allocations: 24.84 kB / 0.5776 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.6272, allocations: 55.95 kB / 0.5776 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004032/0.6276, allocations: 0.5328 MB / 0.5781 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.6279, allocations: 19.97 kB / 0.5782 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.628, allocations: 15.98 kB / 0.5782 GB, free: 5.363 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.0001415/0.6281, allocations: 129.7 kB / 0.5783 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.388e-05/0.6282, allocations: 11.91 kB / 0.5783 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008116/0.629, allocations: 307.2 kB / 0.5786 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.629, allocations: 7.984 kB / 0.5786 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.6291, allocations: 3.938 kB / 0.5786 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.6291, allocations: 0 / 0.5786 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.6302, allocations: 0.6757 MB / 0.5793 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.6302, allocations: 0 / 0.5793 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/0.6307, allocations: 51.89 kB / 0.5793 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.718e-05/0.6308, allocations: 20.84 kB / 0.5793 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.6308, allocations: 8 kB / 0.5794 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009777/0.6318, allocations: 1.268 MB / 0.5806 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6318, allocations: 160 / 0.5806 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008606/0.6327, allocations: 453.5 kB / 0.581 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.6328, allocations: 89.67 kB / 0.5811 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.6328, allocations: 8 kB / 0.5811 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.6332, allocations: 15.92 kB / 0.5811 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.6332, allocations: 11.98 kB / 0.5811 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.6332, allocations: 17.3 kB / 0.5812 GB, free: 2.043 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.698e-05/0.6333, allocations: 83.27 kB / 0.5812 GB, free: 1.961 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6333, allocations: 3.938 kB / 0.5812 GB, free: 1.957 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005403/0.6339, allocations: 127.9 kB / 0.5814 GB, free: 1.832 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.0007127/0.6346, allocations: 254.9 kB / 0.5816 GB, free: 1.574 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006318/0.6352, allocations: 235.7 kB / 0.5818 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6352, allocations: 0 / 0.5818 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.6356, allocations: 232.4 kB / 0.5821 GB, free: 1.105 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.6361, allocations: 53.75 kB / 0.5821 GB, free: 1.055 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009223/0.637, allocations: 0.5112 MB / 0.5826 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.6374, allocations: 0.7049 MB / 0.5833 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004188/0.6378, allocations: 57.92 kB / 0.5833 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.6379, allocations: 31.36 kB / 0.5834 GB, free: 15.7 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.6379, allocations: 0 / 0.5834 GB, free: 15.7 MB / 462.1 MB Notification: Performance of Templates: time 0.01032/0.6483, allocations: 6.073 MB / 0.5893 GB, free: 9.645 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1)