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.001762/0.001762, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001967/0.001967, allocations: 195.1 kB / 16.25 MB, free: 6.621 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.73/1.73, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.4263/0.4263, allocations: 39.92 MB / 309.4 MB, free: 9.395 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.001381/0.001381, allocations: 67.91 kB / 377.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1292, allocations: 56.88 MB / 434 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4711/0.6004, allocations: 148.7 MB / 0.5691 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.6026, allocations: 1.488 MB / 0.5705 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.6027, allocations: 0 / 0.5705 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.6032, allocations: 47.8 kB / 0.5706 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.6043, allocations: 357.3 kB / 0.5709 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006038/0.6049, allocations: 156.9 kB / 0.5711 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000263/0.6051, allocations: 183.3 kB / 0.5712 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.779e-05/0.6052, allocations: 12.75 kB / 0.5713 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.6054, allocations: 71.7 kB / 0.5713 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.6055, allocations: 63.75 kB / 0.5714 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.6056, allocations: 8 kB / 0.5714 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.6067, allocations: 0.5963 MB / 0.572 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.6067, allocations: 31.89 kB / 0.572 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.936e-05/0.6068, allocations: 47.8 kB / 0.5721 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000637/0.6075, allocations: 426.9 kB / 0.5725 GB, free: 11.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6075, allocations: 7.938 kB / 0.5725 GB, free: 11.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.6075, allocations: 0 / 0.5725 GB, free: 11.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.6075, allocations: 0 / 0.5725 GB, free: 11.62 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.0006333/0.6081, allocations: 427 kB / 0.5729 GB, free: 11.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.6082, allocations: 15.89 kB / 0.5729 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002097/0.6103, allocations: 187.1 kB / 0.5731 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.6106, allocations: 216.2 kB / 0.5733 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.6106, allocations: 12.31 kB / 0.5733 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.6107, allocations: 8 kB / 0.5733 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.6112, allocations: 205.4 kB / 0.5735 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.6113, allocations: 0 / 0.5735 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/0.6113, allocations: 4 kB / 0.5735 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.6113, allocations: 4 kB / 0.5735 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006041/0.6119, allocations: 244.6 kB / 0.5737 GB, free: 10.24 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.001791/0.6137, allocations: 0.6547 MB / 0.5744 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.6142, allocations: 190.4 kB / 0.5745 GB, free: 9.363 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.6144, allocations: 96.81 kB / 0.5746 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/0.6147, allocations: 93.33 kB / 0.5747 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.6147, allocations: 34.56 kB / 0.5748 GB, free: 9.113 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.485e-06/0.6148, allocations: 4.656 kB / 0.5748 GB, free: 9.109 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.00588/0.6206, allocations: 1.527 MB / 0.5763 GB, free: 7.484 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.6207, allocations: 59.41 kB / 0.5763 GB, free: 7.414 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.6208, allocations: 113.8 kB / 0.5764 GB, free: 7.293 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.6208, allocations: 25.7 kB / 0.5764 GB, free: 7.262 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.6209, allocations: 104.2 kB / 0.5765 GB, free: 7.156 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.977e-05/0.621, allocations: 67 kB / 0.5766 GB, free: 7.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.705e-05/0.6211, allocations: 45.69 kB / 0.5767 GB, free: 7.039 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6212, allocations: 318.8 kB / 0.577 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.6214, allocations: 95.94 kB / 0.5771 GB, free: 6.625 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.6217, allocations: 128.2 kB / 0.5772 GB, free: 6.492 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.6222, allocations: 223 kB / 0.5774 GB, free: 6.266 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.6222, allocations: 3.938 kB / 0.5774 GB, free: 6.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00063/0.6228, allocations: 282.2 kB / 0.5777 GB, free: 5.977 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.6228, allocations: 7.938 kB / 0.5777 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6229, allocations: 4 kB / 0.5777 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.623, allocations: 28.94 kB / 0.5777 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.6235, allocations: 55.89 kB / 0.5778 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004301/0.6239, allocations: 0.5301 MB / 0.5783 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.6242, allocations: 21.47 kB / 0.5783 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.6243, allocations: 4.094 kB / 0.5783 GB, free: 5.301 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.0001623/0.6245, allocations: 141.7 kB / 0.5784 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.6245, allocations: 7.906 kB / 0.5784 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008333/0.6254, allocations: 319.9 kB / 0.5787 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.6254, allocations: 0 / 0.5787 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.6254, allocations: 7.938 kB / 0.5787 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6254, allocations: 3.938 kB / 0.5788 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.6267, allocations: 0.664 MB / 0.5794 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6267, allocations: 4 kB / 0.5794 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.6271, allocations: 47.95 kB / 0.5795 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.75e-05/0.6272, allocations: 20.84 kB / 0.5795 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.6273, allocations: 11.98 kB / 0.5795 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.6284, allocations: 1.368 MB / 0.5808 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6284, allocations: 0 / 0.5808 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008587/0.6293, allocations: 455.5 kB / 0.5813 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.6294, allocations: 88.98 kB / 0.5813 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.6294, allocations: 4 kB / 0.5813 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.6298, allocations: 15.89 kB / 0.5814 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.6298, allocations: 19.92 kB / 0.5814 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.6299, allocations: 12.48 kB / 0.5814 GB, free: 1.863 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.403e-05/0.6299, allocations: 88.44 kB / 0.5815 GB, free: 1.777 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.8e-07/0.6299, allocations: 64 / 0.5815 GB, free: 1.777 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006018/0.6306, allocations: 127.9 kB / 0.5816 GB, free: 1.652 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.0006995/0.6313, allocations: 254.9 kB / 0.5818 GB, free: 1.395 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006505/0.6319, allocations: 239.8 kB / 0.5821 GB, free: 1.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6319, allocations: 0 / 0.5821 GB, free: 1.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.6324, allocations: 239.4 kB / 0.5823 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.6328, allocations: 46.48 kB / 0.5823 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.6339, allocations: 0.5174 MB / 0.5828 GB, free: 328 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.6342, allocations: 0.7046 MB / 0.5835 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004047/0.6347, allocations: 57.38 kB / 0.5836 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.6348, allocations: 23.42 kB / 0.5836 GB, free: 15.51 MB / 462.1 MB Notification: Performance of SimCode: time 1.893e-06/0.6348, allocations: 0 / 0.5836 GB, free: 15.51 MB / 462.1 MB Notification: Performance of Templates: time 0.01126/0.6461, allocations: 6.213 MB / 0.5897 GB, free: 9.316 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)