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.0009072/0.0009072, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008903/0.0008905, allocations: 168.7 kB / 15.95 MB, free: 204 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.863/1.863, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.4486/0.4486, allocations: 40.01 MB / 310.4 MB, free: 9.965 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.0005583/0.0005584, allocations: 12 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1552, allocations: 57.95 MB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4565/0.6117, allocations: 136.8 MB / 0.5602 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.6135, allocations: 1.391 MB / 0.5615 GB, free: 8.828 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.6136, allocations: 0 / 0.5615 GB, free: 8.828 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.6139, allocations: 32.77 kB / 0.5616 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008264/0.6147, allocations: 278.8 kB / 0.5618 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.6152, allocations: 125.9 kB / 0.5619 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.6155, allocations: 207.5 kB / 0.5621 GB, free: 8.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.644e-05/0.6156, allocations: 5.938 kB / 0.5621 GB, free: 8.391 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.6157, allocations: 76.45 kB / 0.5622 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.6159, allocations: 60.33 kB / 0.5623 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.6159, allocations: 3.656 kB / 0.5623 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009797/0.6169, allocations: 436 kB / 0.5627 GB, free: 8.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.617, allocations: 29.09 kB / 0.5627 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.6171, allocations: 42.8 kB / 0.5628 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.6175, allocations: 257.9 kB / 0.563 GB, free: 7.926 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6175, allocations: 0 / 0.563 GB, free: 7.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6175, allocations: 3.938 kB / 0.563 GB, free: 7.922 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.6175, allocations: 4 kB / 0.563 GB, free: 7.918 MB / 430.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.0005641/0.6181, allocations: 407.5 kB / 0.5634 GB, free: 7.512 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.6181, allocations: 8.938 kB / 0.5634 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.62, allocations: 201.8 kB / 0.5636 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.6203, allocations: 197.7 kB / 0.5638 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.6203, allocations: 12.22 kB / 0.5638 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.6204, allocations: 6 kB / 0.5638 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.6208, allocations: 207.3 kB / 0.564 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.6209, allocations: 4.484 kB / 0.564 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.6209, allocations: 4 kB / 0.564 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.6209, allocations: 2.781 kB / 0.564 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.6215, allocations: 233.9 kB / 0.5642 GB, free: 6.922 MB / 430.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.001598/0.6231, allocations: 0.6766 MB / 0.5649 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.6235, allocations: 189.1 kB / 0.5651 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.6237, allocations: 92.81 kB / 0.5652 GB, free: 6.004 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.6239, allocations: 97.08 kB / 0.5653 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.6239, allocations: 34.56 kB / 0.5653 GB, free: 5.848 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/0.6239, allocations: 0 / 0.5653 GB, free: 5.848 MB / 430.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.005244/0.6292, allocations: 1.531 MB / 0.5668 GB, free: 4.211 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.6293, allocations: 51.41 kB / 0.5668 GB, free: 4.148 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.66e-05/0.6294, allocations: 109.8 kB / 0.5669 GB, free: 4.031 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.6294, allocations: 29.7 kB / 0.567 GB, free: 3.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.6295, allocations: 104.2 kB / 0.5671 GB, free: 3.891 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.144e-05/0.6296, allocations: 74.98 kB / 0.5671 GB, free: 3.816 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.6296, allocations: 5.594 kB / 0.5672 GB, free: 3.812 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6297, allocations: 322.8 kB / 0.5675 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.6299, allocations: 87.95 kB / 0.5675 GB, free: 3.402 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.6302, allocations: 128.4 kB / 0.5677 GB, free: 3.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.6304, allocations: 99.98 kB / 0.5678 GB, free: 3.172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.6304, allocations: 0 / 0.5678 GB, free: 3.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005762/0.631, allocations: 286.4 kB / 0.568 GB, free: 2.883 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.631, allocations: 7.984 kB / 0.568 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.631, allocations: 96 / 0.568 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/0.6311, allocations: 24.84 kB / 0.5681 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.6316, allocations: 55.91 kB / 0.5681 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003665/0.6319, allocations: 0.5406 MB / 0.5686 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.6322, allocations: 8.125 kB / 0.5687 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.6323, allocations: 15.98 kB / 0.5687 GB, free: 2.203 MB / 430.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.0001336/0.6324, allocations: 121.8 kB / 0.5688 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.6325, allocations: 7.906 kB / 0.5688 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007303/0.6332, allocations: 327.7 kB / 0.5691 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.6332, allocations: 0 / 0.5691 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.6332, allocations: 3.953 kB / 0.5691 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6332, allocations: 0 / 0.5691 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.6344, allocations: 0.6765 MB / 0.5698 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6344, allocations: 0 / 0.5698 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.6348, allocations: 55.89 kB / 0.5698 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.339e-05/0.6349, allocations: 16.84 kB / 0.5698 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.6349, allocations: 8 kB / 0.5698 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009982/0.6359, allocations: 1.278 MB / 0.5711 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6359, allocations: 0 / 0.5711 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008101/0.6368, allocations: 457.7 kB / 0.5715 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.6368, allocations: 88.98 kB / 0.5716 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.6368, allocations: 8.062 kB / 0.5716 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.6371, allocations: 11.98 kB / 0.5716 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.6372, allocations: 19.97 kB / 0.5717 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.6372, allocations: 11.95 kB / 0.5717 GB, free: 14.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.197e-05/0.6373, allocations: 87.27 kB / 0.5718 GB, free: 14.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6373, allocations: 0 / 0.5718 GB, free: 14.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006003/0.6379, allocations: 127.9 kB / 0.5719 GB, free: 14.66 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 (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.0006063/0.6385, allocations: 239.8 kB / 0.5721 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005994/0.6391, allocations: 224 kB / 0.5723 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.6391, allocations: 0 / 0.5723 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003845/0.6395, allocations: 235 kB / 0.5725 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.64, allocations: 55.75 kB / 0.5726 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008878/0.6409, allocations: 0.5685 MB / 0.5731 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.6412, allocations: 0.7127 MB / 0.5738 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004269/0.6416, allocations: 53.38 kB / 0.5739 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.6417, allocations: 19.44 kB / 0.5739 GB, free: 12.5 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.6417, allocations: 0 / 0.5739 GB, free: 12.5 MB / 446.1 MB Notification: Performance of Templates: time 0.01023/0.652, allocations: 6.016 MB / 0.5798 GB, free: 6.484 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: